Interface GRSFManageWidgetService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
GRSFNotificationService
@RemoteServiceRelativePath("grsfmanageservice") public interface GRSFManageWidgetService extends com.google.gwt.user.client.rpc.RemoteService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcheckIdentifierExists(String id)Identifier of the record (UUID)StringcheckIdentifierExistsInDomain(String id, String domain)Identifier of the record (UUID)ManageProductBeangetProductBeanById(String identifier, boolean isRequestForRevertingMerge)Get the product bean from the product identifierbooleanisAdminUser()check if the user has the rights to manage the itemvoidnotifyProductUpdate(ManageProductBean bean)Notify product updateBooleanperformRevertOperation(RevertableOperationInfo rInfo)Perform a revert operationRevertableOperationInfovalidateRevertOperation(String url)Check if the given url for reverting the operation is valid and get back the needed info to proceed
-
-
-
Method Detail
-
isAdminUser
boolean isAdminUser()
check if the user has the rights to manage the item
-
getProductBeanById
ManageProductBean getProductBeanById(String identifier, boolean isRequestForRevertingMerge) throws Exception
Get the product bean from the product identifier- Parameters:
identifier-- Returns:
- ManageProductBean
- Throws:
Exception
-
notifyProductUpdate
void notifyProductUpdate(ManageProductBean bean) throws Exception
Notify product update- Throws:
Exception
-
checkIdentifierExists
String checkIdentifierExists(String id) throws Exception
Identifier of the record (UUID)- Parameters:
id-- Returns:
- the url of the record
- Throws:
Exception
-
checkIdentifierExistsInDomain
String checkIdentifierExistsInDomain(String id, String domain) throws Exception
Identifier of the record (UUID)- Parameters:
id-domain- (stock or fishery)- Returns:
- the url of the record
- Throws:
Exception
-
validateRevertOperation
RevertableOperationInfo validateRevertOperation(String url) throws Exception
Check if the given url for reverting the operation is valid and get back the needed info to proceed- Parameters:
url-- Throws:
Exception
-
performRevertOperation
Boolean performRevertOperation(RevertableOperationInfo rInfo) throws Exception
Perform a revert operation- Parameters:
rInfo-- Returns:
- Throws:
Exception
-
-