public interface IPortalEvent extends INotifiableEvent
Modifier and Type | Interface and Description |
---|---|
static interface |
IPortalEvent.IListener |
static interface |
IPortalEvent.ISynchronousListener |
static class |
IPortalEvent.Listeners |
static class |
IPortalEvent.QueueListeners |
static class |
IPortalEvent.SynchronousListeners |
Modifier and Type | Field and Description |
---|---|
static int |
OPERATION_ADD |
static int |
OPERATION_ALL |
static int |
OPERATION_CREATE |
static int |
OPERATION_DEFAULT |
static int |
OPERATION_DELETE |
static int |
OPERATION_GROUP_PORTAL |
static int |
OPERATION_GROUP_WORKFLOW |
static int |
OPERATION_MOVE |
static int |
OPERATION_NO_OP |
static int |
OPERATION_NONE |
static int |
OPERATION_READ |
static int |
OPERATION_REMOVE |
static int |
OPERATION_UPDATE |
static int |
STATUS_ANY |
static int |
STATUS_DENIED |
static int |
STATUS_ERROR |
static int |
STATUS_SUCCESS |
Modifier and Type | Method and Description |
---|---|
int |
getOperation()
Gets the operation code associated with this event.
|
int |
getOperation(String operation_name)
Looks up the operation code using the operation name.
|
String |
getOperationName()
Gets the string representation of the operation code associated with this event.
|
String |
getOperationName(int operation)
Looks up the string representation of the operation code.
|
String |
getOperationTemplateName()
Gets the notification rendering template name.
|
String |
getOperationTemplateName(int operation)
Looks up the rendering layout name based on the operation code.
|
IThingID |
getRelationId()
Gets the id of the relation thing associated with this event.
|
boolean |
getRelationIsFrom()
Gets the
from value of the relation associated with this event. |
int |
getStatus()
Gets the status code associated with this event.
|
int |
getStatus(String status_name)
Looks up the status code using the status name.
|
String |
getStatusName()
Gets the string representation of the status code associated with this event.
|
String |
getStatusName(int status)
Looks up the status name using the status code.
|
IThingID |
getThingId()
Gets the id of the thing associated with this event.
|
IThingID |
getUserId()
Gets the id of the user associated with this event.
|
boolean |
isDeliverable()
Deliverable event flag which indicates if given event should be delivered to subscribers
Normally this is 'true', but in some circumstances we would like to avoid notification on
certain events
|
getJcrSessionID, getJcrSessionUserData, getSourceIP, getTimestamp, getVMID, isLocalEvent, raise
static final int STATUS_ANY
static final int STATUS_SUCCESS
static final int STATUS_DENIED
static final int STATUS_ERROR
static final int OPERATION_GROUP_PORTAL
static final int OPERATION_GROUP_WORKFLOW
static final int OPERATION_ALL
static final int OPERATION_NONE
static final int OPERATION_CREATE
static final int OPERATION_READ
static final int OPERATION_UPDATE
static final int OPERATION_DELETE
static final int OPERATION_ADD
static final int OPERATION_REMOVE
static final int OPERATION_NO_OP
static final int OPERATION_MOVE
static final int OPERATION_DEFAULT
IThingID getThingId()
IThingID
of the thingIThingID getRelationId()
IThingID
of the relationboolean getRelationIsFrom()
from
value of the relation associated with this event.int getOperation()
int getStatus()
IThingID getUserId()
IThingID
of the userString getOperationName()
String getOperationTemplateName()
ISubscriptionService.getAppCriteriaLayout(com.webmethods.portal.service.meta2.thing.IThingID)
String getStatusName()
String getOperationName(int operation)
operation
- the operation codeString getOperationTemplateName(int operation)
operation
- the operation codeint getOperation(String operation_name)
operation_name
- the operation nameString getStatusName(int status)
status
- the status codeint getStatus(String status_name)
status_name
- the status nameboolean isDeliverable()