org.janux.bus.security
Interface PermissionContextDao

All Superinterfaces:
DataAccessObject

Deprecated. use PermissionContextDaoGeneric

public interface PermissionContextDao
extends DataAccessObject

Used to create, save, retrieve, update and delete PermissionContext objects from persistent storage

Since:
0.1
Author:
Philippe Paravicini

Method Summary
 PermissionContext findByName(String name)
          Deprecated. Returns a PermissionContext by names, or null if the PermissionContext is not found.
 SortedSet<PermissionContext> loadAll()
          Deprecated. Loads all PermissionContexts defined in the system, sorted by sortOrder
 PermissionContext loadByName(String name)
          Deprecated. loads an PermissionContext object, or throws exception if PermissionContext with that name is not found
 PermissionContext newPermissionContext()
          Deprecated. returns a new PermissionContext instance
 
Methods inherited from interface org.janux.bus.persistence.DataAccessObject
delete, merge, refresh, save, saveOrUpdate, update
 

Method Detail

loadAll

SortedSet<PermissionContext> loadAll()
Deprecated. 
Loads all PermissionContexts defined in the system, sorted by sortOrder


findByName

PermissionContext findByName(String name)
Deprecated. 
Returns a PermissionContext by names, or null if the PermissionContext is not found.

Parameters:
name - the PermissionContext name

loadByName

PermissionContext loadByName(String name)
                             throws EntityNotFoundException
Deprecated. 
loads an PermissionContext object, or throws exception if PermissionContext with that name is not found

Parameters:
name - a name that uniquely identifies this PermissionContext
Throws:
EntityNotFoundException - if a PermissionContext object with that name is not found

newPermissionContext

PermissionContext newPermissionContext()
Deprecated. 
returns a new PermissionContext instance



Copyright © 2005-2013 Janux. All Rights Reserved.