|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final java.lang.String copyright
Method Detail |
public boolean hasErrors() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic boolean hasLocationErrors() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic boolean hasGlobalErrors() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic int getTotalErrorCount() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic int getGlobalErrorCount() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic int getLocationErrorCount() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic GlobalValidationError getGlobalErrorForAttribute(java.lang.String path) throws PIMInternalException
path
- the path of the attribute to check for errors
PIMInternalException
- If an internal error occurspublic GlobalValidationError[] getGlobalErrors() throws PIMInternalException
PIMInternalException
- If an internal error occurspublic LocationValidationError 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 occurspublic LocationValidationError[] 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 |