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
ConstructorDescriptionNuxeoRelationship
(NuxeoSession session, NuxeoObjectData data, org.apache.chemistry.opencmis.client.api.ObjectType type, List<org.apache.chemistry.opencmis.client.api.SecondaryType> secondaryTypes) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.chemistry.opencmis.client.api.RelationshipType
org.apache.chemistry.opencmis.client.api.CmisObject
org.apache.chemistry.opencmis.client.api.CmisObject
getSource
(org.apache.chemistry.opencmis.client.api.OperationContext context) org.apache.chemistry.opencmis.client.api.ObjectId
org.apache.chemistry.opencmis.client.api.CmisObject
org.apache.chemistry.opencmis.client.api.CmisObject
getTarget
(org.apache.chemistry.opencmis.client.api.OperationContext context) org.apache.chemistry.opencmis.client.api.ObjectId
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
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId
getId
-
Constructor Details
-
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 Details
-
getRelationshipType
public org.apache.chemistry.opencmis.client.api.RelationshipType getRelationshipType()- Specified by:
getRelationshipType
in interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
getSourceId
public org.apache.chemistry.opencmis.client.api.ObjectId getSourceId()- Specified by:
getSourceId
in interfaceorg.apache.chemistry.opencmis.client.api.RelationshipProperties
-
getSource
public org.apache.chemistry.opencmis.client.api.CmisObject getSource()- Specified by:
getSource
in 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:
getSource
in interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-
getTargetId
public org.apache.chemistry.opencmis.client.api.ObjectId getTargetId()- Specified by:
getTargetId
in interfaceorg.apache.chemistry.opencmis.client.api.RelationshipProperties
-
getTarget
public org.apache.chemistry.opencmis.client.api.CmisObject getTarget()- Specified by:
getTarget
in 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:
getTarget
in interfaceorg.apache.chemistry.opencmis.client.api.Relationship
-