Package org.alfresco.repo.version
Class Node2ServiceImpl
java.lang.Object
org.alfresco.repo.version.NodeServiceImpl
org.alfresco.repo.version.Node2ServiceImpl
- All Implemented Interfaces:
Version2Model,VersionBaseModel,VersionModel,NodeService
The version2 store node service implementation
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.NodeService
NodeService.FindNodeParameters -
Field Summary
Fields inherited from class org.alfresco.repo.version.NodeServiceImpl
contentDataDAO, dbNodeService, dicitionaryService, MSG_UNSUPPORTEDFields inherited from interface org.alfresco.repo.version.Version2Model
ASPECT_LOCALNAME_VERSION, ASPECT_VERSION, ASPECT_VERSION_STORE_ROOT, ASSOC_ROOT_VERSION, ASSOC_SUCCESSOR, CHILD_QNAME_VERSION_HISTORIES, CHILD_QNAME_VERSIONED_ASSOCS, CHILD_QNAME_VERSIONS, NAMESPACE_URI, PROP_ASSOC_DBID, PROP_FROZEN_ACCESSED, PROP_FROZEN_CREATED, PROP_FROZEN_CREATOR, PROP_FROZEN_MODIFIED, PROP_FROZEN_MODIFIER, PROP_FROZEN_NODE_DBID, PROP_FROZEN_NODE_REF, PROP_METADATA_PREFIX, PROP_QNAME_ASSOC_DBID, PROP_QNAME_FROZEN_ACCESSED, PROP_QNAME_FROZEN_CREATED, PROP_QNAME_FROZEN_CREATOR, PROP_QNAME_FROZEN_MODIFIED, PROP_QNAME_FROZEN_MODIFIER, PROP_QNAME_FROZEN_NODE_DBID, PROP_QNAME_FROZEN_NODE_REF, PROP_QNAME_TRANSLATION_VERSIONS, PROP_QNAME_VERSION_DESCRIPTION, PROP_QNAME_VERSION_LABEL, PROP_QNAME_VERSION_NUMBER, PROP_QNAME_VERSIONED_NODE_ID, PROP_VERSION_DESCRIPTION, PROP_VERSION_TYPE, STORE_ID, TYPE_QNAME_VERSION_HISTORY, TYPE_QNAME_VERSIONED_ASSOCFields 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_ASSOCFields 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 -
Method Summary
Modifier and TypeMethodDescriptiongetAspects(NodeRef nodeRef) Aspects translation for version storegetChildAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) Child Assocs translation for version storegetParentAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) The node will appear to be attached to the root of the version storegetPrimaryParent(NodeRef nodeRef) Simulates the node begin attached to the root node of the version store.getProperties(NodeRef nodeRef) Properties translation for version storegetProperty(NodeRef nodeRef, QName qname) Property translation for version storegetTargetAssocs(NodeRef sourceRef, QNamePattern qnamePattern) Assocs translation for version storegetTargetAssocsByPropertyValue(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue) Type translation for version storeMethods inherited from class org.alfresco.repo.version.NodeServiceImpl
addAspect, addChild, addChild, addProperties, cleanup, countChildAssocs, createAssociation, createNode, createNode, createStore, deleteNode, deleteStore, exists, exists, findAssocsNotLinkedByTwoOtherAssocs, findNodes, getAllRootNodes, getAssoc, getChildAssocs, getChildAssocs, getChildAssocs, getChildAssocs, getChildAssocsByPropertyValue, getChildAssocsWithoutParentAssocsOfType, getChildByName, getChildrenByName, getNodeAclId, getNodeRef, getNodeStatus, getParentAssocs, getPath, getPaths, getRootNode, getSourceAssocs, getStoreArchiveNode, getStores, hasAspect, moveNode, removeAspect, removeAssociation, removeChild, removeChildAssociation, removeProperty, removeSeconaryChildAssociation, removeSecondaryChildAssociation, restoreNode, setAssociations, setChildAssociationIndex, setContentDataDAO, setDbNodeService, setDictionaryService, setProperties, setProperty, setSearcher, setTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.service.cmr.repository.NodeService
addAspect, addChild, addChild, addProperties, countChildAssocs, createAssociation, createNode, createNode, createStore, deleteNode, deleteStore, exists, exists, findAssocsNotLinkedByTwoOtherAssocs, findNodes, getAllRootNodes, getAssoc, getChildAssocs, getChildAssocs, getChildAssocs, getChildAssocs, getChildAssocsByPropertyValue, getChildAssocsWithoutParentAssocsOfType, getChildByName, getChildrenByName, getNodeAclId, getNodeRef, getNodeStatus, getParentAssocs, getPath, getPaths, getRootNode, getSourceAssocs, getStoreArchiveNode, getStores, hasAspect, moveNode, removeAspect, removeAssociation, removeChild, removeChildAssociation, removeProperty, removeSeconaryChildAssociation, removeSecondaryChildAssociation, restoreNode, setAssociations, setChildAssociationIndex, setProperties, setProperty, setType
-
Constructor Details
-
Node2ServiceImpl
public Node2ServiceImpl()
-
-
Method Details
-
getType
Type translation for version store- Specified by:
getTypein interfaceNodeService- Overrides:
getTypein classNodeServiceImpl- Throws:
InvalidNodeRefException
-
getAspects
Aspects translation for version store- Specified by:
getAspectsin interfaceNodeService- Overrides:
getAspectsin classNodeServiceImpl- Throws:
InvalidNodeRefException
-
getProperties
Properties translation for version store- Specified by:
getPropertiesin interfaceNodeService- Overrides:
getPropertiesin classNodeServiceImpl- Throws:
InvalidNodeRefException
-
getProperty
Property translation for version store- Specified by:
getPropertyin interfaceNodeService- Overrides:
getPropertyin classNodeServiceImpl- Throws:
InvalidNodeRefException
-
getParentAssocs
public List<ChildAssociationRef> getParentAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) The node will appear to be attached to the root of the version store- Specified by:
getParentAssocsin interfaceNodeService- Overrides:
getParentAssocsin classNodeServiceImpl- See Also:
-
getChildAssocs
public List<ChildAssociationRef> getChildAssocs(NodeRef nodeRef, QNamePattern typeQNamePattern, QNamePattern qnamePattern) throws InvalidNodeRefException Child Assocs translation for version store- Specified by:
getChildAssocsin interfaceNodeService- Overrides:
getChildAssocsin classNodeServiceImpl- Throws:
InvalidNodeRefException
-
getPrimaryParent
Simulates the node begin attached to the root node of the version store.- Specified by:
getPrimaryParentin interfaceNodeService- Overrides:
getPrimaryParentin classNodeServiceImpl- Throws:
InvalidNodeRefException
-
getTargetAssocs
Assocs translation for version store- Specified by:
getTargetAssocsin interfaceNodeService- Overrides:
getTargetAssocsin classNodeServiceImpl- Since:
- 3.3 (Ent)
-
getTargetAssocsByPropertyValue
public List<AssociationRef> getTargetAssocsByPropertyValue(NodeRef sourceRef, QNamePattern qnamePattern, QName propertyQName, Serializable propertyValue) Implementation for version store v2
- Specified by:
getTargetAssocsByPropertyValuein interfaceNodeService- Overrides:
getTargetAssocsByPropertyValuein classNodeServiceImpl
-