Event delivered to a portlet listener. Mainly these events are sent
because a community that is using portlet is created, deleted, undeleted,
disabled, enabled or purged. They can also be sent if a particular service is
individually being created, deleted, disabled, enabled.
final public static String EVENT_TYPE_CREATED(Code)
Creation or initialization event. It is called whenever a service is asked
to initialize itself. This happens when a new community is created or
an existing community includes this portlet.
EVENT_TYPE_DELETED
final public static String EVENT_TYPE_DELETED(Code)
Deletion event. This event is generally sent whenever the
community that is using this portlet is marked
for deletion. The service data must not be
physically removed when a community is marked for
deletion.
EVENT_TYPE_DESTROYED
final public static String EVENT_TYPE_DESTROYED(Code)
Remove event. This event is sent whenever the
community that is using this portlet is permantely removed
and it asks the services it to remove their data too, if applicable.
EVENT_TYPE_DISABLED
final public static String EVENT_TYPE_DISABLED(Code)
Disable event. This event is generally sent whenever the
community that is using this portlet is disabled and it asks
its services to disable their functionality if applicable.
EVENT_TYPE_ENABLED
final public static String EVENT_TYPE_ENABLED(Code)
Enable event. This event is generally sent whenever the
community that is using this portlet is enabled and it asks its services
to be enable if applicable.
EVENT_TYPE_UNDELETED
final public static String EVENT_TYPE_UNDELETED(Code)
Undo the deletion. This event is generally sent when a community
that is using this portlet is previously marked for deletion is reset
and it asks its services to reset if applicable.
PREFERENCES_BANNED
final public static String PREFERENCES_BANNED(Code)
Key to get/set the portlet preferences for a user in BANNED role.
PREFERENCES_DELETED_COMMUNITY
final public static String PREFERENCES_DELETED_COMMUNITY(Code)
Key to get/set the portlet preferences when the community is marked for deletion i.e.in DELETED state.
PREFERENCES_DISABLED_COMMUNITY
final public static String PREFERENCES_DISABLED_COMMUNITY(Code)
Key to get/set the portlet preferences when the community is in DISABLED state.
PREFERENCES_INVITED
final public static String PREFERENCES_INVITED(Code)
Key to get/set the portlet preferences for a user in INVITED role.
PREFERENCES_MEMBER
final public static String PREFERENCES_MEMBER(Code)
Key to get/set the portlet preferences for a user in MEMBER role.
PREFERENCES_OWNER
final public static String PREFERENCES_OWNER(Code)
Key to get/set the portlet preferences for a user in OWNER role.
PREFERENCES_PENDING
final public static String PREFERENCES_PENDING(Code)
Key to get/set the portlet preferences for a user in PENDING role.
PREFERENCES_REJECTED
final public static String PREFERENCES_REJECTED(Code)
Key to get/set the portlet preferences for a user in REJECTED role.
PREFERENCES_VISITOR
final public static String PREFERENCES_VISITOR(Code)
Key to get/set the portlet preferences for a user in VISITOR role.
This method returns the PortletProvisionPreferences if available. Otherwise, it returns null.
Possible values for key are the defined constants starting with PREFERENCES_*.
Parameters: key - static string constants defined in this class. Instance of PortletProvisionPreferences for the role specified.