|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
getName()
Get the name of the user for output. |
boolean |
hasDOCopyAccess(GenericDO obj)
Decide whether the User is allowed to copy the DO |
boolean |
hasDOCreateAccess(java.lang.String className)
Decide whether the User is allowed to create the DO of a certain class |
boolean |
hasDODeleteAccess(GenericDO obj)
Decide whether the User is allowed to delete the DO |
boolean |
hasDOGetAccess(GenericDO obj)
Decide whether the User is allowed to read the existance of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
boolean value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
byte value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
byte[] value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
double value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
float value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
int value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
long value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
java.lang.Object value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
short value)
Decide whether the User is allowed to read an attribute with a certain value of the DO |
boolean |
hasDOGetAttrAccess(GenericDO obj,
java.lang.String attrName,
java.lang.String type,
java.lang.String value)
Decide whether the User is allowed to read an attribute with a certain value/type of the DO, used for enums |
boolean |
hasDOGetVersionAccess(GenericDO obj)
Decide whether the User is allowed to read the version of the DO |
boolean |
hasDOIsReadOnlyAccess(GenericDO obj)
Decide whether the User is allowed to read the readOnly attribute of the DO |
boolean |
hasDOMakeReadOnlyAccess(GenericDO obj)
Decide whether the User is allowed to set the readOnly attribute = true of the DO |
boolean |
hasDOMakeReadWriteAccess(GenericDO obj)
Decide whether the User is allowed to set the readOnly attribute = false of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
boolean oldValue,
boolean newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
byte[] oldValue,
byte[] newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
byte oldValue,
byte newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
double oldValue,
double newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
float oldValue,
float newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
int oldValue,
int newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
long oldValue,
long newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
java.lang.Object oldValue,
java.lang.Object newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
short oldValue,
short newValue)
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO |
boolean |
hasDOSetAttrAccess(GenericDO obj,
java.lang.String attrName,
java.lang.String oldType,
java.lang.String oldValue,
java.lang.String newType,
java.lang.String newValue)
Decide whether the User is allowed to set an attribute with a certain old value/type and a certain new value/type of the DO, used for enums |
boolean |
hasQueryAccess(java.lang.String className)
Decide whether the User is allowed to query the DO's of a certain class |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
boolean queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
byte[] queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
byte queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
double queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
float queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
int queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
long queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
java.lang.Object queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryAttrAccess(java.lang.String className,
java.lang.String attrName,
short queryValue,
java.lang.String cmp_op)
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator |
boolean |
hasQueryFindAccess(GenericDO obj)
Decide whether the User is allowed to find the DO during a query |
void |
restrictQuery(Query query)
Restrict the Query for DODS Query access using SQL |
Method Detail |
public java.lang.String getName()
public void restrictQuery(Query query) throws AccessEvalException
query
- The DODS Query object which will be executed
AccessEvalException
public boolean hasDOCopyAccess(GenericDO obj) throws AccessEvalException
obj
- The object which will be copied
AccessEvalException
public boolean hasDOGetAccess(GenericDO obj) throws AccessEvalException
obj
- The object which will be read
AccessEvalException
public boolean hasDOGetVersionAccess(GenericDO obj) throws AccessEvalException
obj
- The object which version will be read
AccessEvalException
public boolean hasDOIsReadOnlyAccess(GenericDO obj) throws AccessEvalException
obj
- The object which readonly attribute will be read
AccessEvalException
public boolean hasDOMakeReadOnlyAccess(GenericDO obj) throws AccessEvalException
obj
- The object which readonly attribute will be set to true
AccessEvalException
public boolean hasDOMakeReadWriteAccess(GenericDO obj) throws AccessEvalException
obj
- The object which readonly attribute will be set to false
AccessEvalException
public boolean hasDODeleteAccess(GenericDO obj) throws AccessEvalException
obj
- The object which will be deleted
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, java.lang.String type, java.lang.String value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be readtype
- The current type of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, java.lang.Object value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, boolean value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, byte value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, short value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, int value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, long value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, float value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, double value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOGetAttrAccess(GenericDO obj, java.lang.String attrName, byte[] value) throws AccessEvalException
obj
- The object which will be readattrName
- The name of the attribute which will be read ("packages.class:attrname")value
- The current value of the attribute which will be read
AccessEvalException
public boolean hasDOCreateAccess(java.lang.String className) throws AccessEvalException
className
- The name of the class which will be instanciated
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, java.lang.String oldType, java.lang.String oldValue, java.lang.String newType, java.lang.String newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittenoldType
- The current type of the attribute which will be overwrittennewValue
- The new value of the attribute which will be setnewType
- The new type of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, java.lang.Object oldValue, java.lang.Object newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, boolean oldValue, boolean newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, byte oldValue, byte newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, short oldValue, short newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, int oldValue, int newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, long oldValue, long newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, float oldValue, float newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, double oldValue, double newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasDOSetAttrAccess(GenericDO obj, java.lang.String attrName, byte[] oldValue, byte[] newValue) throws AccessEvalException
obj
- The object which will be modifiedattrName
- The name of the attribute which will be set ("packages.class:attrname")oldValue
- The current value of the attribute which will be overwrittennewValue
- The new value of the attribute which will be set
AccessEvalException
public boolean hasQueryAccess(java.lang.String className) throws AccessEvalException
className
- The name of the class which will be queried for DO's
AccessEvalException
public boolean hasQueryFindAccess(GenericDO obj) throws AccessEvalException
obj
- The DO which would be found with a query
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, java.lang.Object queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, boolean queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, byte queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, short queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, int queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, long queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, float queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, double queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
public boolean hasQueryAttrAccess(java.lang.String className, java.lang.String attrName, byte[] queryValue, java.lang.String cmp_op) throws AccessEvalException
className
- The name of the class which will be queried for DO'sattrName
- The name of the attribute which will be queried ("packages.class:attrname")queryValue
- The query value for the attribute
AccessEvalException
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |