|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.AccessCalculator
public class AccessCalculator
Helps with calculating access rights to fields and classes, depending on the roles defined for the user and the access rights masks set in the metadata.
Constructor Summary | |
---|---|
AccessCalculator()
|
Method Summary | |
---|---|
boolean |
calculate(PropertyMetaModel<?> pmm)
|
boolean |
isEditable()
Returns T if the component is to be made editable. |
boolean |
isViewable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessCalculator()
Method Detail |
---|
public boolean isEditable()
public boolean isViewable()
public boolean calculate(PropertyMetaModel<?> pmm)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |