| java.lang.Object org.deegree.security.drm.model.Right
Right | public class Right (Code) | | A Right instance encapsulates a SecurableObject , a
RightType and optional constraints which restrict it's applicability.
For example, one instance of a RightSet may be the 'access'-Right to a geographic
dataset restricted to a certain area and weekdays. The situation (requested area and current
time) is coded as a Feature object.
author: Markus Schneider version: $Revision: 10496 $ |
Right | public Right(SecurableObject object, RightType type)(Code) | | Creates a new Right -instance (with no constraints).
Parameters: object - Parameters: type - |
Right | public Right(SecurableObject object, RightType type, Filter constraints)(Code) | | Creates a new Right -instance.
Parameters: object - Parameters: type - Parameters: constraints - null means that no constraints are defined |
applies | public boolean applies(SecurableObject object)(Code) | | true if the Right applies on the given SecurableObject and in unrestricted manner (w/o constraints). Parameters: object - |
getConstraints | public Filter getConstraints()(Code) | | Returns the restrictions (the parameters) of this Right .
null, if no constraints are defined |
|
|