|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PermissionContextDaoGeneric<T extends PermissionContext>
Used to create, save, retrieve, update and delete PermissionContext objects from persistent storage
| Method Summary | |
|---|---|
PermissionContext |
findByName(String name)
Returns a PermissionContext by names, or null if the PermissionContext is not found. |
SortedSet<PermissionContext> |
loadAll()
Loads all PermissionContexts defined in the system, sorted by sortOrder |
PermissionContext |
loadByName(String name)
loads an PermissionContext object, or throws exception if PermissionContext with that name is not found |
PermissionContext |
newPermissionContext()
returns a new PermissionContext instance |
| Methods inherited from interface org.janux.bus.persistence.GenericDaoWrite |
|---|
attachClean, clear, delete, evict, flush, merge, refresh, save, saveOrUpdate, update |
| Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnly |
|---|
count, findByCriteria, load |
| Method Detail |
|---|
SortedSet<PermissionContext> loadAll()
PermissionContext findByName(String name)
null if the PermissionContext is not found.
name - the PermissionContext name
PermissionContext loadByName(String name)
throws EntityNotFoundException
name - a name that uniquely identifies this PermissionContext
EntityNotFoundException - if a PermissionContext object with that name is not foundPermissionContext newPermissionContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||