com.groiss.org
Interface RightCheck
public interface RightCheck
This interface is designed to provide non-standard permission control for objects. By implementing this
interface your classes may specialize how permissions are checked/implemented (e.g. depending on the state
of an instance).
|
Method Summary |
boolean |
hasRight(User user,
Right right)
Checks if the passed user has the passed right for this object |
hasRight
boolean hasRight(User user,
Right right)
- Checks if the passed user has the passed right for this object
- Parameters:
user - the userright - the right
- Returns:
- true if the user is authorized, false otherwise
@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.