wt.dataops.containermove.processors
Class MoveGatheringDataValidator
java.lang.Object
wt.dataops.containermove.processors.MoveGatheringDataValidator
- All Implemented Interfaces:
- DataValidator
- public class MoveGatheringDataValidator
- extends Object
- implements DataValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
RESOURCE_SVR
private static final String RESOURCE_SVR
- See Also:
- Constant Field Values
myTableProcessor
protected JSTableProcessor myTableProcessor
globalMessageSeverity
protected int globalMessageSeverity
MoveGatheringDataValidator
MoveGatheringDataValidator(JSTableProcessor tableProcessor)
validate
public List validate(List data,
Locale locale)
- Description copied from interface:
DataValidator
- Validates list of persistable objects. Each DataValidity object should have the message property set.
- Specified by:
validate
in interface DataValidator
- Parameters:
data
- - List of persistables.locale
- - locale to be used to get localized messages.
- Returns:
- List of ordered DataValidity objects. Each DataValidity object represents the validity status
of the corresponding associated persistable in the data list.
userHasModifyPermission
private boolean userHasModifyPermission(WTPrincipal user,
WTCollection objs)
throws WTException
- Throws:
WTException
anyCheckedOutVersions
private boolean anyCheckedOutVersions(WTCollection objs)
throws WTException
- Throws:
WTException
hasLibraryContainer
private boolean hasLibraryContainer(Object obj)
hasProjectContainer
private boolean hasProjectContainer(Object obj)