Interface UserServiceInitializeContext<S extends EntitySelection>

All Superinterfaces:
UIResourceLocator, UserServiceInvocationContext<S>, UserServiceRequest, UserServiceResourceLocator

public interface UserServiceInitializeContext<S extends EntitySelection> extends UserServiceInvocationContext<S>, UserServiceRequest, UserServiceResourceLocator
This interface provides information and utility methods useful when initializing a user service.
Since:
5.8.1
See Also:
  • Method Details

    • addMessage

      void addMessage(UserMessage aMessage)
      Adds a message that will be displayed in the standard message pane of the user interface using same severity as aMessage.getSeverity().
      Parameters:
      aMessage - the message.
    • addError

      void addError(String aMessage)
      Adds the specified error message.
      Parameters:
      aMessage - the message.
      See Also:
    • addWarning

      void addWarning(String aMessage)
      Adds the specified warning message.
      Parameters:
      aMessage - the message.
      See Also:
    • addInfo

      void addInfo(String aMessage)
      Adds the specified information message.
      Parameters:
      aMessage - the message.
      See Also:
    • createTransaction

      UserServiceTransaction createTransaction()
      Creates an instance of UserServiceTransaction object that allows to execute multiple custom procedures.
      Returns:
      the new UserServiceTransaction object.