org.alfresco.repo.cmis.ws
Class DMDiscoveryServicePort
java.lang.Object
org.alfresco.repo.cmis.ws.DMAbstractServicePort
org.alfresco.repo.cmis.ws.DMDiscoveryServicePort
- All Implemented Interfaces:
- org.alfresco.repo.cmis.ws.DiscoveryServicePort
public class DMDiscoveryServicePort
- extends DMAbstractServicePort
- implements org.alfresco.repo.cmis.ws.DiscoveryServicePort
Port for Discovery service.
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 |
Method Summary |
void |
getContentChanges(java.lang.String repositoryId,
javax.xml.ws.Holder changeLogToken,
java.lang.Boolean includeProperties,
java.lang.String filter,
java.lang.Boolean includePolicyIds,
java.lang.Boolean includeACL,
java.math.BigInteger maxItems,
org.alfresco.repo.cmis.ws.CmisExtensionType extension,
javax.xml.ws.Holder objects)
Gets a list of content changes. |
org.alfresco.repo.cmis.ws.QueryResponse |
query(org.alfresco.repo.cmis.ws.Query parameters)
Queries the repository for queryable object based on properties or an optional full-text string. |
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 |
DMDiscoveryServicePort
public DMDiscoveryServicePort()
query
public org.alfresco.repo.cmis.ws.QueryResponse query(org.alfresco.repo.cmis.ws.Query parameters)
throws org.alfresco.repo.cmis.ws.CmisException
- Queries the repository for queryable object based on properties or an optional full-text string. Relationship objects are not queryable. Content-streams are not returned as
part of query
ALF-9566 : hasMoreItems was changed to be confirmed with a section (2.2.1.1 Paging) of the specification.
- Specified by:
query
in interface org.alfresco.repo.cmis.ws.DiscoveryServicePort
- Parameters:
parameters
- query parameters
- Throws:
CmisException
- (with following EnumServiceException
: INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME)
getContentChanges
public void getContentChanges(java.lang.String repositoryId,
javax.xml.ws.Holder changeLogToken,
java.lang.Boolean includeProperties,
java.lang.String filter,
java.lang.Boolean includePolicyIds,
java.lang.Boolean includeACL,
java.math.BigInteger maxItems,
org.alfresco.repo.cmis.ws.CmisExtensionType extension,
javax.xml.ws.Holder objects)
throws org.alfresco.repo.cmis.ws.CmisException
- Gets a list of content changes. Targeted for search crawlers or other applications that need to efficiently understand what has changed in the repository. Note: The content
stream is NOT returned for any change event.
- Specified by:
getContentChanges
in interface org.alfresco.repo.cmis.ws.DiscoveryServicePort
- Parameters:
repositoryId
- String
value that determines Id of the necessary RepositorychangeLogToken
- generic Holder
class instance with String
type parameter that determines last Change Log TokenincludeProperties
- Boolean
instance value that specifies whether all allowed by filter properties should be returned for Change Type equal to 'UPDATED' or
Object Id property onlyfilter
- String
value for filtering properties for Change Entry with Change Type equal to 'UPDATED'includePolicyIds
- Boolean
instance value that determines whether Policy Ids must be returnedincludeACL
- Boolean
instance value that determines whether ACLs must be returnedmaxItems
- BigInteger
instance value that determines required amount of Change Log Entriesextension
- CmisException
instance of unknown assignmentobjects
- generic Holder
instance with CmisObjectListType
type parameter for storing results of service execution
- Throws:
CmisException
- with next allowable EnumServiceException
enum attribute of exception type values: CONSTRAINT, FILTER_NOT_VALID, INVALID_ARGUMENT,
NOT_SUPPORTED, OBJECT_NOT_FOUND, PERMISSION_DENIED, RUNTIME
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.