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
ConstructorsConstructorDescriptionNuxeoRelationship(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.RelationshipTypeorg.apache.chemistry.opencmis.client.api.CmisObjectorg.apache.chemistry.opencmis.client.api.CmisObjectgetSource(org.apache.chemistry.opencmis.client.api.OperationContext context) org.apache.chemistry.opencmis.client.api.ObjectIdorg.apache.chemistry.opencmis.client.api.CmisObjectorg.apache.chemistry.opencmis.client.api.CmisObjectgetTarget(org.apache.chemistry.opencmis.client.api.OperationContext context) org.apache.chemistry.opencmis.client.api.ObjectIdMethods 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, updatePropertiesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, updatePropertiesMethods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
findObjectType, getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getDescription, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getSecondaryTypes, getTypeMethods 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:
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
-