|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Syndicator
Represents a WCM Syndicator. This interface allows users to enable, disable,
update and monitoring a Syndicator.
A Syndicator is retrieved from the SyndcationService.
| Method Summary | |
|---|---|
DocumentLibrary[] |
getLibraries(Workspace workspace)
Returns an array of document libraries which are currently being syndicated by this Syndicator. |
java.lang.String |
getName()
Returns the name of this syndicator. |
DocumentIdIterator |
getPendingItems()
Retrieves the items that are pending syndication for this Syndicator. |
SyndicationStatus |
getStatus()
Returns the SyndicationStatus of this
Syndicator. |
boolean |
isEnabled()
Returns true if this Syndicator is enabled,
false if not. |
boolean |
rebuild()
Trigger a full rebuild of the Syndicator. |
void |
setEnabled(boolean enabled,
Workspace workspace)
Set true |
boolean |
update()
Trigger an update of the Syndicator. |
| Methods inherited from interface com.ibm.workplace.wcm.api.Item |
|---|
getCreationDate, getDescription, getIdentity, getModifiedDate, getTitle |
| Methods inherited from interface com.ibm.portal.Localized |
|---|
getLocales |
| Method Detail |
|---|
SyndicationStatus getStatus()
SyndicationStatus of this
Syndicator.
SyndicationStatus of this SyndicatorDocumentLibrary[] getLibraries(Workspace workspace)
Syndicator.
workspace - the workspace of the current user calling this method
void setEnabled(boolean enabled,
Workspace workspace)
true to enable this Syndicator. Otherwise
false to disable this Syndicator. An enabled
syndicator can trigger syndication events such as updates and rebuilds.
Trying to send a update to a disabled syndicator will throw a
SyndicationNotEnabledException.
- Parameters:
enabled - true to enable this Syndicatorworkspace - the workspace of the current user setting
this flag.- Since:
- 6.1
boolean isEnabled()
true if this Syndicator is enabled,
false if not.
true if this Syndicator is enabled,
false if not.java.lang.String getName()
getName in interface ItemgetName in interface WCMApiObject
boolean rebuild()
throws SyndicationNotEnabledException,
SyndicationDeploymentException
Syndicator.
This will effectively send through all the items in the selected
syndication libraries.
true if the rebuild command was sent successfully
and queued for syndication. This means that the request was made
successfully, and there is no existing or outstanding updates
for the current syndication pair. false if rebuild
command failed. This will be because there is an existing or
outstanding update on the current syndication/subscriber pair.
SyndicationNotEnabledException - if the Subcriber/Syndicator isn't
enabled
SyndicationDeploymentException - if the Syndicator or Subscriber
couldn't send the rebuild request
boolean update()
throws SyndicationNotEnabledException,
SyndicationDeploymentException
Syndicator.
This will send only the updates which have happened between now and the
last syndication run.
true if the update command was sent successfully
queued for syndication. This means that the request was
made successfully, and there is no existing or outstanding
updates for the current syndication pair. false if
update command failed because there is an existing or outstanding
update on the current syndication/subscriber pair.
SyndicationNotEnabledException - if the Subcriber/Syndicator isn't enabled
SyndicationDeploymentException - if the Syndicator or Subscriber couldn't send the update request
to the other machineDocumentIdIterator getPendingItems()
This will be the items that have been updated since the last syndication run.
DocumentIdIterator of the pending documents yet to be Syndicated for this Syndicator
SyndicationRuntimeException - if there is an error retrieving the pending items for this Syndicator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||