|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IProcessingPublicationInfo
IProcessingPublicationInfo interface defines common publication properties contained in processing bag, It needs to be implemented by publishable documents.
The PublicationInfoHelper implements IPublicationInfo, is used by the document plugins to provide
accessors for the publication properties.
| Method Summary | |
|---|---|
java.lang.String |
getDeliveryRuleExpression()
Get Publication level delivery rule expression. |
boolean |
getDeliveryRuleResults(int scopeIDWithinScopeBatch)
Returns the delivery result for the specified scope id DeliveryRuleResults is a PropertyBag of ( SI_SCOPE_ID, Boolean ), where the Boolean value is the recipient-level delivery rule result for recipients of specified scope on this document. |
boolean |
getDeliverySkipped()
Gets the delivery skipped flag. |
IFormatInfos |
getFormatInfos()
Returns the multiple formats info for the publication. |
boolean |
getIsDynamicRecipientsScopeBatch()
Returns a boolean to indicate if this scopebatch scopes is dynamic recipients scopes. |
boolean |
getPublicationKeepSavedData()
Returns the flag of publication keep saved data. |
long |
getPublicationLastState()
Returns the publication last state. |
IScopeBatchScopes |
getScopeBatchScopes()
Returns a set of scopes represented by this scope batch. |
int |
getSourceDocumentID()
Returns the source document's ID associated with this scope batch master document |
boolean |
isDeliverEmptyDocument()
Returns whether to delivery empty document. |
boolean |
isDeliverIfAlertIsTrue()
Get Publication level delivery rule alert setting. |
void |
removeDeliveryRuleResults(int scopeIDWithinScopeBatch)
Removes delivery rule results for a givenb scope. |
void |
setDeliverEmptyDocument(boolean bDeliveryEmptyDocument)
Sets the rule of whether to delivery empty document. |
void |
setDeliverIfAlertIsTrue(boolean value)
Set Publication level delivery rule alert setting. |
void |
setDeliveryRuleExpression(java.lang.String deliveryRuleExpression)
Set Publication level delivery rule expression. |
void |
setDeliveryRuleResults(int scopeIDWithinScopeBatch,
boolean bDeliverySkipped)
setDeliveryRuleResults will set the delivery boolean value for the given scope id DeliveryRuleResults is a PropertyBag of ( SI_SCOPE_ID, Boolean ), where the Boolean value is the recipient-level delivery rule result for recipients of specified scope on this document. |
void |
setDeliverySkipped(boolean bDeliverySkipped)
Sets the delivery skipped flag. |
void |
setIsDynamicRecipientsScopeBatch(boolean dynamicRecipientScopes)
Sets boolean value to indicate if the scopebatch scopes is dynamic recipients scopes. |
void |
setPublicationKeepSavedData(boolean bKeepSavedData)
Set the flag of publication keep saved data. |
void |
setPublicationLastState(long lPublicationLastSavedState)
Sets publication last state |
void |
setSourceDocumentID(int value)
Set the source document id associated with this scope batch master document |
| Method Detail |
|---|
java.lang.String getDeliveryRuleExpression()
Get Publication level delivery rule expression.
String containing the expression of the local delivery rule.
void setDeliveryRuleExpression(java.lang.String deliveryRuleExpression)
throws SDKException
Set Publication level delivery rule expression.
type - A String containing local delivery rule expression.
SDKExceptionboolean isDeliverIfAlertIsTrue()
Get Publication level delivery rule alert setting.
String containing the expression of the local delivery rule alert setting.
void setDeliverIfAlertIsTrue(boolean value)
throws SDKException
Set Publication level delivery rule alert setting.
type - A String containing local delivery rule alert setting.
SDKExceptionboolean isDeliverEmptyDocument()
Returns whether to delivery empty document.
true if the deliver empty document, false otherwise.void setDeliverEmptyDocument(boolean bDeliveryEmptyDocument)
Sets the rule of whether to delivery empty document.
bDeliveryEmptyDocument - true if the deliver empty document, false otherwise.
boolean getDeliverySkipped()
throws SDKException
Gets the delivery skipped flag.
When processing plugins set this to true on the global delivery rule document InfoObject to specify that this publication
should not be run.
boolean indicating whether skip delivery. Defaults to 0.
SDKException - This is thrown if the process is unsuccessful.void setDeliverySkipped(boolean bDeliverySkipped)
Sets the delivery skipped flag.
When processing plugins set this to 1 on the global delivery rule document InfoObject to specify that this publication
should not be run.
bDeliverySkipped - An boolean indicating indicating whether skip delivery.
boolean getDeliveryRuleResults(int scopeIDWithinScopeBatch)
throws SDKException
Returns the delivery result for the specified scope id
DeliveryRuleResults is a PropertyBag of ( SI_SCOPE_ID, Boolean ), where the Boolean value is the recipient-level delivery rule result for recipients of specified scope on this document.
scopeIDWithinScopeBatch - A int represents the scope ID.
boolean indicating whether skip delivery.
SDKException - This is thrown if the process is unsuccessful.
void setDeliveryRuleResults(int scopeIDWithinScopeBatch,
boolean bDeliverySkipped)
setDeliveryRuleResults will set the delivery boolean value for the given scope id
DeliveryRuleResults is a PropertyBag of ( SI_SCOPE_ID, Boolean ), where the Boolean value is the recipient-level delivery rule result for recipients of specified scope on this document.
scopeIDWithinScopeBatch - An int indicating the scope id of the current scopebatch.bDeliverySkipped - An boolean when true means to skip delivery for the recipients of the specified scope.void removeDeliveryRuleResults(int scopeIDWithinScopeBatch)
Removes delivery rule results for a givenb scope.
DeliveryRuleResults is a PropertyBag of ( SI_SCOPE_ID, Boolean ), where the Boolean value is the recipient-level delivery rule result for recipients of specified scope on this document.
scopeIDWithinScopeBatch - An int indicating which delivery result value to be removed.
boolean getPublicationKeepSavedData()
throws SDKException
Returns the flag of publication keep saved data.
Boolean; this means that the processing plug-ins should not fetch data from the database; the InfoView/CMC code will set this on the publication instance when re-running it, and the workflow engine will set it on the scope batch document before it spawns the scope batch document job.
boolean indicating whether to keep saved data.
SDKException - This is thrown if the process is unsuccessful.void setPublicationKeepSavedData(boolean bKeepSavedData)
Set the flag of publication keep saved data.
Boolean; this means that the processing plug-ins should not fetch data from the database; the InfoView/CMC code will set this on the publication instance when re-running it, and the workflow engine will set it on the scope batch document before it spawns the scope batch document job.
bKeepSavedData - An boolean indicating indicating whether skip delivery.
long getPublicationLastState()
throws SDKException
Returns the publication last state.
Publication last state is used by publishing service to record the last state of the publication processing life cycle.
long indicating the last state.
SDKException - This is thrown if the process is unsuccessful.void setPublicationLastState(long lPublicationLastSavedState)
Sets publication last state
lPublicationLastSavedState - An long indicating the last state of the publication processing.IFormatInfos getFormatInfos()
Returns the multiple formats info for the publication.
Publication job servers now support exporting multiple report formats in one scheduling process. At publication design time, fill in all exported formats with their options. At publication scheduling phase, the job server will create artifacts for each requested formats.
IFormatInfos collection.
IScopeBatchScopes getScopeBatchScopes()
throws SDKException
Returns a set of scopes represented by this scope batch.
IScopeBatchScopes denotes the scopes in the scope batch.
SDKExceptionboolean getIsDynamicRecipientsScopeBatch()
Returns a boolean to indicate if this scopebatch scopes is dynamic recipients scopes.
boolean, true means is dynamic recipients scopes, false means BOE principals scopes
void setIsDynamicRecipientsScopeBatch(boolean dynamicRecipientScopes)
throws SDKException
Sets boolean value to indicate if the scopebatch scopes is dynamic recipients scopes.
dynamicRecipientScopes - true - Dynamic recipients scopes. false - BOE principals scopes
SDKExceptionint getSourceDocumentID()
Returns the source document's ID associated with this scope batch master document
int containing the id of the source document.
void setSourceDocumentID(int value)
throws SDKException
Set the source document id associated with this scope batch master document
type - An int containing the id of the source document.
SDKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||