public interface WorkflowNodeConverter
| Modifier and Type | Method and Description |
|---|---|
Serializable |
convert(Object object)
|
Object |
convertNode(org.alfresco.service.cmr.repository.NodeRef node)
Converts a
NodeRef into the appropriate Node type. |
Object |
convertNode(org.alfresco.service.cmr.repository.NodeRef value,
boolean isMany)
Converts a
NodeRef. |
List<? extends Object> |
convertNodes(Collection<org.alfresco.service.cmr.repository.NodeRef> values)
|
Object |
convertNodes(Collection<org.alfresco.service.cmr.repository.NodeRef> values,
boolean isMany)
Converts a
Collection of NodeRefs. |
Object |
convertNodes(Object value,
boolean isMany)
|
org.alfresco.service.cmr.repository.NodeRef |
convertToNode(Object toConvert) |
List<org.alfresco.service.cmr.repository.NodeRef> |
convertToNodes(Collection<?> toConvert) |
List<org.alfresco.service.cmr.repository.NodeRef> |
convertToNodes(Object value) |
boolean |
isSupported(Object object) |
Object convertNode(org.alfresco.service.cmr.repository.NodeRef node)
NodeRef into the appropriate Node type.node - NodeRefObject 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.value - NodeRefisMany - booleanList<? extends Object> convertNodes(Collection<org.alfresco.service.cmr.repository.NodeRef> values)
Object convertNodes(Collection<org.alfresco.service.cmr.repository.NodeRef> 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.isMany - booleanObject convertNodes(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 - ObjectisMany - booleanorg.alfresco.service.cmr.repository.NodeRef convertToNode(Object toConvert)
toConvert - ObjectList<org.alfresco.service.cmr.repository.NodeRef> convertToNodes(Collection<?> toConvert)
boolean isSupported(Object object)
Serializable convert(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 - NodeRefCopyright © 2005–2018 Alfresco Software. All rights reserved.