public class SaWsAccessService extends AbstractService
configured
Constructor and Description |
---|
SaWsAccessService()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SaWsAccessData |
getAccessData(int token,
String xhdoc)
Reads the access rights of the given document.
|
SaWsAuthorizedUsers |
getAuthorizedUsers(int token,
String xhdoc,
List<SaWsRight> rights,
SaWsMatchKind match)
Retrieves and returns a SaWsAuthorizedUsers object with the matching users.
|
addToRequest, getConnection, getSession, isConfigured
public SaWsAccessData getAccessData(int token, String xhdoc) throws SaWsAuthenticationException, SaWsRepositoryException, SaWsException
token
- to identify the right sessionxhdoc
- The ID of the document (XHDOC)SaWsAuthenticationException
- if an authentication error occurs.SaWsRepositoryException
- if an error while accessing the repository occurs.SaWsException
SaClassicConnector.getDocumentAccessData(java.lang.String)
public SaWsAuthorizedUsers getAuthorizedUsers(int token, String xhdoc, List<SaWsRight> rights, SaWsMatchKind match) throws SaWsAuthenticationException, SaWsRepositoryException, SaWsException
token
- to identify the right sessionxhdoc
- The ID of the document (XHDOC)rights
- A List of SaWsRight to get authorized users for.match
- Defines the matching kind for SaWsRight verification.SaWsAuthenticationException
- if an authentication error occurs.SaWsRepositoryException
- if an error while accessing the repository occurs.SaWsException
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.