org.alfresco.opencmis
Class CMISNodeInfoImpl
java.lang.Object
org.alfresco.opencmis.CMISNodeInfoImpl
- All Implemented Interfaces:
- org.alfresco.opencmis.dictionary.CMISNodeInfo
public class CMISNodeInfoImpl
- extends java.lang.Object
- implements org.alfresco.opencmis.dictionary.CMISNodeInfo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CMISNodeInfoImpl
public CMISNodeInfoImpl(CMISConnector connector,
java.lang.String objectId)
CMISNodeInfoImpl
public CMISNodeInfoImpl(CMISConnector connector,
org.alfresco.service.cmr.repository.NodeRef nodeRef)
CMISNodeInfoImpl
public CMISNodeInfoImpl(CMISConnector connector,
org.alfresco.service.cmr.repository.AssociationRef associationRef)
analyseObjectId
protected void analyseObjectId()
analyseNodeRef
protected void analyseNodeRef()
analyseAssociationRef
protected void analyseAssociationRef()
getObjectId
public java.lang.String getObjectId()
- Specified by:
getObjectId
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getObjectVariant
public org.alfresco.opencmis.dictionary.CMISObjectVariant getObjectVariant()
- Specified by:
getObjectVariant
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isVariant
public boolean isVariant(org.alfresco.opencmis.dictionary.CMISObjectVariant var)
- Specified by:
isVariant
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
- Specified by:
getNodeRef
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getCurrentNodeId
public java.lang.String getCurrentNodeId()
- Specified by:
getCurrentNodeId
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getCurrentNodeNodeRef
public org.alfresco.service.cmr.repository.NodeRef getCurrentNodeNodeRef()
- Specified by:
getCurrentNodeNodeRef
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getCurrentObjectId
public java.lang.String getCurrentObjectId()
- Specified by:
getCurrentObjectId
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isCurrentVersion
public boolean isCurrentVersion()
- Specified by:
isCurrentVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isPWC
public boolean isPWC()
- Specified by:
isPWC
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
hasPWC
public boolean hasPWC()
- Specified by:
hasPWC
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isVersion
public boolean isVersion()
- Specified by:
isVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isLatestVersion
public boolean isLatestVersion()
- Specified by:
isLatestVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isLatestMajorVersion
public boolean isLatestMajorVersion()
- Specified by:
isLatestMajorVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isMajorVersion
public boolean isMajorVersion()
- Specified by:
isMajorVersion
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getVersionLabel
public java.lang.String getVersionLabel()
- Specified by:
getVersionLabel
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getCheckinComment
public java.lang.String getCheckinComment()
- Specified by:
getCheckinComment
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getAssociationRef
public org.alfresco.service.cmr.repository.AssociationRef getAssociationRef()
- Specified by:
getAssociationRef
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getType
public org.alfresco.opencmis.dictionary.TypeDefinitionWrapper getType()
- Specified by:
getType
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isFolder
public boolean isFolder()
- Specified by:
isFolder
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isRootFolder
public boolean isRootFolder()
- Specified by:
isRootFolder
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isDocument
public boolean isDocument()
- Specified by:
isDocument
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
isRelationship
public boolean isRelationship()
- Specified by:
isRelationship
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getCreationDate
public java.io.Serializable getCreationDate()
- Specified by:
getCreationDate
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getModificationDate
public java.io.Serializable getModificationDate()
- Specified by:
getModificationDate
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
getLatestVersionNodeRef
public org.alfresco.service.cmr.repository.NodeRef getLatestVersionNodeRef(boolean major)
getVersionHistory
public VersionHistory getVersionHistory()
getVersion
public Version getVersion()
checkIfUseful
public void checkIfUseful(java.lang.String what)
checkIfFolder
public void checkIfFolder(java.lang.String what)
getPropertyValue
public java.io.Serializable getPropertyValue(java.lang.String id)
- Specified by:
getPropertyValue
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
containsPropertyValue
public boolean containsPropertyValue(java.lang.String id)
- Specified by:
containsPropertyValue
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
putPropertyValue
public void putPropertyValue(java.lang.String id,
java.io.Serializable value)
- Specified by:
putPropertyValue
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getParents
public java.util.List getParents()
- Specified by:
getParents
in interface org.alfresco.opencmis.dictionary.CMISNodeInfo
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.