|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WorkflowNodeConverter
| Method Summary | |
|---|---|
java.io.Serializable |
convert(java.lang.Object object)
Converts the object to a NodeRef or a List of
NodeRefs. |
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. |
java.util.List |
convertNodes(java.util.Collection values)
Converts a Collection of NodeRefs into a List of the appropriate Node type. |
java.lang.Object |
convertNodes(java.util.Collection values,
boolean isMany)
Converts a Collection of NodeRefs. |
java.lang.Object |
convertNodes(java.lang.Object value,
boolean isMany)
Converts a Collection of NodeRefs or a single NodeRef. |
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)
|
boolean |
isSupported(java.lang.Object object)
|
| Method Detail |
|---|
java.lang.Object convertNode(org.alfresco.service.cmr.repository.NodeRef node)
NodeRef into the appropriate Node type.
node -
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.
values - isMany -
java.util.List convertNodes(java.util.Collection values)
Collection of NodeRefs into a List of the appropriate Node type.
values -
java.lang.Object convertNodes(java.util.Collection values,
boolean isMany)
Collection of NodeRefs. 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.
values - isMany -
java.lang.Object convertNodes(java.lang.Object value,
boolean isMany)
Collection of NodeRefs 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.
value - isMany -
org.alfresco.service.cmr.repository.NodeRef convertToNode(java.lang.Object toConvert)
toConvert -
java.util.List convertToNodes(java.util.Collection toConvert)
java.util.List convertToNodes(java.lang.Object value)
boolean isSupported(java.lang.Object object)
java.io.Serializable convert(java.lang.Object object)
NodeRef or a List of
NodeRefs. The return type is dependant on the type of the object
parameter. If the object parameter is a Collection then a
List of NodeRefs is returned. Otherwise a single
NodeRef is returned.
object -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||