Package org.alfresco.opencmis.mapping
Class AbstractProperty
- java.lang.Object
-
- org.alfresco.opencmis.mapping.AbstractProperty
-
- All Implemented Interfaces:
org.alfresco.opencmis.dictionary.CMISPropertyAccessor
- Direct Known Subclasses:
AllowedChildObjectTypeIdsProperty,BaseTypeIdProperty,CheckinCommentProperty,ContentStreamIdProperty,ContentStreamLengthProperty,ContentStreamMimetypeProperty,CreationDateProperty,DescriptionProperty,DirectProperty,FixedValueProperty,IsImmutableProperty,IsLatestMajorVersionProperty,IsLatestVersionProperty,IsMajorVersionProperty,IsPrivateWorkingCopy,IsVersionSeriesCheckedOutProperty,ModificationDateProperty,NameProperty,NodeRefProperty,ObjectIdProperty,ObjectTypeIdProperty,ParentProperty,PathProperty,SecondaryTypesProperty,SourceIdProperty,TargetIdProperty,VersionLabelProperty,VersionSeriesCheckedOutByProperty,VersionSeriesCheckedOutIdProperty,VersionSeriesIdProperty
public abstract class AbstractProperty extends java.lang.Object implements org.alfresco.opencmis.dictionary.CMISPropertyAccessorBase class for all property accessors- Author:
- andyh
-
-
Field Summary
Fields Modifier and Type Field Description protected CMISConnectorconnectorstatic java.lang.StringCONTENT_PROPERTY
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractProperty(ServiceRegistry serviceRegistry, CMISConnector connector, java.lang.String propertyName)Construct
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.alfresco.opencmis.dictionary.CMISNodeInfocreateNodeInfo(org.alfresco.service.cmr.repository.AssociationRef assocRef)org.alfresco.opencmis.dictionary.CMISNodeInfocreateNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef)protected org.alfresco.service.cmr.repository.ContentDatagetContentData(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)protected java.lang.StringgetGuid(java.lang.String nodeId)org.alfresco.service.namespace.QNamegetMappedProperty()java.lang.StringgetName()protected ServiceRegistrygetServiceRegistry()java.io.SerializablegetValue(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)java.io.SerializablegetValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)java.io.SerializablegetValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)protected abstract java.io.SerializablegetValueInternal(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)voidsetValue(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.io.Serializable value)
-
-
-
Field Detail
-
CONTENT_PROPERTY
public static final java.lang.String CONTENT_PROPERTY
- See Also:
- Constant Field Values
-
connector
protected CMISConnector connector
-
-
Constructor Detail
-
AbstractProperty
protected AbstractProperty(ServiceRegistry serviceRegistry, CMISConnector connector, java.lang.String propertyName)
Construct- Parameters:
serviceRegistry- ServiceRegistryconnector- CMISConnectorpropertyName- String
-
-
Method Detail
-
getGuid
protected java.lang.String getGuid(java.lang.String nodeId)
-
getServiceRegistry
protected ServiceRegistry getServiceRegistry()
- Returns:
- service registry
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.alfresco.opencmis.dictionary.CMISPropertyAccessor
-
getMappedProperty
public org.alfresco.service.namespace.QName getMappedProperty()
- Specified by:
getMappedPropertyin interfaceorg.alfresco.opencmis.dictionary.CMISPropertyAccessor
-
setValue
public void setValue(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.io.Serializable value)- Specified by:
setValuein interfaceorg.alfresco.opencmis.dictionary.CMISPropertyAccessor
-
getValue
public java.io.Serializable getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
-
getValue
public java.io.Serializable getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)
-
getValue
public java.io.Serializable getValue(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
- Specified by:
getValuein interfaceorg.alfresco.opencmis.dictionary.CMISPropertyAccessor
-
getValueInternal
protected abstract java.io.Serializable getValueInternal(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
-
createNodeInfo
public org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef)
- Specified by:
createNodeInfoin interfaceorg.alfresco.opencmis.dictionary.CMISPropertyAccessor
-
createNodeInfo
public org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo(org.alfresco.service.cmr.repository.AssociationRef assocRef)
- Specified by:
createNodeInfoin interfaceorg.alfresco.opencmis.dictionary.CMISPropertyAccessor
-
getContentData
protected org.alfresco.service.cmr.repository.ContentData getContentData(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
-
-