public class ContentEventFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
void |
begin(java.lang.String workspaceName)
This method generates a begin workspace content event.
|
void |
begin(java.lang.String workspaceName,
java.lang.String lockingPolicy)
This method generates a begin workspace content event.
|
void |
commit(ContentData data)
This method generates a commit content event.
|
void |
end(ContentData data)
This method generates an content context event
to end and cleanup of all runtime task groups.
|
void |
end(java.lang.String workspaceName)
This method generates a cancel workspace content context event.
|
static ContentEventFactory |
getInstance()
This is a static constructor for this class.
|
void |
postPublish(ContentData data)
This method generates a post-publish content event.
|
void |
publish(ContentData data)
This method generates a publish content event.
|
void |
release(ContentData data)
This method generates a release content event.
|
void |
resynchronizeAllWorkspaces()
This method indicates that data in the base schema has changed and that all workspaces
need to be resynchronized.
|
void |
resynchronizeWorkspace(java.lang.String workspaceName)
This method allows the data in a particular workspace to be resynchronized.
|
void |
rollback(ContentData data)
This method generates a rollback content event.
|
void |
synchronize(ContentData data)
This method generates a synchronize workspace content context event.
|
public static final java.lang.String COPYRIGHT
public static ContentEventFactory getInstance()
public void begin(java.lang.String workspaceName) throws ECException
workspaceName
- The workspace name.ECException
- This can be thrown by the listener when the event is handled.public void begin(java.lang.String workspaceName, java.lang.String lockingPolicy) throws ECException
workspaceName
- The workspace name.lockingPolicy
- The locking policy.ECException
- This can be thrown by the listener when the event is handled.public void commit(ContentData data) throws ECException
data
- The content data contain workspace and task group info.ECException
- This can be thrown by the listener when the event is handled.public void rollback(ContentData data) throws ECException
data
- The content data contain workspace and task group info.ECException
- This can be thrown by the listener when the event is handled.public void release(ContentData data) throws ECException
data
- The content data contain workspace and task group info.ECException
- This can be thrown by the listener when the event is handled.public void publish(ContentData data) throws ECException
data
- The content data contain workspace and task group info.ECException
- This can be thrown by the listener when the event is handled.public void postPublish(ContentData data) throws ECException
data
- The content data contain workspace and task group info.ECException
- This can be thrown by the listener when the event is handled.public void end(java.lang.String workspaceName) throws ECException
workspaceName
- The workspace name.ECException
- This can be thrown by the listener when the event is handled.public void end(ContentData data) throws ECException
data
- The content data contain workspace and task group info.ECException
- This can be thrown by the listener when the event is handled.public void synchronize(ContentData data) throws ECException
data
- The ContentData containing workspace and task group identifiers.ECException
- This can be thrown by the listener when the event is handled.public void resynchronizeWorkspace(java.lang.String workspaceName) throws ECException
workspaceName
- The workspace that caused the change. If the change
is because of a change in the base then workspaceName
will be null.ECException
- This is thrown if there is a problem with the SQL/
used to mark the workspaces or a problem obtaining the database connection to do so.
public void resynchronizeAllWorkspaces() throws ECException
ECException
- This is thrown if there is a problem with the SQL
used
to mark the workspaces or a problem obtaining the database connection to do so.