Package org.alfresco.repo.version
Class NodeServiceImpl
- java.lang.Object
-
- org.alfresco.repo.version.NodeServiceImpl
-
- All Implemented Interfaces:
VersionBaseModel,VersionModel,NodeService
- Direct Known Subclasses:
Node2ServiceImpl
public class NodeServiceImpl extends Object implements NodeService, VersionModel
The light weight version store node service implementation.- Author:
- Roy Wetherall
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.NodeService
NodeService.FindNodeParameters
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentDataDAOcontentDataDAOprotected NodeServicedbNodeServiceprotected DictionaryServicedicitionaryServiceprotected static StringMSG_UNSUPPORTEDError messages-
Fields inherited from interface org.alfresco.repo.version.VersionBaseModel
ASPECT_LOCALNAME_VERSION_STORE_ROOT, ASSOC_LOCALNAME_ROOT_VERSION, CHILD_VERSION_HISTORIES, CHILD_VERSIONED_ASSOCS, CHILD_VERSIONS, PROP_CREATED_DATE, PROP_CREATOR, PROP_DESCRIPTION, PROP_TRANSLATION_VERSIONS, PROP_VERSION_DESCRIPTION, PROP_VERSION_LABEL, PROP_VERSION_NUMBER, PROP_VERSION_TYPE, PROP_VERSIONED_NODE_ID, STORE_PROTOCOL, TYPE_VERSION_HISTORY, TYPE_VERSIONED_ASSOC
-
Fields inherited from interface org.alfresco.repo.version.VersionModel
ASPECT_VERSION_STORE_ROOT, ASSOC_ROOT_VERSION, ASSOC_SUCCESSOR, CHILD_QNAME_VERSION_HISTORIES, CHILD_QNAME_VERSION_META_DATA, CHILD_QNAME_VERSIONED_ASSOCS, CHILD_QNAME_VERSIONED_ATTRIBUTES, CHILD_QNAME_VERSIONED_CHILD_ASSOCS, CHILD_QNAME_VERSIONS, CHILD_VERSION_META_DATA, CHILD_VERSIONED_ATTRIBUTES, CHILD_VERSIONED_CHILD_ASSOCS, NAMESPACE_URI, PROP_ASSOC_QNAME, PROP_ASSOC_TYPE_QNAME, PROP_FROZEN_ASPECTS, PROP_FROZEN_NODE_ID, PROP_FROZEN_NODE_STORE_ID, PROP_FROZEN_NODE_STORE_PROTOCOL, PROP_FROZEN_NODE_TYPE, PROP_IS_MULTI_VALUE, PROP_IS_PRIMARY, PROP_META_DATA_NAME, PROP_META_DATA_VALUE, PROP_MULTI_VALUE, PROP_NTH_SIBLING, PROP_QNAME, PROP_QNAME_ASSOC_QNAME, PROP_QNAME_ASSOC_TYPE_QNAME, PROP_QNAME_FROZEN_ASPECTS, PROP_QNAME_FROZEN_NODE_ID, PROP_QNAME_FROZEN_NODE_STORE_ID, PROP_QNAME_FROZEN_NODE_STORE_PROTOCOL, PROP_QNAME_FROZEN_NODE_TYPE, PROP_QNAME_IS_MULTI_VALUE, PROP_QNAME_IS_PRIMARY, PROP_QNAME_META_DATA_NAME, PROP_QNAME_META_DATA_VALUE, PROP_QNAME_MULTI_VALUE, PROP_QNAME_NTH_SIBLING, PROP_QNAME_QNAME, PROP_QNAME_TRANSLATION_VERSIONS, PROP_QNAME_VALUE, PROP_QNAME_VERSION_LABEL, PROP_QNAME_VERSION_NUMBER, PROP_QNAME_VERSIONED_NODE_ID, PROP_VALUE, STORE_ID, TYPE_QNAME_VERSION, TYPE_QNAME_VERSION_HISTORY, TYPE_QNAME_VERSION_META_DATA_VALUE, TYPE_QNAME_VERSIONED_ASSOC, TYPE_QNAME_VERSIONED_CHILD_ASSOC, TYPE_QNAME_VERSIONED_PROPERTY, TYPE_VERSION, TYPE_VERSION_META_DATA_VALUE, TYPE_VERSIONED_CHILD_ASSOC, TYPE_VERSIONED_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description NodeServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAspect(NodeRef nodeRef, QName aspectRef, Map<QName,Serializable> aspectProperties)List<ChildAssociationRef>addChild(Collection<NodeRef> parentRefs, NodeRef childRef, QName assocTypeQName, QName qname)ChildAssociationRefaddChild(NodeRef parentRef, NodeRef childRef, QName assocTypeQName, QName qname)voidaddProperties(NodeRef nodeRef, Map<QName,Serializable> properties)List<String>cleanup()No-opintcountChildAssocs(NodeRef nodeRef, boolean isPrimary)AssociationRefcreateAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)ChildAssociationRefcreateNode(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName)ChildAssociationRefcreateNode(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName, Map<QName,Serializable> properties)StoreRefcreateStore(String protocol, String identifier)Delegates to theNodeServiceused as the version store implementationvoiddeleteNode(NodeRef nodeRef)voiddeleteStore(StoreRef storeRef)booleanexists(NodeRef nodeRef)Delegates to theNodeServiceused as the version store implementationbooleanexists(StoreRef storeRef)Delegates to theNodeServiceused as the version store implementationList<NodeRef>findNodes(NodeService.FindNodeParameters params)Set<NodeRef>getAllRootNodes(StoreRef storeRef)Delegates to theNodeServiceused as the version store implementationSet<QName>getAspects(NodeRef nodeRef)Translation for version storeAssociationRefgetAssoc(Long id)Gets an association by ID.List<ChildAssociationRef>getChildAssocs(NodeRef nodeRef)List<ChildAssociationRef>getChildAssocs(NodeRef nodeRef, Set<QName> childNodeTypes)List<ChildAssociationRef>getChildAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern)Performs conversion from version store properties to real associationsList<ChildAssociationRef>getChildAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern, boolean preload)List<ChildAssociationRef>getChildAssocs(NodeRef nodeRef, QNamePattern typeQName, QNamePattern qname, int maxResults, boolean preload)List<ChildAssociationRef>getChildAssocsByPropertyValue(NodeRef nodeRef, QName propertyQName, Serializable value)Collection<ChildAssociationRef>getChildAssocsWithoutParentAssocsOfType(NodeRef parent, QName assocTypeQName)NodeRefgetChildByName(NodeRef nodeRef, QName assocTypeQName, String childName)List<ChildAssociationRef>getChildrenByName(NodeRef nodeRef, QName assocTypeQName, Collection<String> childNames)LonggetNodeAclId(NodeRef nodeRef)Gets, converts and adds the intrinsic properties to the current node's propertiesNodeRefgetNodeRef(Long nodeId)Delegates to theNodeServiceused as the version store implementationNodeRef.StatusgetNodeStatus(NodeRef nodeRef)Delegates to theNodeServiceused as the version store implementationList<ChildAssociationRef>getParentAssocs(NodeRef nodeRef)The node will appear to be attached to the root of the version storeList<ChildAssociationRef>getParentAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern)The node will apprear to be attached to the root of the version storePathgetPath(NodeRef nodeRef)List<Path>getPaths(NodeRef nodeRef, boolean primaryOnly)ChildAssociationRefgetPrimaryParent(NodeRef nodeRef)Simulates the node begin attached ot the root node of the version store.Map<QName,Serializable>getProperties(NodeRef nodeRef)Property translation for version storeSerializablegetProperty(NodeRef nodeRef, QName qname)Property translation for version storeNodeRefgetRootNode(StoreRef storeRef)Delegates to theNodeServiceused as the version store implementationList<AssociationRef>getSourceAssocs(NodeRef sourceRef, QNamePattern qnamePattern)NodeRefgetStoreArchiveNode(StoreRef storeRef)List<StoreRef>getStores()Delegates to theNodeServiceused as the version store implementationList<AssociationRef>getTargetAssocs(NodeRef sourceRef, QNamePattern qnamePattern)List<AssociationRef>getTargetAssocsByPropertyValue(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue)QNamegetType(NodeRef nodeRef)Type translation for version storebooleanhasAspect(NodeRef nodeRef, QName aspectRef)Translation for version storeChildAssociationRefmoveNode(NodeRef nodeToMoveRef, NodeRef newParentRef, QName assocTypeQName, QName assocQName)voidremoveAspect(NodeRef nodeRef, QName aspectRef)voidremoveAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)voidremoveChild(NodeRef parentRef, NodeRef childRef)booleanremoveChildAssociation(ChildAssociationRef childAssocRef)voidremoveProperty(NodeRef nodeRef, QName qname)booleanremoveSeconaryChildAssociation(ChildAssociationRef childAssocRef)booleanremoveSecondaryChildAssociation(ChildAssociationRef childAssocRef)NodeRefrestoreNode(NodeRef archivedNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName)voidsetAssociations(NodeRef sourceRef, QName assocTypeQName, List<NodeRef> targetRefs)voidsetChildAssociationIndex(ChildAssociationRef childAssocRef, int index)voidsetContentDataDAO(ContentDataDAO contentDataDAO)Set the DAO to resolved content data reference IDs into ContentData instancesvoidsetDbNodeService(NodeService nodeService)Sets the db node service, used as the version store implementationvoidsetDictionaryService(DictionaryService dictionaryService)Sets the dictionary servicevoidsetProperties(NodeRef nodeRef, Map<QName,Serializable> properties)voidsetProperty(NodeRef nodeRef, QName qame, Serializable value)voidsetSearcher(SearchService searcher)Sets the searchervoidsetType(NodeRef nodeRef, QName typeQName)
-
-
-
Field Detail
-
MSG_UNSUPPORTED
protected static final String MSG_UNSUPPORTED
Error messages- See Also:
- Constant Field Values
-
dbNodeService
protected NodeService dbNodeService
-
dicitionaryService
protected DictionaryService dicitionaryService
-
contentDataDAO
protected ContentDataDAO contentDataDAO
-
-
Method Detail
-
setDbNodeService
public void setDbNodeService(NodeService nodeService)
Sets the db node service, used as the version store implementation- Parameters:
nodeService- the node service
-
setSearcher
public void setSearcher(SearchService searcher)
Sets the searcher
-
setDictionaryService
public void setDictionaryService(DictionaryService dictionaryService)
Sets the dictionary service
-
setContentDataDAO
public void setContentDataDAO(ContentDataDAO contentDataDAO)
Set the DAO to resolved content data reference IDs into ContentData instances
-
getStores
public List<StoreRef> getStores()
Delegates to theNodeServiceused as the version store implementation- Specified by:
getStoresin interfaceNodeService
-
createStore
public StoreRef createStore(String protocol, String identifier)
Delegates to theNodeServiceused as the version store implementation- Specified by:
createStorein interfaceNodeService
-
deleteStore
public void deleteStore(StoreRef storeRef)
- Specified by:
deleteStorein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
exists
public boolean exists(StoreRef storeRef)
Delegates to theNodeServiceused as the version store implementation- Specified by:
existsin interfaceNodeService
-
exists
public boolean exists(NodeRef nodeRef)
Delegates to theNodeServiceused as the version store implementation- Specified by:
existsin interfaceNodeService
-
getNodeStatus
public NodeRef.Status getNodeStatus(NodeRef nodeRef)
Delegates to theNodeServiceused as the version store implementation- Specified by:
getNodeStatusin interfaceNodeService
-
getNodeRef
public NodeRef getNodeRef(Long nodeId)
Delegates to theNodeServiceused as the version store implementation- Specified by:
getNodeRefin interfaceNodeService
-
getRootNode
public NodeRef getRootNode(StoreRef storeRef)
Delegates to theNodeServiceused as the version store implementation- Specified by:
getRootNodein interfaceNodeService
-
getAllRootNodes
public Set<NodeRef> getAllRootNodes(StoreRef storeRef)
Delegates to theNodeServiceused as the version store implementation- Specified by:
getAllRootNodesin interfaceNodeService
-
createNode
public ChildAssociationRef createNode(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName) throws InvalidNodeRefException
- Specified by:
createNodein interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
createNode
public ChildAssociationRef createNode(NodeRef parentRef, QName assocTypeQName, QName assocQName, QName nodeTypeQName, Map<QName,Serializable> properties) throws InvalidNodeRefException
- Specified by:
createNodein interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
deleteNode
public void deleteNode(NodeRef nodeRef) throws InvalidNodeRefException
- Specified by:
deleteNodein interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
addChild
public ChildAssociationRef addChild(NodeRef parentRef, NodeRef childRef, QName assocTypeQName, QName qname) throws InvalidNodeRefException
- Specified by:
addChildin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
addChild
public List<ChildAssociationRef> addChild(Collection<NodeRef> parentRefs, NodeRef childRef, QName assocTypeQName, QName qname) throws InvalidNodeRefException
- Specified by:
addChildin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
removeChild
public void removeChild(NodeRef parentRef, NodeRef childRef) throws InvalidNodeRefException
- Specified by:
removeChildin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
removeChildAssociation
public boolean removeChildAssociation(ChildAssociationRef childAssocRef)
- Specified by:
removeChildAssociationin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
removeSeconaryChildAssociation
public boolean removeSeconaryChildAssociation(ChildAssociationRef childAssocRef)
- Specified by:
removeSeconaryChildAssociationin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
removeSecondaryChildAssociation
public boolean removeSecondaryChildAssociation(ChildAssociationRef childAssocRef)
- Specified by:
removeSecondaryChildAssociationin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
moveNode
public ChildAssociationRef moveNode(NodeRef nodeToMoveRef, NodeRef newParentRef, QName assocTypeQName, QName assocQName) throws InvalidNodeRefException
- Specified by:
moveNodein interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
setChildAssociationIndex
public void setChildAssociationIndex(ChildAssociationRef childAssocRef, int index) throws InvalidChildAssociationRefException
- Specified by:
setChildAssociationIndexin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidChildAssociationRefException
-
getType
public QName getType(NodeRef nodeRef) throws InvalidNodeRefException
Type translation for version store- Specified by:
getTypein interfaceNodeService- Throws:
InvalidNodeRefException
-
setType
public void setType(NodeRef nodeRef, QName typeQName) throws InvalidNodeRefException
- Specified by:
setTypein interfaceNodeService- Throws:
InvalidNodeRefException- See Also:
NodeService.setType(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName)
-
addAspect
public void addAspect(NodeRef nodeRef, QName aspectRef, Map<QName,Serializable> aspectProperties) throws InvalidNodeRefException, InvalidAspectException
- Specified by:
addAspectin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefExceptionInvalidAspectException
-
hasAspect
public boolean hasAspect(NodeRef nodeRef, QName aspectRef) throws InvalidNodeRefException, InvalidAspectException
Translation for version store- Specified by:
hasAspectin interfaceNodeService- Throws:
InvalidNodeRefExceptionInvalidAspectException
-
removeAspect
public void removeAspect(NodeRef nodeRef, QName aspectRef) throws InvalidNodeRefException, InvalidAspectException
- Specified by:
removeAspectin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefExceptionInvalidAspectException
-
getAspects
public Set<QName> getAspects(NodeRef nodeRef) throws InvalidNodeRefException
Translation for version store- Specified by:
getAspectsin interfaceNodeService- Throws:
InvalidNodeRefException
-
getProperties
public Map<QName,Serializable> getProperties(NodeRef nodeRef) throws InvalidNodeRefException
Property translation for version store- Specified by:
getPropertiesin interfaceNodeService- Throws:
InvalidNodeRefException
-
getProperty
public Serializable getProperty(NodeRef nodeRef, QName qname) throws InvalidNodeRefException
Property translation for version store- Specified by:
getPropertyin interfaceNodeService- Throws:
InvalidNodeRefException
-
setProperties
public void setProperties(NodeRef nodeRef, Map<QName,Serializable> properties) throws InvalidNodeRefException
- Specified by:
setPropertiesin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
addProperties
public void addProperties(NodeRef nodeRef, Map<QName,Serializable> properties) throws InvalidNodeRefException
- Specified by:
addPropertiesin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
setProperty
public void setProperty(NodeRef nodeRef, QName qame, Serializable value) throws InvalidNodeRefException
- Specified by:
setPropertyin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
removeProperty
public void removeProperty(NodeRef nodeRef, QName qname) throws InvalidNodeRefException
- Specified by:
removePropertyin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
getParentAssocs
public List<ChildAssociationRef> getParentAssocs(NodeRef nodeRef)
The node will appear to be attached to the root of the version store- Specified by:
getParentAssocsin interfaceNodeService- See Also:
NodeService.getParentAssocs(NodeRef)
-
getParentAssocs
public List<ChildAssociationRef> getParentAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern)
The node will apprear to be attached to the root of the version store- Specified by:
getParentAssocsin interfaceNodeService- See Also:
NodeService.getParentAssocs(NodeRef, QNamePattern, QNamePattern)
-
getChildAssocs
public List<ChildAssociationRef> getChildAssocs(NodeRef nodeRef) throws InvalidNodeRefException
- Specified by:
getChildAssocsin interfaceNodeService- Throws:
InvalidNodeRefException- See Also:
RegexQNamePattern.MATCH_ALL,getChildAssocs(NodeRef, QNamePattern, QNamePattern)
-
getChildAssocs
public List<ChildAssociationRef> getChildAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern, boolean preload) throws InvalidNodeRefException
- Specified by:
getChildAssocsin interfaceNodeService- Throws:
InvalidNodeRefException
-
getChildAssocs
public List<ChildAssociationRef> getChildAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) throws InvalidNodeRefException
Performs conversion from version store properties to real associations- Specified by:
getChildAssocsin interfaceNodeService- Throws:
InvalidNodeRefException
-
getChildAssocs
public List<ChildAssociationRef> getChildAssocs(NodeRef nodeRef, QNamePattern typeQName, QNamePattern qname, int maxResults, boolean preload) throws InvalidNodeRefException
- Specified by:
getChildAssocsin interfaceNodeService- Throws:
InvalidNodeRefException
-
getChildAssocs
public List<ChildAssociationRef> getChildAssocs(NodeRef nodeRef, Set<QName> childNodeTypes)
- Specified by:
getChildAssocsin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getChildrenByName
public List<ChildAssociationRef> getChildrenByName(NodeRef nodeRef, QName assocTypeQName, Collection<String> childNames)
- Specified by:
getChildrenByNamein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getChildByName
public NodeRef getChildByName(NodeRef nodeRef, QName assocTypeQName, String childName)
- Specified by:
getChildByNamein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getPrimaryParent
public ChildAssociationRef getPrimaryParent(NodeRef nodeRef) throws InvalidNodeRefException
Simulates the node begin attached ot the root node of the version store.- Specified by:
getPrimaryParentin interfaceNodeService- Throws:
InvalidNodeRefException
-
createAssociation
public AssociationRef createAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName) throws InvalidNodeRefException, AssociationExistsException
- Specified by:
createAssociationin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefExceptionAssociationExistsException
-
setAssociations
public void setAssociations(NodeRef sourceRef, QName assocTypeQName, List<NodeRef> targetRefs)
- Specified by:
setAssociationsin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
removeAssociation
public void removeAssociation(NodeRef sourceRef, NodeRef targetRef, QName assocTypeQName)
- Specified by:
removeAssociationin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getAssoc
public AssociationRef getAssoc(Long id)
Gets an association by ID.- Specified by:
getAssocin interfaceNodeService- Parameters:
id- the association id- Returns:
- the association, or
nullif it does not exist
-
getTargetAssocs
public List<AssociationRef> getTargetAssocs(NodeRef sourceRef, QNamePattern qnamePattern)
- Specified by:
getTargetAssocsin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getTargetAssocsByPropertyValue
public List<AssociationRef> getTargetAssocsByPropertyValue(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue)
- Specified by:
getTargetAssocsByPropertyValuein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getSourceAssocs
public List<AssociationRef> getSourceAssocs(NodeRef sourceRef, QNamePattern qnamePattern)
- Specified by:
getSourceAssocsin interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getPath
public Path getPath(NodeRef nodeRef) throws InvalidNodeRefException
- Specified by:
getPathin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
getPaths
public List<Path> getPaths(NodeRef nodeRef, boolean primaryOnly) throws InvalidNodeRefException
- Specified by:
getPathsin interfaceNodeService- Throws:
UnsupportedOperationException- alwaysInvalidNodeRefException
-
getStoreArchiveNode
public NodeRef getStoreArchiveNode(StoreRef storeRef)
- Specified by:
getStoreArchiveNodein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
restoreNode
public NodeRef restoreNode(NodeRef archivedNodeRef, NodeRef targetParentNodeRef, QName assocTypeQName, QName assocQName)
- Specified by:
restoreNodein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getChildAssocsWithoutParentAssocsOfType
public Collection<ChildAssociationRef> getChildAssocsWithoutParentAssocsOfType(NodeRef parent, QName assocTypeQName)
- Specified by:
getChildAssocsWithoutParentAssocsOfTypein interfaceNodeService- Throws:
UnsupportedOperationException- always
-
getNodeAclId
public Long getNodeAclId(NodeRef nodeRef) throws InvalidNodeRefException
Gets, converts and adds the intrinsic properties to the current node's properties- Specified by:
getNodeAclIdin interfaceNodeService- Throws:
InvalidNodeRefException
-
getChildAssocsByPropertyValue
public List<ChildAssociationRef> getChildAssocsByPropertyValue(NodeRef nodeRef, QName propertyQName, Serializable value)
- Specified by:
getChildAssocsByPropertyValuein interfaceNodeService
-
findNodes
public List<NodeRef> findNodes(NodeService.FindNodeParameters params)
- Specified by:
findNodesin interfaceNodeService
-
countChildAssocs
public int countChildAssocs(NodeRef nodeRef, boolean isPrimary) throws InvalidNodeRefException
- Specified by:
countChildAssocsin interfaceNodeService- Throws:
InvalidNodeRefException
-
-