Package | Description |
---|---|
com.xpert.core.crud | |
com.xpert.core.exception | |
com.xpert.security.bean |
Modifier and Type | Method and Description |
---|---|
void |
AbstractBusinessObject.save(T object)
Saves entity:
calls "validate(object)"
calls "validateUniqueFields(object)"
check if any excpetion occurred
if entity id is null then calls "save", if not, calls "merge"
|
abstract void |
AbstractBusinessObject.validate(T object)
Your own logic to validate the object
|
Modifier and Type | Class and Description |
---|---|
class |
UniqueFieldException |
Modifier and Type | Method and Description |
---|---|
void |
BusinessException.check()
throws a BusinessException if getExceptions() is not empty
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityLoginBean.validate(User user)
Executed after user query in database
|
Copyright © 2015. All rights reserved.