|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.content.federated.events.ContentEventFactory
public class ContentEventFactory
A Factory class which helps create the content management events. All events generated by the CM system should be generated by this class.
Method Summary | |
---|---|
static ContentConfigEvent |
createContentConfigEvent(ContentContext context,
String repository,
String action,
String target)
Create a ContentConfigEvent |
static ContentCreateEvent |
createContentCreateEvent(ContentContext context,
String repository,
String nodeId,
String nodeName,
String path,
String status,
String contentType)
Create a ContentCreateEvent |
static ContentDeleteEvent |
createContentDeleteEvent(ContentContext context,
String repository,
String nodeId,
String nodeName,
String path,
String status,
String contentType)
Create a ContentDeleteEvent |
static ContentReIndexEvent |
createContentReIndexeEvent(ContentContext context,
String repositoryName,
String path,
String typeId,
String action)
Create a ContentCreateEvent |
static ContentUpdateEvent |
createContentUpdateEvent(ContentContext context,
String repository,
String nodeId,
String nodeName,
String path,
String status,
String destination,
String action,
String contentType)
Create a ContentUpdateEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ContentCreateEvent createContentCreateEvent(ContentContext context, String repository, String nodeId, String nodeName, String path, String status, String contentType) throws RepositoryException
context
- The ContentContext object. Note that if the context does not have a request object in it,
the event will be generated with anonymous credentials.repository
- The name of the repositorynodeId
- The ID of the nodenodeName
- The name of the nodepath
- The path of the nodestatus
- The workflow status of the node - would be either PUBLISHED or RETIREDcontentType
- The object class name associated with the node, if any.
RepositoryException
public static ContentConfigEvent createContentConfigEvent(ContentContext context, String repository, String action, String target) throws RepositoryException
context
- The ContentContext object. Note that if the context does not have a request object in it,
the event will be generated with anonymous credentials.repository
- The name of the repositoryaction
- The action for the Config eventtarget
- Optional parameter which indicates the target on which the event is applied [Could be repositoryName, objectClassID or workflowId]
RepositoryException
public static ContentUpdateEvent createContentUpdateEvent(ContentContext context, String repository, String nodeId, String nodeName, String path, String status, String destination, String action, String contentType) throws RepositoryException
context
- The ContentContext object. Note that if the context does not have a request object in it,
the event will be generated with anonymous credentials.repository
- The name of the repositorynodeId
- The ID of the nodenodeName
- The name of the nodepath
- The path of the node IDstatus
- The workflow status of the node - would be either PUBLISHED or RETIREDdestination
- The destination node idaction
- The action takencontentType
- The object class name associated with the node, if any.
RepositoryException
public static ContentDeleteEvent createContentDeleteEvent(ContentContext context, String repository, String nodeId, String nodeName, String path, String status, String contentType) throws RepositoryException
context
- The ContentContext object. Note that if the context does not have a request object in it,
the event will be generated with anonymous credentials.repository
- The name of the repositorynodeId
- The ID of the nodenodeName
- The name of the nodepath
- The path of the node IDstatus
- The workflow status of the node - would be either PUBLISHED or RETIREDcontentType
- The object class name associated with the node, if any.
RepositoryException
public static ContentReIndexEvent createContentReIndexeEvent(ContentContext context, String repositoryName, String path, String typeId, String action) throws RepositoryException
context
- The ContentContext object. Note that if the context does not have a request object in it,
the event will be generated with anonymous credentials.repositoryName
- The name of the repositorypath
- The path (if any) to indextypeId
- The type (if any) to indexaction
- The index action -- either ContentReIndexEvent.RE_INDEX_PATH or ContentReIndexEvent.RE_INDEX_TYPE
RepositoryException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |