Package com.orchestranetworks.userservice

# Interface UserServiceExtended<S extends EntitySelection>

All Superinterfaces:
  `UserService<S>`

public interface UserServiceExtended<S extends EntitySelection> extends UserService<S>
Extended interface that can be implemented by a user service.

Restrictions

Currently user services without display of nature `Association` or `AssociationRecord` are not supported and should not implement this interface if the outcome is a redirection to another entity or service.

Since 6.0.8 the case of `UserServiceNext.nextClose` is supported.

Services without display are also not supported if called from a perspective action or as a Web component.

Since:
  5.8.1
See Also:
  - `UserService`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UserServiceEventOutcome`
  `initialize(UserServiceInitializeContext<S> aContext)`
  This method is called on the user service creation before display.

  ### Methods inherited from interface com.orchestranetworks.userservice.UserService

  `processEventOutcome, setupDisplay, setupObjectContext, validate`

- ## Method Details

  - ### initialize

    UserServiceEventOutcome initialize(UserServiceInitializeContext<S> aContext)
    This method is called on the user service creation before display. It may prevent the user service from being displayed by closing it and redisplaying the current selection or redirecting the user to another EBX® screen.
    Parameters:
      `aContext` - provides information about the current context.
    Returns:
      if `null` or invalid value, the user service is displayed normally. if not `null`, the value is processed by the method `UserService.processEventOutcome(UserServiceProcessEventOutcomeContext, UserServiceEventOutcome)`.