|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.ar.batch.report.CustomerLoadBatchErrors
public class CustomerLoadBatchErrors
Contains a set of errors while attempting to run a batch of AR Customer Load entries.
Constructor Summary | |
---|---|
CustomerLoadBatchErrors()
Creates a new CustomerLoadBatchErrors object, with empty internal content. |
|
CustomerLoadBatchErrors(CustomerLoadBatchError error)
|
|
CustomerLoadBatchErrors(List<CustomerLoadBatchError> errors)
Constructs a CustomerLoadBatchErrors with the specified List of CustomerLoadBatchError objects as the starting content. |
Method Summary | |
---|---|
void |
addAll(CustomerLoadBatchErrors otherErrors)
|
void |
addError(CustomerLoadBatchError error)
|
void |
addError(String customerName,
String propertyName,
Class<?> propertyClass,
String value,
String description)
|
void |
addErrors(List<CustomerLoadBatchError> errors)
|
int |
getCompaniesWithErrors()
|
Set<String> |
getCompanyNames()
Returns the companyName's that have errors in this list. |
List<CustomerLoadBatchError> |
getErrorsByCompany(String companyName)
Returns the list of CustomerLoadBatchError objects for the given companyName. |
Set<String> |
getErrorStrings()
Returns a string error for each error, suitable to go into some other error container. |
int |
getTotalErrors()
|
boolean |
isEmpty()
Returns true if there are no elements (errors) in this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomerLoadBatchErrors()
public CustomerLoadBatchErrors(CustomerLoadBatchError error)
public CustomerLoadBatchErrors(List<CustomerLoadBatchError> errors)
errors
- A List of CustomerLoadBatchError objects, which handles nulls andMethod Detail |
---|
public void addAll(CustomerLoadBatchErrors otherErrors)
public void addError(CustomerLoadBatchError error)
public void addError(String customerName, String propertyName, Class<?> propertyClass, String value, String description)
public void addErrors(List<CustomerLoadBatchError> errors)
public Set<String> getCompanyNames()
public List<CustomerLoadBatchError> getErrorsByCompany(String companyName)
companyName
- The companyName you want errors for.
public boolean isEmpty()
public Set<String> getErrorStrings()
public int getCompaniesWithErrors()
public int getTotalErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |