Package com.emc.d2fs.interfaces
Interface IValidationService
- All Superinterfaces:
 ID2fsService
Validation services.  Provides validation of object, name and attribute value constraints.
- 
Method Summary
Modifier and TypeMethodDescriptioncheckAttributesConstraints(Context context, String objectId, List<Attribute> attributes) Check attributes constraintscheckObjectConstraints(Context context, String objectId) Check document constraintsbooleancheckUniqueness(Context context, String objectId, String configurationName) Check uniqueness configuration for specified documentMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote 
- 
Method Details
- 
checkUniqueness
boolean checkUniqueness(Context context, String objectId, String configurationName) throws D2fsException Check uniqueness configuration for specified document- Parameters:
 context-Contextobject containing informations about client/sessionobjectId- String value of document idconfigurationName- String value of configuration name- Returns:
 - true if document responds to uniqueness constraint
 - Throws:
 D2fsException- Since:
 - 4.0.1
 
 - 
checkAttributesConstraints
List<Attribute> checkAttributesConstraints(Context context, String objectId, List<Attribute> attributes) throws D2fsException Check attributes constraints- Parameters:
 context-Contextobject containing informations about client/sessionobjectId- String value of document idattributes-Attributelist of document attributes- Returns:
 Attributelist of constraints- Throws:
 D2fsException- Since:
 - 4.0.1
 
 - 
checkObjectConstraints
Check document constraints- Parameters:
 context-Contextobject containing informations about client/sessionobjectId- String value of document id- Returns:
 Attributelist of constraints- Throws:
 D2fsException- Since:
 - 4.0.1
 
 
 -