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 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
      • 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