public class CMISNodeInfoImpl extends Object implements org.alfresco.opencmis.dictionary.CMISNodeInfo
Constructor and Description |
---|
CMISNodeInfoImpl() |
CMISNodeInfoImpl(CMISConnector connector,
org.alfresco.service.cmr.repository.AssociationRef associationRef) |
CMISNodeInfoImpl(CMISConnector connector,
org.alfresco.service.cmr.repository.NodeRef nodeRef) |
CMISNodeInfoImpl(CMISConnector connector,
org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName nodeType,
Map<org.alfresco.service.namespace.QName,Serializable> nodeProps,
VersionHistory versionHistory,
boolean checkExists) |
CMISNodeInfoImpl(CMISConnector connector,
String objectId) |
Modifier and Type | Method and Description |
---|---|
protected void |
analyseAssociationRef() |
protected void |
analyseCurrentVersion() |
protected void |
analyseNodeRef(boolean checkExists) |
protected void |
analyseObjectId() |
protected void |
analyseVersionNode() |
void |
checkIfFolder(String what) |
void |
checkIfUseful(String what) |
boolean |
containsPropertyValue(String id) |
void |
deleteNode() |
void |
deleteVersion() |
org.alfresco.service.cmr.repository.AssociationRef |
getAssociationRef() |
String |
getCheckinComment() |
Serializable |
getCreationDate() |
String |
getCurrentNodeId() |
org.alfresco.service.cmr.repository.NodeRef |
getCurrentNodeNodeRef() |
String |
getCurrentObjectId() |
org.alfresco.service.cmr.repository.NodeRef |
getLatestVersionNodeRef(boolean major) |
Serializable |
getModificationDate() |
String |
getName() |
Set<org.alfresco.service.namespace.QName> |
getNodeAspects() |
Map<org.alfresco.service.namespace.QName,Serializable> |
getNodeProps() |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef() |
String |
getObjectId() |
org.alfresco.opencmis.dictionary.CMISObjectVariant |
getObjectVariant() |
List<org.alfresco.opencmis.dictionary.CMISNodeInfo> |
getParents() |
String |
getPath() |
Serializable |
getPropertyValue(String id) |
org.alfresco.opencmis.dictionary.TypeDefinitionWrapper |
getType() |
protected Version |
getVersion() |
VersionHistory |
getVersionHistory() |
String |
getVersionLabel() |
boolean |
hasPWC() |
boolean |
isCurrentVersion() |
boolean |
isDocument() |
boolean |
isFolder() |
boolean |
isItem() |
boolean |
isLatestMajorVersion() |
boolean |
isLatestVersion() |
boolean |
isMajorVersion() |
boolean |
isPWC() |
boolean |
isRelationship() |
boolean |
isRootFolder() |
boolean |
isVariant(org.alfresco.opencmis.dictionary.CMISObjectVariant var) |
boolean |
isVersion() |
void |
putPropertyValue(String id,
Serializable value) |
protected void |
setUnversioned() |
String |
toString() |
public CMISNodeInfoImpl()
public CMISNodeInfoImpl(CMISConnector connector, String objectId)
public CMISNodeInfoImpl(CMISConnector connector, org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName nodeType, Map<org.alfresco.service.namespace.QName,Serializable> nodeProps, VersionHistory versionHistory, boolean checkExists)
public CMISNodeInfoImpl(CMISConnector connector, org.alfresco.service.cmr.repository.NodeRef nodeRef)
public CMISNodeInfoImpl(CMISConnector connector, org.alfresco.service.cmr.repository.AssociationRef associationRef)
protected void analyseVersionNode()
protected void analyseCurrentVersion()
protected void setUnversioned()
protected void analyseObjectId()
protected void analyseNodeRef(boolean checkExists)
protected void analyseAssociationRef()
public String getObjectId()
getObjectId
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public org.alfresco.opencmis.dictionary.CMISObjectVariant getObjectVariant()
getObjectVariant
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isVariant(org.alfresco.opencmis.dictionary.CMISObjectVariant var)
isVariant
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
getNodeRef
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public String getCurrentNodeId()
getCurrentNodeId
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public org.alfresco.service.cmr.repository.NodeRef getCurrentNodeNodeRef()
getCurrentNodeNodeRef
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public String getCurrentObjectId()
getCurrentObjectId
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isCurrentVersion()
isCurrentVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isPWC()
isPWC
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean hasPWC()
hasPWC
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isVersion()
isVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isLatestVersion()
isLatestVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isLatestMajorVersion()
isLatestMajorVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isMajorVersion()
isMajorVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public String getVersionLabel()
getVersionLabel
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public String getCheckinComment()
getCheckinComment
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public org.alfresco.service.cmr.repository.AssociationRef getAssociationRef()
getAssociationRef
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public org.alfresco.opencmis.dictionary.TypeDefinitionWrapper getType()
getType
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isFolder()
isFolder
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isItem()
isItem
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isRootFolder()
isRootFolder
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isDocument()
isDocument
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean isRelationship()
isRelationship
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public String getName()
getName
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public String getPath()
getPath
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public Serializable getCreationDate()
getCreationDate
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public Serializable getModificationDate()
getModificationDate
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public org.alfresco.service.cmr.repository.NodeRef getLatestVersionNodeRef(boolean major)
public VersionHistory getVersionHistory()
public void deleteNode()
public void deleteVersion()
protected Version getVersion()
public void checkIfUseful(String what)
public void checkIfFolder(String what)
public Serializable getPropertyValue(String id)
getPropertyValue
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public boolean containsPropertyValue(String id)
containsPropertyValue
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public void putPropertyValue(String id, Serializable value)
putPropertyValue
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public List<org.alfresco.opencmis.dictionary.CMISNodeInfo> getParents()
getParents
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public Map<org.alfresco.service.namespace.QName,Serializable> getNodeProps()
getNodeProps
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
public Set<org.alfresco.service.namespace.QName> getNodeAspects()
getNodeAspects
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
Copyright © 2005–2017 Alfresco Software. All rights reserved.