Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

IPublishablePresentationTemplateManager.ExpirePresentationTemplate Method 

Expires an IPresentationTemplate so it is no longer published.

void ExpirePresentationTemplate(
   IPresentationTemplate presentationTemplate
);

Parameters

presentationTemplate
The Presentation Template to expire; cannot be null.

Remarks

This method removes the published content for a Presentation Template from the publish target of Publisher. After a Presentation Template is expired, UnexpirePresentationTemplate can be used to re-publish the item. Presentation Templates cannot be expired multiple times consecutively.

Exceptions

Exception Type Condition
ContentSecurityException The user does not have permission to expire the Presentation Template.
InvalidOperationException The the Presentation Template has not been persisted or has already been removed.
ContentException The method call resulted in a Publisher exception. For example, expiring a Presentation Template multiple times or expiring a Presentation Template that has not been published will cause this exception.
SoapException There was a communication problem during the execution of the remote method call.

See Also

IPublishablePresentationTemplateManager Interface | Plumtree.Remote.PRC.Content.PresentationTemplate Namespace