Package org.opencms.workflow
Class CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator
java.lang.Object
org.opencms.workflow.CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator
- All Implemented Interfaces:
CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Enclosing class:
- CmsDefaultPublishResourceFormatter
public class CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator
extends Object
implements CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Excludes resources which have already been published.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindInvalidResources
(Set<CmsResource> resources) Finds the resources which should be excluded.getInfoForResource
(CmsResource resource) Gets the status information for an excluded resource.
-
Constructor Details
-
AlreadyPublishedValidator
public AlreadyPublishedValidator()
-
-
Method Details
-
findInvalidResources
Description copied from interface:CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Finds the resources which should be excluded.- Specified by:
findInvalidResources
in interfaceCmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Parameters:
resources
- the set of input resources- Returns:
- the excluded resources
- See Also:
-
getInfoForResource
Description copied from interface:CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Gets the status information for an excluded resource.- Specified by:
getInfoForResource
in interfaceCmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Parameters:
resource
- the resource for which to get the status- Returns:
- the status for the resource
- Throws:
CmsException
- if something goes wrong- See Also:
-