br.com.arsmachina.authentication.controller
Interface PermissionController

All Superinterfaces:
br.com.arsmachina.controller.Controller<Permission,Integer>, br.com.arsmachina.controller.ReadableController<Permission,Integer>, br.com.arsmachina.controller.WriteableController<Permission,Integer>
All Known Implementing Classes:
PermissionControllerImpl

public interface PermissionController
extends br.com.arsmachina.controller.Controller<Permission,Integer>

Controller definition for Permission.

Author:
Thiago H. de Paula Figueiredo

Method Summary
 Permission findByName(String name)
          Returns the permission with the given name or null if there is no such one.
 
Methods inherited from interface br.com.arsmachina.controller.ReadableController
countAll, findAll, findAll, findByExample, findById, findByIds, reattach
 
Methods inherited from interface br.com.arsmachina.controller.WriteableController
delete, delete, evict, isPersistent, save, saveOrUpdate, update
 

Method Detail

findByName

Permission findByName(String name)
Returns the permission with the given name or null if there is no such one.

Parameters:
name - a String.
Returns:
a Permission or null.


Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.