public class ReferenceableHandler extends Object
| Constructor and Description |
|---|
ReferenceableHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
RepositoryHandler repositoryHandler,
OMRSRepositoryHelper repositoryHelper)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
List<Referenceable> |
getMoreInformation(String userId,
String elementGUID,
int startFrom,
int pageSize,
String methodName)
Returns the list of related assets for the asset.
|
public ReferenceableHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, RepositoryHandler repositoryHandler, OMRSRepositoryHelper repositoryHelper)
serviceName - name of this serviceserverName - name of the local serverinvalidParameterHandler - handler for managing parameter errorsrepositoryHandler - manages calls to the repository servicesrepositoryHelper - provides utilities for manipulating the repository services objectspublic List<Referenceable> getMoreInformation(String userId, String elementGUID, int startFrom, int pageSize, String methodName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
userId - String userId of user making request.elementGUID - String unique id for asset.startFrom - int starting position for fist returned element.pageSize - int maximum number of elements to return on the call.methodName - String calling methodInvalidParameterException - - the GUID is not recognized or the paging values are invalid orPropertyServerException - - there is a problem retrieving the asset properties from the property server orUserNotAuthorizedException - - the requesting user is not authorized to issue this request.Copyright © 2018–2020 ODPi. All rights reserved.