org.nuxeo.ecm.platform.publishing
Class PublishingServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.publishing.PublishingServiceImpl
- All Implemented Interfaces:
- Serializable, PublishingService, Adaptable, Component, Extensible
public class PublishingServiceImpl
- extends DefaultComponent
- implements PublishingService
Publishing service implementation.
- Author:
- Julien Anguenot
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final ComponentName NAME
prefixed
protected PublishingValidDateFieldDesc prefixed
validatorsRuleDesc
protected ValidatorsRuleDesc validatorsRuleDesc
PublishingServiceImpl
public PublishingServiceImpl()
getValidatorsRule
public ValidatorsRule getValidatorsRule()
throws PublishingValidatorException
- Description copied from interface:
PublishingService
- Returns the registered section validators rule.
- Specified by:
getValidatorsRule in interface PublishingService
- Returns:
- a validators rule
- Throws:
PublishingValidatorException
getValidDateFieldName
public String getValidDateFieldName()
- Description copied from interface:
PublishingService
- Returns the field name used to specify the date at which the publication
should occur.
- Specified by:
getValidDateFieldName in interface PublishingService
- Returns:
- the field name.
getValidDateFieldSchemaPrefixName
public String getValidDateFieldSchemaPrefixName()
- Description copied from interface:
PublishingService
- Returns the schema name where the field used to specify the date at which
the publication should occur exists.
- Specified by:
getValidDateFieldSchemaPrefixName in interface PublishingService
- Returns:
- the schema name.
getValidatorsFor
public String[] getValidatorsFor(DocumentModel dm)
throws PublishingValidatorException
- Description copied from interface:
PublishingService
- Computes the list of publishing validators given the document model of
the document just published.
- Specified by:
getValidatorsFor in interface PublishingService
- Parameters:
dm - : a Nuxeo Core document model. (the document that just has been
published)
- Returns:
- a list of principal names.
- Throws:
PublishingValidatorException - TODO
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
- Overrides:
registerContribution in class DefaultComponent
unregisterContribution
public void unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor)
- Overrides:
unregisterContribution in class DefaultComponent
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.