Class FeedbackManagerInstance
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
org.odpi.openmetadata.viewservices.feedbackmanager.server.FeedbackManagerInstance
FeedbackManagerInstance caches references to objects it needs for a specific server.
It is also responsible for registering itself in the instance map.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
localServerUserPassword, remoteServerName, remoteServerURL
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
auditLog, localServerUserId
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
invalidParameterHandler, maxPageSize, securityVerifier, serverName, serviceName
-
Constructor Summary
ConstructorsConstructorDescriptionFeedbackManagerInstance
(String serverName, AuditLog auditLog, String localServerUserId, String localServerUserPassword, int maxPageSize, String remoteServerName, String remoteServerURL, List<ViewServiceConfig> activeViewServices) Set up the Feedback Manager OMVS instance -
Method Summary
Modifier and TypeMethodDescriptiongetCommentHandler
(String urlMarker, String methodName) Return the open metadata handler.getInformalTagHandler
(String urlMarker, String methodName) Return the open metadata handler.getLikeHandler
(String urlMarker, String methodName) Return the open metadata handler.getNoteLogHandler
(String urlMarker, String methodName) Return the open metadata handler.getRatingHandler
(String urlMarker, String methodName) Return the open metadata handler.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstance
getRemoteServerName, getRemoteServerURL
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstance
getAuditLog
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstance
getInvalidParameterHandler, getServerName, getServiceInstanceStatus, getServiceName, setMaxPageSize, setSecurityVerifier, setServerName, setServiceInstanceStatus, shutdown
-
Constructor Details
-
FeedbackManagerInstance
public FeedbackManagerInstance(String serverName, AuditLog auditLog, String localServerUserId, String localServerUserPassword, int maxPageSize, String remoteServerName, String remoteServerURL, List<ViewServiceConfig> activeViewServices) Set up the Feedback Manager OMVS instance- Parameters:
serverName
- name of this serverauditLog
- logging destinationlocalServerUserId
- user id to use on OMRS calls where there is no end user, or as part of an HTTP authentication mechanism with serverUserPassword.localServerUserPassword
- password to use as part of an HTTP authentication mechanism.maxPageSize
- maximum page sizeremoteServerName
- remote server nameremoteServerURL
- remote server URLactiveViewServices
- list of view services active in this server
-
-
Method Details
-
getLikeHandler
public LikeHandler getLikeHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the open metadata handler.- Parameters:
urlMarker
- calling view servicemethodName
- calling operation- Returns:
- client
- Throws:
InvalidParameterException
- bad client initializationPropertyServerException
- bad client handler class
-
getRatingHandler
public RatingHandler getRatingHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the open metadata handler.- Parameters:
urlMarker
- calling view servicemethodName
- calling operation- Returns:
- client
- Throws:
InvalidParameterException
- bad client initializationPropertyServerException
- bad client handler class
-
getCommentHandler
public CommentHandler getCommentHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the open metadata handler.- Parameters:
urlMarker
- calling view servicemethodName
- calling operation- Returns:
- client
- Throws:
InvalidParameterException
- bad client initializationPropertyServerException
- bad client handler class
-
getInformalTagHandler
public InformalTagHandler getInformalTagHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the open metadata handler.- Parameters:
urlMarker
- calling view servicemethodName
- calling operation- Returns:
- client
- Throws:
InvalidParameterException
- bad client initializationPropertyServerException
- bad client handler class
-
getNoteLogHandler
public NoteLogHandler getNoteLogHandler(String urlMarker, String methodName) throws InvalidParameterException, PropertyServerException Return the open metadata handler.- Parameters:
urlMarker
- calling view servicemethodName
- calling operation- Returns:
- client
- Throws:
InvalidParameterException
- bad client initializationPropertyServerException
- bad client handler class
-