|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.accesscontrol.attributes.AbstractTypedCheck<T>
T - the type the check is for@Entity public abstract class AbstractTypedCheck<T>
is an entity representing a check against a given type.
| Constructor Summary | |
|---|---|
AbstractTypedCheck()
|
|
| Method Summary | |
|---|---|
abstract AbstractTypedCheck<T> |
checkFromCommand(Command c)
builds a new instance from the given Command. |
java.lang.Long |
getId()
returns the primary key. |
abstract boolean |
isValid(AbstractValue<?> value)
checks whether the given value is valid for the check. |
abstract AbstractTypedCheck<T> |
setCheckFromCommand(Command c)
sets the values for the check from a given Command and
returns the check with the newly set check. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.torweg.pulse.bundle.JDOMable |
|---|
deserializeToJDOM |
| Constructor Detail |
|---|
public AbstractTypedCheck()
| Method Detail |
|---|
public final java.lang.Long getId()
public abstract boolean isValid(AbstractValue<?> value)
value - the value to check
true, if and only if the value passed the check.
Otherwise false.public abstract AbstractTypedCheck<T> checkFromCommand(Command c)
Command.
c - the command
public abstract AbstractTypedCheck<T> setCheckFromCommand(Command c)
Command and
returns the check with the newly set check.
c - the command
setCheckFromCommand(org.torweg.pulse.service.request.Command)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||