org.alfresco.repo.cmis.ws
Class DMRelationshipServicePort

java.lang.Object
  extended by org.alfresco.repo.cmis.ws.DMAbstractServicePort
      extended by org.alfresco.repo.cmis.ws.DMRelationshipServicePort
All Implemented Interfaces:
org.alfresco.repo.cmis.ws.RelationshipServicePort

public class DMRelationshipServicePort
extends DMAbstractServicePort
implements org.alfresco.repo.cmis.ws.RelationshipServicePort

Port for relationship service


Field Summary
 
Fields inherited from class org.alfresco.repo.cmis.ws.DMAbstractServicePort
authorityService, cmisAclService, cmisChangeLogService, cmisObjectFactory, cmisQueryService, cmisRenditionService, cmisService, descriptorService, fileFolderService, INCLUDE_RELATIONSHIPS_ENUM_MAPPING, nodeService, permissionService, propertiesUtil, searchService
 
Constructor Summary
DMRelationshipServicePort()
           
 
Method Summary
 org.alfresco.repo.cmis.ws.CmisObjectListType getObjectRelationships(java.lang.String repositoryId, java.lang.String objectId, java.lang.Boolean includeSubRelationshipTypes, org.alfresco.repo.cmis.ws.EnumRelationshipDirection relationshipDirection, java.lang.String typeId, java.lang.String filter, java.lang.Boolean includeAllowableActions, java.math.BigInteger maxItems, java.math.BigInteger skipCount, org.alfresco.repo.cmis.ws.CmisExtensionType extension)
          Gets a list of relationships associated with the object, optionally of a specified relationship type, and optionally in a specified direction.
 
Methods inherited from class org.alfresco.repo.cmis.ws.DMAbstractServicePort
appendWithAce, appendWithRelationships, applyAclCarefully, applyPolicies, checkRepositoryId, convertAclReportToCmisAclType, createCmisObject, createCmisObject, createCmisObjectList, createCursor, createPropertyFilter, createPropertyFilter, determineObjectAllowableActions, getRenditions, isObjectInFolder, setAuthorityService, setCmisAclService, setCmisChangeLogService, setCmisQueryService, setCmisRenditionService, setCmisService, setDescriptorService, setFileFolderService, setNodeService, setPermissionService, setPropertiesUtil, setSearchService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMRelationshipServicePort

public DMRelationshipServicePort()
Method Detail

getObjectRelationships

public org.alfresco.repo.cmis.ws.CmisObjectListType getObjectRelationships(java.lang.String repositoryId,
                                                                           java.lang.String objectId,
                                                                           java.lang.Boolean includeSubRelationshipTypes,
                                                                           org.alfresco.repo.cmis.ws.EnumRelationshipDirection relationshipDirection,
                                                                           java.lang.String typeId,
                                                                           java.lang.String filter,
                                                                           java.lang.Boolean includeAllowableActions,
                                                                           java.math.BigInteger maxItems,
                                                                           java.math.BigInteger skipCount,
                                                                           org.alfresco.repo.cmis.ws.CmisExtensionType extension)
                                                                    throws org.alfresco.repo.cmis.ws.CmisException
Gets a list of relationships associated with the object, optionally of a specified relationship type, and optionally in a specified direction.

Specified by:
getObjectRelationships in interface org.alfresco.repo.cmis.ws.RelationshipServicePort
Parameters:
parameters - repositoryId: Repository Id, objectId: The object with which relationships are associated with; direction: source (Default), target, both; typeId: Relationship Type; includeSubRelationshipTypes: false (Default); filter: property filter; includeAllowableActions: false (default); maxItems: 0 = Unlimited; skipCount: 0 = start at beginning
Returns:
collection of CmisObjectType and boolean hasMoreItems
Throws:
CmisException - (with following EnumServiceException : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.