public class GRSFNotificationService extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements GRSFManageWidgetService
| Constructor and Description |
|---|
GRSFNotificationService() |
| Modifier and Type | Method and Description |
|---|---|
String |
checkIdentifierExists(String id)
Identifier of the record (UUID)
|
String |
checkIdentifierExistsInDomain(String id,
String acceptedDomain)
Identifier of the record (UUID)
|
org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue |
getCatalogue(String discoverScope)
Instanciate the ckan util library.
|
ManageProductBean |
getProductBeanById(String productIdentifier)
Get the product bean from the product identifier
|
boolean |
isAdminUser()
check if the user has the rights to manage the item
|
void |
notifyProductUpdate(ManageProductBean bean)
Notify product update
|
Boolean |
performRevertOperation(RevertableOperationInfo rInfo)
Perform a revert operation
|
RevertableOperationInfo |
validateRevertOperation(String encryptedUrl)
Check if the given url for reverting the operation is valid and get back the needed info to proceed
|
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic org.gcube.datacatalogue.ckanutillibrary.server.DataCatalogue getCatalogue(String discoverScope) throws Exception
discoverScope - if you want to the discover the utils library in this specified scopeExceptionpublic ManageProductBean getProductBeanById(String productIdentifier) throws Exception
GRSFManageWidgetServicegetProductBeanById in interface GRSFManageWidgetServiceExceptionpublic boolean isAdminUser()
GRSFManageWidgetServiceisAdminUser in interface GRSFManageWidgetServicepublic void notifyProductUpdate(ManageProductBean bean) throws Exception
GRSFManageWidgetServicenotifyProductUpdate in interface GRSFManageWidgetServiceExceptionpublic RevertableOperationInfo validateRevertOperation(String encryptedUrl) throws Exception
GRSFManageWidgetServicevalidateRevertOperation in interface GRSFManageWidgetServiceExceptionpublic Boolean performRevertOperation(RevertableOperationInfo rInfo) throws Exception
GRSFManageWidgetServiceperformRevertOperation in interface GRSFManageWidgetServiceExceptionpublic String checkIdentifierExists(String id) throws Exception
GRSFManageWidgetServicecheckIdentifierExists in interface GRSFManageWidgetServiceExceptionpublic String checkIdentifierExistsInDomain(String id, String acceptedDomain) throws Exception
GRSFManageWidgetServicecheckIdentifierExistsInDomain in interface GRSFManageWidgetServiceacceptedDomain - (stock or fishery)ExceptionCopyright © 2018. All Rights Reserved.