Class ProfileEvent

java.lang.Object
org.imixs.marty.profile.ProfileEvent

public class ProfileEvent extends Object
The ProfileEvent provides a CDI observer pattern. The ProfileEvent is fired by the ProfileService EJB. An event Observer can react on a lookup or create event. The ProfileEvent defines the following event types:
  • ON_PROFILE_LOOKUP - send if a local lookup for a profile failed
  • ON_PROFILE_CREATE - send immediately after a profile was created
Version:
1.0
Author:
Ralph Soika
See Also:
  • org.imixs.marty.ejb.ProfileService
  • Field Details

  • Constructor Details

    • ProfileEvent

      public ProfileEvent(String userId, org.imixs.workflow.ItemCollection profile, int eventType)
      Creates a profile event based on a existing Profile ItemCollection
      Parameters:
      userId - - userid
      profile - - optional profile ItemCollection
      eventType -
  • Method Details

    • getEventType

      public int getEventType()
    • getProfile

      public org.imixs.workflow.ItemCollection getProfile()
    • setProfile

      public void setProfile(org.imixs.workflow.ItemCollection profile)
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)