public abstract class AbstractProperty extends Object implements org.alfresco.opencmis.dictionary.CMISPropertyAccessor
Modifier and Type | Field and Description |
---|---|
protected CMISConnector |
connector |
static String |
CONTENT_PROPERTY |
Modifier | Constructor and Description |
---|---|
protected |
AbstractProperty(ServiceRegistry serviceRegistry,
CMISConnector connector,
String propertyName)
Construct
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.opencmis.dictionary.CMISNodeInfo |
createNodeInfo(org.alfresco.service.cmr.repository.AssociationRef assocRef) |
org.alfresco.opencmis.dictionary.CMISNodeInfo |
createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
protected org.alfresco.service.cmr.repository.ContentData |
getContentData(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo) |
protected String |
getGuid(String nodeId) |
org.alfresco.service.namespace.QName |
getMappedProperty() |
String |
getName() |
protected ServiceRegistry |
getServiceRegistry() |
Serializable |
getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef) |
Serializable |
getValue(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo) |
Serializable |
getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
protected abstract Serializable |
getValueInternal(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo) |
void |
setValue(org.alfresco.service.cmr.repository.NodeRef nodeRef,
Serializable value) |
public static final String CONTENT_PROPERTY
protected CMISConnector connector
protected AbstractProperty(ServiceRegistry serviceRegistry, CMISConnector connector, String propertyName)
serviceRegistry
- ServiceRegistryconnector
- CMISConnectorpropertyName
- Stringprotected ServiceRegistry getServiceRegistry()
public String getName()
getName
in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
public org.alfresco.service.namespace.QName getMappedProperty()
getMappedProperty
in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
public void setValue(org.alfresco.service.cmr.repository.NodeRef nodeRef, Serializable value)
setValue
in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
public Serializable getValue(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public Serializable getValue(org.alfresco.service.cmr.repository.AssociationRef assocRef)
public Serializable getValue(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
getValue
in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
protected abstract Serializable getValueInternal(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
public org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef)
createNodeInfo
in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
public org.alfresco.opencmis.dictionary.CMISNodeInfo createNodeInfo(org.alfresco.service.cmr.repository.AssociationRef assocRef)
createNodeInfo
in interface org.alfresco.opencmis.dictionary.CMISPropertyAccessor
protected org.alfresco.service.cmr.repository.ContentData getContentData(org.alfresco.opencmis.dictionary.CMISNodeInfo nodeInfo)
Copyright © 2005–2017 Alfresco Software. All rights reserved.