G Content Management Event Framework Events

This appendix lists and describes the Oracle Portal actions and the CMEF events that they generate. It contains the following sections:

G.1 Actions and Events for Items

Table G-1 lists the actions performed when adding and updating items and the events raised by those actions.

Table G-1 Adding and Editing Items

Description Action Event State Object Class

An item is added and published immediately

ADD_ITEM

INSERT

PUBLISHED

ITEM

An item is added but set to be published some time in the future

ADD_ITEM

INSERT

NOT_PUBLISHED

ITEM

A portlet instance is added

ADD_ITEM

INSERT

PUBLISHED

ITEM

An item is updated but there is no change to the state of the item (that is, it stays as published or unpublished)

EDIT_ITEM

UPDATE

GENERAL

ITEM

An item that was originally set to be published later is edited, and chosen to be published now

EDIT_ITEM

UPDATE

PUBLISHED

ITEM

A published item is updated and set to be published some time in the future

EDIT_ITEM

UPDATE

UNPUBLISHED

ITEM

An expired item is updated and unexpired

EDIT_ITEM

UPDATE

PUBLISHED

ITEM

An item is hidden

HIDE_ITEM

UPDATE

UNPUBLISHED

ITEM

An item that was hidden is shown

SHOW_ITEM

UPDATE

PUBLISHED

ITEM

An item is expired

EXPIRE_ITEM

UPDATE

UNPUBLISHED

ITEM

An item is unexpired

UNEXPIRE_ITEM

UPDATE

PUBLISHED

ITEM

An item is checked-out

CHECK_OUT_ITEM

UPDATE

CHECKED_OUT

ITEM

An item is checked-in

CHECK_IN_ITEM

UPDATE

CHECKED_IN

ITEM


Table G-2 lists the actions performed when copying and moving items and the events raised by those actions.

Table G-2 Copying and Moving Items

Description Action Event State Object Class

An item is copied - the copied item is in the published state

COPY_ITEM

INSERT

PUBLISHED

ITEM

An item is copied - the copied item is in the unpublished state

COPY_ITEM

INSERT

NOT_PUBLISHED

ITEM

An item is moved (within a page or to a different page or page group) - the item is in the published state

MOVE_ITEM

DELETE

PURGED

ITEM

--

MOVE_ITEM

INSERT

PUBLISHED

ITEM

An item is moved (within a page or to a different page or page group) - the item is in the unpublished state

MOVE_ITEM

DELETE

PURGED

ITEM

--

MOVE_ITEM

INSERT

NOT_PUBLISHED

ITEM


Table G-3 lists the actions performed when deleting and restoring items and the events raised by those actions.

Table G-3 Deleting and Restoring Items

Description Action Event State Object Class

An item is deleted in a page group that is set to retain deleted items

DELETE_ITEM

DELETE

MARKED_FOR_DELETE

ITEM

An item is deleted in a page group that is not set to retain deleted items

DELETE_ITEM

DELETE

PURGED

ITEM

An item in the unpublished state is undeleted (item is either hidden or expired or is set to be published in the future)

UNDELETE_ITEM

UPDATE

NOT_PUBLISHED

ITEM

An item in the published state is undeleted

UNDELETE_ITEM

UPDATE

PUBLISHED

ITEM


Table G-4 lists the actions performed when defining privileges for items and the events raised by those actions.

Table G-4 Defining Item Privileges

Description Action Event State Object Class

Specify item level access privileges

SPECIFY_ITEM_ACL

UPDATE

GENERAL

ITEM

Add user to item ACL

ADD_ITEM_ACL

UPDATE

GENERAL

ITEM

User's privilege is updated on an item

UPDATE_ITEM_ACL

UPDATE

GENERAL

ITEM

Delete user from item ACL

DELETE_ITEM_ACL

UPDATE

GENERAL

ITEM

Choose to inherit security from parent page

INHERIT_ITEM_ACL

UPDATE

GENERAL

ITEM


Table G-5 lists the actions performed when working with item versions and the events raised by those actions.

Table G-5 Item Versioning

Description Action Event State Object Class

A new version of an item is added and is set to be the current version

ADD_ITEM_VERSION

INSERT

PUBLISHED

ITEM

A new version of an item is added but is not set to be the current version

ADD_ITEM_VERSION

INSERT

NOT_PUBLISHED

ITEM

A version of an item is deleted in a page group that is set to retain deleted items

DELETE_ITEM_VERSION

DELETE

MARKED_FOR_DELETE

ITEM

A version of an item is deleted in a site that is not set to retain deleted items

DELETE_ITEM_VERSION

DELETE

PURGED

ITEM

The current version of an item is changed (the previous current version and the new current version are in the published state)

SWITCH_ITEM_VERSION

UPDATE

UNPUBLISHED

ITEM

--

SWITCH_ITEM_VERSION

UPDATE

PUBLISHED

ITEM

The current version of an item is changed (the previous current version and the new current version are in the unpublished state)

SWITCH_ITEM_VERSION

UPDATE

GENERAL

ITEM

--

SWITCH_ITEM_VERSION

UPDATE

NOT_PUBLISHED

ITEM

The current version of an item is changed (the previous current version was in the published state and the new current version is in the unpublished state)

SWITCH_ITEM_VERSION

UPDATE

UNPUBLISHED

ITEM

--

SWITCH_ITEM_VERSION

UPDATE

NOT_PUBLISHED

ITEM

The current version of an item is changed (the previous current version was in the unpublished state and the new current version is in the published state)

SWITCH_ITEM_VERSION

UPDATE

GENERAL

ITEM

--

SWITCH_ITEM_VERSION

UPDATE

PUBLISHED

ITEM


Table G-6 lists the actions performed when working with item approvals and the events raised by those actions.

Table G-6 Item Approvals

Description Action Event State Object Class

An item is added in pending mode

SUBMIT_ITEM_FOR_APPROVAL

INSERT

NOT_PUBLISHED

ITEM

An item is added in draft mode

ADD_DRAFT_ITEM

INSERT

NOT_PUBLISHED

ITEM

A pending item is edited by an approver

EDIT_ITEM_BY_APPROVER

UPDATE

GENERAL

ITEM

An item is approved but is pending approval from the next approver

APPROVE_ITEM_STEP

UPDATE

GENERAL

ITEM

An item is approved by all approvers (the approved item overwrites the current, published version)

APPROVE_ITEM

UPDATE

PUBLISHED

ITEM

An item is approved by all approvers (the approved item becomes the new current version)

APPROVE_ITEM

INSERT

PUBLISHED

ITEM

--

APPROVE_ITEM

UPDATE

UNPUBLISHED

ITEM

An item is approved by all approvers (the approved item becomes a new, but not current version)

APPROVE_ITEM

INSERT

NOT_PUBLISHED

ITEM

An item is updated and submitted for approval

SUBMIT_ITEM_FOR_APPROVAL

UPDATE

NOT_PUBLISHED

ITEM

An item is rejected

REJECT_ITEM

UPDATE

GENERAL

ITEM

A rejected item is resubmitted for approval

SUBMIT_ITEM_FOR_APPROVAL

UPDATE

GENERAL

ITEM

A draft item is updated (attributes such as author, description, and so on are updated)

EDIT_DRAFT_ITEM

UPDATE

GENERAL

ITEM

A draft item is updated (the publish date is updated to publish the item some time in the future)

EDIT_DRAFT_ITEM

UPDATE

UNPUBLISHED

ITEM

A draft item is updated (the publish date is updated to publish the item immediately)

EDIT_DRAFT_ITEM

UPDATE

PUBLISHED

ITEM

A draft item is submitted for approval

SUBMIT_ITEM_FOR_APPROVAL

UPDATE

NOT_PUBLISHED

ITEM

An item is copied into a page where draft items are enabled

COPY_DRAFT_ITEM

INSERT

NOT_PUBLISHED

ITEM

An item is copied to a page and is submitted for approval

SUBMIT_ITEM_FOR_APPROVAL

INSERT

NOT_PUBLISHED

ITEM


G.2 Actions and Events for Pages

Table G-7 lists the actions performed when adding and editing pages and the events raised by those actions.

Table G-7 Adding and Editing Pages

Description Action Event State Object Class

A page is created - there are two messages: one for the page that is added and one for the portlet instance for the default navigation page

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

A page based on a template is created. The template contains one item and one portlet

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

DELETE_PAGEFoot 1 

DELETE

PURGED

PAGE

--

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

A page is renamed. If the root page is renamed there are two messages: one for the page and one for the page group.

RENAME_PAGE

UPDATE

GENERAL

PAGE

A page property is updated (for example the description)

EDIT_PAGE

UPDATE

GENERAL

PAGE

A page is copied (the page contains one portlet instance and one item)

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

COPY_ITEM

INSERT

PUBLISHED

ITEM

--

COPY_ITEM

INSERT

PUBLISHED

ITEM

A page is moved under a different parent

MOVE_PAGE

DELETE

PURGED

PAGE

--

MOVE_PAGE

INSERT

PUBLISHED

PAGE

A page is translated

EDIT_PAGE

UPDATE

GENERAL

PAGE

--

EDIT_PAGE

INSERTFoot 2 

PUBLISHED

PAGE

--

EDIT_PAGE

UPDATE

GENERAL

PAGE

Versioning is enabled or disabled for a page

EDIT_PAGE

UPDATE

GENERAL

PAGE


Footnote 1 As the page designer steps through the wizard, a page is created that includes the default navigation page. However, as soon as it is determined that the page is based on a template, this page is deleted and a new page (based on the template) is created instead.

Footnote 2 The first update is for the default language, the last is for the current translation. The message of interest is the insert for the current translation.

Table G-8 lists the actions performed when deleting pages and the events raised by those actions.

Table G-8 Deleting Pages

Description Action Event State Object Class

A page is deleted (if the page has sub-pages, a message is logged for each deleted sub-page, however no messages are logged for deleted items)

DELETE_PAGE

DELETE

PURGED

PAGE


Table G-9 lists the actions performed when defining privileges for pages and the events raised by those actions.

Table G-9 Defining Page Privileges

Description Action Event State Object Class

ILS is enabled or disabled on a page

UPDATE_PAGE_ACL

UPDATE

GENERAL

PAGE

--

UPDATE_PAGE_ILS

UPDATE

GENERAL

PAGE

A page is displayed to public users

UPDATE_PAGE_ACL

UPDATE

GENERAL

PAGE

--

UPDATE_PAGE_PUBLIC_SETTING

UPDATE

GENERAL

PAGE

A user is added to a page ACL

ADD_PAGE_ACL

UPDATE

GENERAL

PAGE

A user is deleted from a page ACL

DELETE_PAGE_ACL

UPDATE

GENERAL

PAGE

A user's privilege is changed in a page ACL

UPDATE_PAGE_ACL

UPDATE

GENERAL

PAGE

A page is set to inherit its ACL from its parent

INHERIT_PAGE_ACL

UPDATE

GENERAL

PAGE

An ACL is specified at the page level (the page does not inherit its ACL from its parent)

UPDATE_PAGE_ACL

UPDATE

GENERAL

PAGE

--

SPECIFY_PAGE_ACL

UPDATE

GENERAL

PAGE


G.3 Actions and Events for Tabs

Table G-10 lists the actions performed when adding and editing tabs and the events raised by those actions.

Table G-10 Adding and Editing Tabs

Description Action Event State Object Class

A tab is added

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

A tab is added in a region that contains two items

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

DELETE_ITEMFoot 1 

DELETE

PURGED

ITEM

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

DELETE_ITEM

DELETE

PURGED

ITEM

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

A tab is hidden

HIDE_ITEM

UPDATE

UNPUBLISHED

ITEM

A hidden tab is shown

SHOW_ITEM

UPDATE

PUBLISHED

ITEM

A tab is deleted

DELETE_PAGE

DELETE

PURGED

PAGE

--

DELETE_ITEM

DELETE

PURGED

ITEM

A tab is renamed

RENAME_PAGE

UPDATE

GENERAL

PAGE

A tab property is updated (for example, the display name)

EDIT_PAGE

UPDATE

GENERAL

PAGE


Footnote 1 Items on the original page are moved to the tab. So the item is first deleted from the original page and then added to the new tab.

G.4 Actions and Events for Page Groups

Table G-11 lists the actions performed when adding and editing page groups and the events raised by those actions.

Table G-11 Adding and Editing Page Groups

Description Action Event State Object Class

A page group is added

ADD_PAGE_GROUP

INSERT

GENERAL

PAGE_GROUP

A page group is renamed

RENAME_PAGE_GROUP

UPDATE

GENERAL

PAGE_GROUP


Table G-12 lists the actions performed when deleting and purging page groups and the events raised by those actions.

Table G-12 Deleting and Purging Page Groups

Description Action Event State Object Class

A page group is deleted. Messages are not logged for any items or sub-pages.

DELETE_PAGE_GROUP

DELETE

PURGED

PAGE_GROUP

Deleted items are purged from a page group (one message for each item and one message for the actual purge operation)

DELETE_ITEM

DELETE

PURGED

ITEM

--

PURGE_DELETED_ITEM

DELETE

PURGED

PAGE_GROUP

Expired items are purged from a page group (one message for each item and one message for the actual purge operation)

DELETE_ITEM

DELETE

PURGED

ITEM

--

DELETE_ITEM

DELETE

PURGED

ITEM

--

PURGE_EXPIRED_ITEM

DELETE

PURGED

PAGE_GROUP

Choose to not retain deleted items at the page group level, thus purging all existing retained deleted items (one message for each item and one message for the actual purge operation)

DELETE_ITEM

DELETE

PURGED

ITEM

--

PURGE_DELETED_ITEM

DELETE

PURGED

PAGE_GROUP


Table G-13 lists the actions performed when defining privileges for page groups and the events raised by those actions.

Table G-13 Defining Page Group Privileges

Description Action Event State Object Class

A user is added to a page group ACL

ADD_PAGE_GROUP_ACL

UPDATE

GENERAL

PAGE_GROUP

An user's privilege is changed in a page group ACL

UPDATE_PAGE_GROUP_ACL

UPDATE

GENERAL

PAGE_GROUP

A user is deleted from a page group ACL

DELETE_PAGE_GROUP_ACL

UPDATE

GENERAL

PAGE_GROUP


Table G-14 lists the actions performed when installing translations for page groups and the events raised by those actions.

Table G-14 Page Group Translations

Description Action Event State Object Class

A translation is installed

TRANSLATE_PAGE

INSERT

PUBLISHED

PAGE


G.5 Actions and Events for Attributes

Table G-15 lists the actions performed when working with attributes and the events raised by those actions.

Table G-15 Attributes

Description Action Event State Object Class

An attribute is added. The data type of the attribute is stored in the STATE field, for example, DATA_TYPE_TEXT.

ADD_ATTRIBUTE

INSERT

DATA_TYPE_TEXT

ATTRIBUTE

An attribute is updated

EDIT_ATTRIBUTE

UPDATE

DATA_TYPE_TEXT

ATTRIBUTE

An attribute is promoted (the message is the same regardless of how many items use the attribute)

MOVE_ATTRIBUTE

UPDATE

GENERAL

ATTRIBUTE

An attribute is deleted (the message is the same even if there are items using the attribute)

DELETE_ATTRIBUTE

DELETE

DATA_TYPE_TEXT

ATTRIBUTE


G.6 Actions and Events for Item Types

Table G-16 lists the actions performed when working with item types and the events raised by those actions.

Table G-16 Item Types

Description Action Event State Object Class

A custom item type is created

ADD_ITEM_TYPE

INSERT

GENERAL

ITEM_TYPE

An item type is edited and changes are made in the Main tab (if you edit the name, a different message is generated, see following description)

EDIT_ITEM_TYPE

UPDATE

MAIN_TAB

ITEM_TYPE

An item type is renamed

RENAME_ITEM_TYPE

UPDATE

MAIN_TAB

ITEM_TYPE

An attribute is attached to an item type

EDIT_ITEM_TYPE

UPDATE

ATTRIBUTES_TAB

ITEM_TYPE

An attribute is detached from an item type

DETACH_ATTRIBUTE

UPDATE

ATTRIBUTES_TAB

ITEM_TYPE

Attribute default values are updated

EDIT_ITEM_TYPE

UPDATE

ATTRIBUTES_TAB

ITEM_TYPE

A procedure is attached to an item type

EDIT_ITEM_TYPE

UPDATE

PROCEDURES_TAB

ITEM_TYPE

A procedure attached to an item type is edited and new parameters are added

EDIT_ITEM_TYPE

UPDATE

PROCEDURES_TAB

ITEM_TYPE

An item type is promoted

MOVE_ITEM_TYPE

UPDATE

GENERAL

ITEM_TYPE

An item type is deleted (the message is the same even if there are items based on the item type)

DELETE_ITEM_TYPE

DELETE

PURGED

ITEM_TYPE


G.7 Actions and Events for Page Types

Table G-17 lists the actions performed when working with page types and the events raised by those actions.

Table G-17 Page Types

Description Action Event State Object Class

A custom page type is created

ADD_PAGE_TYPE

INSERT

GENERAL

PAGE_TYPE

A page type is edited and changes are made in the Main tab (if you edit the name, a different message is generated, see following description)

EDIT_PAGE_TYPE

UPDATE

MAIN_TAB

PAGE_TYPE

A page type is renamed

RENAME_PAGE_TYPE

UPDATE

MAIN_TAB

PAGE_TYPE

An attribute is attached to a page type

EDIT_PAGE_TYPE

UPDATE

ATTRIBUTES_TAB

PAGE_TYPE

Attribute default values are added

EDIT_PAGE_TYPE

UPDATE

ATTRIBUTES_TAB

PAGE_TYPE

An attribute is detached from a page type

DETACH_ATTRIBUTE

UPDATE

ATTRIBUTES_TAB

PAGE_TYPE

A procedure is attached to a page type

EDIT_PAGE_TYPE

UPDATE

PROCEDURES_TAB

PAGE_TYPE

A procedure attached to a page type is edited and new parameters are added

EDIT_PAGE_TYPE

UPDATE

PROCEDURES_TAB

PAGE_TYPE

A page type is promoted

MOVE_PAGE_TYPE

UPDATE

GENERAL

PAGE_TYPE

A page type is deleted

DELETE_PAGE_TYPE

DELETE

PURGED

PAGE_TYPE


G.8 Actions and Events for Categories

Table G-18 lists the actions performed when working with categories and the events raised by those actions.

Table G-18 Categories

Description Action Event State Object Class

A category is added

ADD_CATEGORY

INSERT

GENERAL

CATEGORY

A category is renamed

RENAME_CATEGORY

UPDATE

GENERAL

CATEGORY

--

RENAME_PAGE

UPDATE

GENERAL

PAGE

A category is edited and changes are made in the Main tab

EDIT_CATEGORY

UPDATE

GENERAL

CATEGORY

An image is attached to a category

EDIT_CATEGORY_IMAGE

UPDATE

GENERAL

CATEGORY

An image is detached from a category

DELETE_CATEGORY_IMAGE

UPDATE

GENERAL

CATEGORY

A category is promoted

MOVE_CATEGORY

UPDATE

GENERAL

CATEGORY

A category is deleted

DELETE_CATEGORY

DELETE

GENERAL

CATEGORY


G.9 Actions and Events for Perspectives

Table G-19 lists the actions performed when working with perspectives and the events raised by those actions.

Table G-19 Perspectives

Description Action Event State Object Class

A perspective is added

ADD_PERSPECTIVE

INSERT

GENERAL

PERSPECTIVE

A perspective is renamed

RENAME_PERSPECTIVE

UPDATE

GENERAL

PERSPECTIVE

--

RENAME_PAGE

UPDATE

GENERAL

PAGE

A perspective is edited and changes are made in the Main tab

EDIT_PERSPECTIVE

UPDATE

GENERAL

PERSPECTIVE

An image is attached to a perspective

EDIT_PERSPECTIVE_IMAGE

UPDATE

GENERAL

PERSPECTIVE

An image is detached from a perspective

DELETE_PERSPECTIVE_IMAGE

UPDATE

GENERAL

PERSPECTIVE

A perspective is promoted

MOVE_PERSPECTIVE

UPDATE

GENERAL

PERSPECTIVE

A perspective is deleted

DELETE_PERSPECTIVE

DELETE

GENERAL

PERSPECTIVE


G.10 Actions and Events for Templates

Table G-20 lists the actions performed when working with templates and the events raised by those actions.

Table G-20 Templates

Description Action Event State Object Class

A page based on a template is createdFoot 1 

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

DELETE_PAGE

DELETE

PURGED

PAGE

--

ADD_PAGE

INSERT

PUBLISHED

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

ADD_ITEM

INSERT'

PUBLISHED

ITEM

A page is edited to be based on a template, resulting in content from one region being deleted

DELETE_ITEM

DELETE

PURGED

ITEM

--

EDIT_PAGE

UPDATE

GENERAL

PAGE

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

--

ADD_ITEM

INSERT

PUBLISHED

ITEM

An item is added to a template. There is a message for the item on the template itself and then additional messages for each time the item is replicated on pages based on the template

ADD_ITEM

INSERT

PUBLISHED

ITEM

An item is deleted from a template. There is a message for the item on the template itself and then additional messages (with different page IDs and page group IDs) for each time the item is deleted from pages based on the template.

DELETE_ITEM

DELETE

PURGED

ITEM

A page is detached from a template. One or more messages, as shown, is produced for each item and portlet that was on the template

COPY_ITEM

INSERT

PUBLISHED

ITEM

A template, on which one or more pages are based, is deleted.Foot 2 

DELETE_PAGE

DELETE

PURGED

PAGE

--

COPY_ITEM

INSERT

PUBLISHED

ITEM

--

COPY_ITEM

INSERT

PUBLISHED

ITEM

--

DELETE_ITEM

DELETE

PURGED

ITEM

--

COPY_ITEM

INSERT

PUBLISHED

ITEM


Footnote 1 The first two inserts are for the page creation. The next delete is because that page gets deleted when you attach the template. The next insert is for the new page based on the template. The following two item inserts are for item replication from the template. There will be an insert event for every item and portlet on the template.

Footnote 2 The delete event is for the deletion of the actual template. The first two inserts are when the replicated items on a page based on the template are copied over. There will be an insert message for each item on the template. The following delete and insert events are for a non-replicated item on the page based on the template. There will be a delete and corresponding insert event for every non-replicated item on the page.