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.
  • 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 interface org.apache.chemistry.opencmis.client.api.Relationship
    • getSourceId

      public org.apache.chemistry.opencmis.client.api.ObjectId getSourceId()
      Specified by:
      getSourceId in interface org.apache.chemistry.opencmis.client.api.RelationshipProperties
    • getSource

      public org.apache.chemistry.opencmis.client.api.CmisObject getSource()
      Specified by:
      getSource in interface org.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 interface org.apache.chemistry.opencmis.client.api.Relationship
    • getTargetId

      public org.apache.chemistry.opencmis.client.api.ObjectId getTargetId()
      Specified by:
      getTargetId in interface org.apache.chemistry.opencmis.client.api.RelationshipProperties
    • getTarget

      public org.apache.chemistry.opencmis.client.api.CmisObject getTarget()
      Specified by:
      getTarget in interface org.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 interface org.apache.chemistry.opencmis.client.api.Relationship