Class NuxeoRelationship
- java.lang.Object
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
-
- org.nuxeo.ecm.core.opencmis.impl.client.NuxeoRelationship
-
- All Implemented Interfaces:
org.apache.chemistry.opencmis.client.api.CmisObject,org.apache.chemistry.opencmis.client.api.CmisObjectProperties,org.apache.chemistry.opencmis.client.api.ObjectId,org.apache.chemistry.opencmis.client.api.Relationship,org.apache.chemistry.opencmis.client.api.RelationshipProperties
public class NuxeoRelationship extends NuxeoObject implements org.apache.chemistry.opencmis.client.api.Relationship
Live local CMIS Relationship, which is backed by a Nuxeo document.
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
allTypes, data, nuxeoCmisService, objectFactory, secondaryTypes, service, session, type, UPDATABILITY_READWRITE
-
-
Constructor Summary
Constructors Constructor Description NuxeoRelationship(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.chemistry.opencmis.client.api.RelationshipTypegetRelationshipType()org.apache.chemistry.opencmis.client.api.CmisObjectgetSource()org.apache.chemistry.opencmis.client.api.CmisObjectgetSource(org.apache.chemistry.opencmis.client.api.OperationContext context)org.apache.chemistry.opencmis.client.api.ObjectIdgetSourceId()org.apache.chemistry.opencmis.client.api.CmisObjectgetTarget()org.apache.chemistry.opencmis.client.api.CmisObjectgetTarget(org.apache.chemistry.opencmis.client.api.OperationContext context)org.apache.chemistry.opencmis.client.api.ObjectIdgetTargetId()-
Methods inherited from class org.nuxeo.ecm.core.opencmis.impl.client.NuxeoObject
addAcl, applyAcl, applyPolicy, applyPolicy, construct, delete, delete, findObjectType, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getPermissionsForPrincipal, getPolicies, getPolicyIds, getProperties, getProperty, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSecondaryTypes, getType, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updateProperties
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject
addAcl, applyAcl, applyPolicy, applyPolicy, delete, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPermissionsForPrincipal, getPolicies, getPolicyIds, getRefreshTimestamp, getRelationships, getRenditions, hasAllowableAction, refresh, refreshIfOld, removeAcl, removePolicy, removePolicy, rename, rename, setAcl, updateProperties, updateProperties, updateProperties, updateProperties
-
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getType
-
-
-
-
Constructor Detail
-
NuxeoRelationship
public NuxeoRelationship(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes)
-
-
Method Detail
-
getRelationshipType
public org.apache.chemistry.opencmis.client.api.RelationshipType getRelationshipType()
- Specified by:
getRelationshipTypein interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
getSourceId
public org.apache.chemistry.opencmis.client.api.ObjectId getSourceId()
- Specified by:
getSourceIdin interfaceorg.apache.chemistry.opencmis.client.api.RelationshipProperties
-
getSource
public org.apache.chemistry.opencmis.client.api.CmisObject getSource()
- Specified by:
getSourcein interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
getSource
public org.apache.chemistry.opencmis.client.api.CmisObject getSource(org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getSourcein interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
getTargetId
public org.apache.chemistry.opencmis.client.api.ObjectId getTargetId()
- Specified by:
getTargetIdin interfaceorg.apache.chemistry.opencmis.client.api.RelationshipProperties
-
getTarget
public org.apache.chemistry.opencmis.client.api.CmisObject getTarget()
- Specified by:
getTargetin interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
getTarget
public org.apache.chemistry.opencmis.client.api.CmisObject getTarget(org.apache.chemistry.opencmis.client.api.OperationContext context)
- Specified by:
getTargetin interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
-