|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationErrors
Read-only interface providing static ValidationError methods
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
int |
getGlobalErrorCount()
Returns the number of global errors |
GlobalValidationError |
getGlobalErrorForAttribute(java.lang.String path)
Returns the validation errors for a global attribute with a given path |
GlobalValidationError[] |
getGlobalErrors()
Returns the validation errors for all global attributes |
int |
getLocationErrorCount()
Returns the number of location attribute errors |
LocationValidationError |
getLocationErrorForAttribute(Category location,
java.lang.String path)
Returns the location validation error for an attribute with a given category and path |
LocationValidationError[] |
getLocationErrors()
Returns the validation errors for all location attributes |
int |
getTotalErrorCount()
Returns the total error count |
boolean |
hasErrors()
Returns true if there are errors, otherwise false |
boolean |
hasGlobalErrors()
Returns true if there are global attribute errors, otherwise false |
boolean |
hasLocationErrors()
Returns true if there are Location attribute errors, otherwise false |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
boolean hasErrors() throws PIMInternalException
PIMInternalException
- If an internal error occursboolean hasLocationErrors() throws PIMInternalException
PIMInternalException
- If an internal error occursboolean hasGlobalErrors() throws PIMInternalException
PIMInternalException
- If an internal error occursint getTotalErrorCount() throws PIMInternalException
PIMInternalException
- If an internal error occursint getGlobalErrorCount() throws PIMInternalException
PIMInternalException
- If an internal error occursint getLocationErrorCount() throws PIMInternalException
PIMInternalException
- If an internal error occursGlobalValidationError getGlobalErrorForAttribute(java.lang.String path) throws PIMInternalException
path
- the path of the attribute to check for errors
PIMInternalException
- If an internal error occursGlobalValidationError[] getGlobalErrors() throws PIMInternalException
PIMInternalException
- If an internal error occursLocationValidationError getLocationErrorForAttribute(Category location, java.lang.String path) throws PIMInternalException
location
- the Category to look withinpath
- the path of the attribute to check
PIMInternalException
- If an internal error occursLocationValidationError[] getLocationErrors() throws PIMInternalException
PIMInternalException
- If an internal error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |