Package org.opencms.workflow
Class CmsDefaultPublishResourceFormatter.BlockingLockedValidator
java.lang.Object
org.opencms.workflow.CmsDefaultPublishResourceFormatter.BlockingLockedValidator
- All Implemented Interfaces:
CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
- Enclosing class:
- CmsDefaultPublishResourceFormatter
public class CmsDefaultPublishResourceFormatter.BlockingLockedValidator
extends Object
implements CmsDefaultPublishResourceFormatter.I_PublishResourceValidator
Validator which checks if resources are locked by someone else.
-
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
-
BlockingLockedValidator
public BlockingLockedValidator()
-
-
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:
-