org.alfresco.repo.rendition
Class CompositeRenditionDefinitionImpl

java.lang.Object
  extended by org.alfresco.repo.action.ParameterizedItemImpl
      extended by org.alfresco.repo.action.ActionImpl
          extended by org.alfresco.repo.rendition.RenditionDefinitionImpl
              extended by org.alfresco.repo.rendition.CompositeRenditionDefinitionImpl
All Implemented Interfaces:
java.io.Serializable, Action, ActionList, ParameterizedItem, CompositeRenditionDefinition, RenditionDefinition

public class CompositeRenditionDefinitionImpl
extends RenditionDefinitionImpl
implements CompositeRenditionDefinition

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.repo.rendition.RenditionDefinitionImpl
RENDITION_DEFINITION_NAME, renditionAssociationType, renditionParent
 
Constructor Summary
CompositeRenditionDefinitionImpl(CompositeAction compositeAction)
           
CompositeRenditionDefinitionImpl(java.lang.String id, org.alfresco.service.namespace.QName renditionName)
           
 
Method Summary
 void addAction(int index, RenditionDefinition action)
          Add an action to the list at the index specified
 void addAction(RenditionDefinition action)
          Add an action to the end of the list
 RenditionDefinition getAction(int index)
          Get an action at a given index
 java.util.List getActions()
          Get list containing the actions in their current order
 boolean hasActions()
          Indicates whether there are any actions
 int indexOfAction(RenditionDefinition action)
          Gets the index of an action
 void removeAction(RenditionDefinition action)
          Remove an action from the list
 void removeAllActions()
          Remove all actions from the list
 void setAction(int index, RenditionDefinition action)
          Replace the action at the specfied index with the passed action.
 
Methods inherited from class org.alfresco.repo.rendition.RenditionDefinitionImpl
getCallback, getRenditionAssociationType, getRenditionName, getRenditionParent, setCallback, setRenditionAssociationType, setRenditionParent
 
Methods inherited from class org.alfresco.repo.action.ActionImpl
addActionCondition, addActionCondition, addParameterValues, getActionChain, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionInstance, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getRunAsUser, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionChain, setActionCondition, setCompensatingAction, setCreatedDate, setCreator, setDescription, setExecuteAsynchronously, setExecutionEndDate, setExecutionFailureMessage, setExecutionInstance, setExecutionStartDate, setExecutionStatus, setModifiedDate, setModifier, setNodeRef, setRunAsUser, setTitle, setTrackStatus, toString
 
Methods inherited from class org.alfresco.repo.action.ParameterizedItemImpl
equals, getId, getParameterValue, getParameterValues, hashCode, setParameterValue, setParameterValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.alfresco.service.cmr.rendition.RenditionDefinition
getCallback, getRenditionAssociationType, getRenditionName, getRenditionParent, setCallback, setRenditionAssociationType, setRenditionParent
 
Methods inherited from interface org.alfresco.service.cmr.action.Action
addActionCondition, addActionCondition, addParameterValues, getActionCondition, getActionConditions, getActionDefinitionName, getCompensatingAction, getCreatedDate, getCreator, getDescription, getExecuteAsychronously, getExecutionEndDate, getExecutionFailureMessage, getExecutionStartDate, getExecutionStatus, getModifiedDate, getModifier, getNodeRef, getTitle, getTrackStatus, hasActionConditions, indexOfActionCondition, removeActionCondition, removeAllActionConditions, setActionCondition, setCompensatingAction, setDescription, setExecuteAsynchronously, setTitle, setTrackStatus
 
Methods inherited from interface org.alfresco.service.cmr.action.ParameterizedItem
getId, getParameterValue, getParameterValues, setParameterValue, setParameterValues
 

Constructor Detail

CompositeRenditionDefinitionImpl

public CompositeRenditionDefinitionImpl(java.lang.String id,
                                        org.alfresco.service.namespace.QName renditionName)
Parameters:
nodeRef -
id -

CompositeRenditionDefinitionImpl

public CompositeRenditionDefinitionImpl(CompositeAction compositeAction)
Method Detail

addAction

public void addAction(int index,
                      RenditionDefinition action)
Description copied from interface: ActionList
Add an action to the list at the index specified

Specified by:
addAction in interface ActionList
Parameters:
index -
action -
See Also:
ActionList.addAction(int, org.alfresco.service.cmr.action.Action)

addAction

public void addAction(RenditionDefinition action)
Description copied from interface: ActionList
Add an action to the end of the list

Specified by:
addAction in interface ActionList
Parameters:
action -
See Also:
ActionList.addAction(org.alfresco.service.cmr.action.Action)

getAction

public RenditionDefinition getAction(int index)
Description copied from interface: ActionList
Get an action at a given index

Specified by:
getAction in interface ActionList
Parameters:
index -
Returns:
See Also:
ActionList.getAction(int)

getActions

public java.util.List getActions()
Description copied from interface: ActionList
Get list containing the actions in their current order

Specified by:
getActions in interface ActionList
Returns:
See Also:
ActionList.getActions()

hasActions

public boolean hasActions()
Description copied from interface: ActionList
Indicates whether there are any actions

Specified by:
hasActions in interface ActionList
Returns:
See Also:
ActionList.hasActions()

indexOfAction

public int indexOfAction(RenditionDefinition action)
Description copied from interface: ActionList
Gets the index of an action

Specified by:
indexOfAction in interface ActionList
Parameters:
action -
Returns:
See Also:
ActionList.indexOfAction(org.alfresco.service.cmr.action.Action)

removeAction

public void removeAction(RenditionDefinition action)
Description copied from interface: ActionList
Remove an action from the list

Specified by:
removeAction in interface ActionList
Parameters:
action -
See Also:
ActionList.removeAction(org.alfresco.service.cmr.action.Action)

removeAllActions

public void removeAllActions()
Description copied from interface: ActionList
Remove all actions from the list

Specified by:
removeAllActions in interface ActionList
See Also:
ActionList.removeAllActions()

setAction

public void setAction(int index,
                      RenditionDefinition action)
Description copied from interface: ActionList
Replace the action at the specfied index with the passed action.

Specified by:
setAction in interface ActionList
Parameters:
index -
action -
See Also:
ActionList.setAction(int, org.alfresco.service.cmr.action.Action)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.