public class DigitalServiceEntityHandler extends Object
| Constructor and Description |
|---|
DigitalServiceEntityHandler(OMRSRepositoryHelper repositoryHelper,
RepositoryHandler repositoryHandler,
InvalidParameterHandler invalidParameterHandler)
Instantiates a new Digital Service Entity handler.
|
| Modifier and Type | Method and Description |
|---|---|
String |
createDigitalServiceEntity(String userId,
String serverName,
DigitalService digitalService)
Create digital service referencable string.
|
public DigitalServiceEntityHandler(OMRSRepositoryHelper repositoryHelper, RepositoryHandler repositoryHandler, InvalidParameterHandler invalidParameterHandler)
repositoryHelper - the repository helperrepositoryHandler - the repository handlerinvalidParameterHandler - the invalid parameter handlerpublic String createDigitalServiceEntity(String userId, String serverName, DigitalService digitalService) throws PropertyServerException, UserNotAuthorizedException, InvalidParameterException
userId - serverName - the server name*digitalService - the digital servicePropertyServerException - the property server exceptionInvalidParameterException - the invalid parameter exceptionUserNotAuthorizedExceptionCopyright © 2018–2020 ODPi. All rights reserved.