Package org.opencms.workflow
Interface CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- All Known Implementing Classes:
CmsDefaultPublishResourceFormatter.AlreadyPublishedValidator
,CmsDefaultPublishResourceFormatter.BlockingLockedValidator
,CmsDefaultPublishResourceFormatter.NoPermissionsValidator
- Enclosing class:
- CmsDefaultPublishResourceFormatter
public static interface CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Validator which can exclude some resources from publishing and supplies a status object for the excluded resources.
-
Method Summary
Modifier and TypeMethodDescriptionfindInvalidResources
(Set<CmsResource> input) Finds the resources which should be excluded.getInfoForResource
(CmsResource resource) Gets the status information for an excluded resource.
-
Method Details
-
findInvalidResources
Finds the resources which should be excluded.- Parameters:
input
- the set of input resources- Returns:
- the excluded resources
-
getInfoForResource
Gets the status information for an excluded resource.- Parameters:
resource
- the resource for which to get the status- Returns:
- the status for the resource
- Throws:
CmsException
- if something goes wrong
-