|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.workflow.AbstractWorkflowNodeConverter
public abstract class AbstractWorkflowNodeConverter
Constructor Summary | |
---|---|
AbstractWorkflowNodeConverter()
|
Method Summary | |
---|---|
java.io.Serializable |
convert(java.lang.Object object)
Converts the object to a NodeRef or a List of
NodeRef s. |
abstract java.lang.Object |
convertNode(org.alfresco.service.cmr.repository.NodeRef node)
Converts a NodeRef into the appropriate Node type. |
java.lang.Object |
convertNode(org.alfresco.service.cmr.repository.NodeRef value,
boolean isMany)
Converts a NodeRef . |
abstract java.util.List |
convertNodes(java.util.Collection values)
Converts a Collection of NodeRef s into a List of the appropriate Node type. |
java.lang.Object |
convertNodes(java.util.Collection values,
boolean isMany)
Converts a Collection of NodeRef s. |
java.lang.Object |
convertNodes(java.lang.Object value,
boolean isMany)
Converts a Collection of NodeRef s or a single NodeRef . |
abstract org.alfresco.service.cmr.repository.NodeRef |
convertToNode(java.lang.Object toConvert)
|
java.util.List |
convertToNodes(java.util.Collection toConvert)
|
java.util.List |
convertToNodes(java.lang.Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.workflow.WorkflowNodeConverter |
---|
isSupported |
Constructor Detail |
---|
public AbstractWorkflowNodeConverter()
Method Detail |
---|
public java.lang.Object convertNodes(java.lang.Object value, boolean isMany)
Collection
of NodeRef
s or a single NodeRef
. The return type is
dependent on the value of isMany
. If true
then
a List
of the appropriate Node type is returned. Otherwise a
single instance of the appropriate Node type is returned.
convertNodes
in interface WorkflowNodeConverter
public java.lang.Object convertNode(org.alfresco.service.cmr.repository.NodeRef value, boolean isMany)
NodeRef
. The return type is
dependent on the value of isMany
. If true
then
a List
of the appropriate Node type is returned. Otherwise a
single instance of the appropriate Node type is returned.
convertNode
in interface WorkflowNodeConverter
public java.lang.Object convertNodes(java.util.Collection values, boolean isMany)
Collection
of NodeRef
s. The return type is
dependent on the value of isMany
. If true
then
a List
of the appropriate Node type is returned. Otherwise a
single instance of the appropriate Node type is returned.
convertNodes
in interface WorkflowNodeConverter
public java.util.List convertToNodes(java.lang.Object value)
convertToNodes
in interface WorkflowNodeConverter
public java.util.List convertToNodes(java.util.Collection toConvert)
convertToNodes
in interface WorkflowNodeConverter
public java.io.Serializable convert(java.lang.Object object)
WorkflowNodeConverter
NodeRef
or a List
of
NodeRef
s. The return type is dependant on the type of the object
parameter. If the object parameter is a Collection
then a
List
of NodeRef
s is returned. Otherwise a single
NodeRef
is returned.
convert
in interface WorkflowNodeConverter
public abstract java.lang.Object convertNode(org.alfresco.service.cmr.repository.NodeRef node)
WorkflowNodeConverter
NodeRef
into the appropriate Node type.
convertNode
in interface WorkflowNodeConverter
public abstract java.util.List convertNodes(java.util.Collection values)
WorkflowNodeConverter
Collection
of NodeRef
s into a List
of the appropriate Node type.
convertNodes
in interface WorkflowNodeConverter
public abstract org.alfresco.service.cmr.repository.NodeRef convertToNode(java.lang.Object toConvert)
convertToNode
in interface WorkflowNodeConverter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |