org.ikasan.framework.security.dao
Interface AuthorityDao

All Known Implementing Classes:
HibernateAuthorityDao

public interface AuthorityDao

Data Access interface for Authority instances

Author:
Ikasan Development Team

Method Summary
 List<Authority> getAuthorities()
          Retrieves all Authoritys known to the system
 Authority getAuthority(String authority)
          Retrieves a specific Authority by name
 void save(Authority newAuthority)
          Saves a new Authority to persistent storage
 

Method Detail

getAuthorities

List<Authority> getAuthorities()
Retrieves all Authoritys known to the system

Returns:
List of Authoritys

getAuthority

Authority getAuthority(String authority)
Retrieves a specific Authority by name

Parameters:
authority -
Returns:
named Authority or null if it does not exist

save

void save(Authority newAuthority)
Saves a new Authority to persistent storage

Parameters:
newAuthority -


Copyright © 2007-2012 Ikasan. All Rights Reserved.