|
DODS 7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface User
| 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 |
|---|
java.lang.String getName()
void restrictQuery(Query query)
throws AccessEvalException
query - The DODS Query object which will be executed
AccessEvalException
boolean hasDOCopyAccess(GenericDO obj)
throws AccessEvalException
obj - The object which will be copied
AccessEvalException
boolean hasDOGetAccess(GenericDO obj)
throws AccessEvalException
obj - The object which will be read
AccessEvalException
boolean hasDOGetVersionAccess(GenericDO obj)
throws AccessEvalException
obj - The object which version will be read
AccessEvalException
boolean hasDOIsReadOnlyAccess(GenericDO obj)
throws AccessEvalException
obj - The object which readonly attribute will be read
AccessEvalException
boolean hasDOMakeReadOnlyAccess(GenericDO obj)
throws AccessEvalException
obj - The object which readonly attribute will be set to true
AccessEvalException
boolean hasDOMakeReadWriteAccess(GenericDO obj)
throws AccessEvalException
obj - The object which readonly attribute will be set to false
AccessEvalException
boolean hasDODeleteAccess(GenericDO obj)
throws AccessEvalException
obj - The object which will be deleted
AccessEvalException
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
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
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
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
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
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
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
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
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
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
boolean hasDOCreateAccess(java.lang.String className)
throws AccessEvalException
className - The name of the class which will be instanciated
AccessEvalException
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
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
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
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
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
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
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
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
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
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
boolean hasQueryAccess(java.lang.String className)
throws AccessEvalException
className - The name of the class which will be queried for DO's
AccessEvalException
boolean hasQueryFindAccess(GenericDO obj)
throws AccessEvalException
obj - The DO which would be found with a query
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
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 attributecmp_op - Compare operator
AccessEvalException
|
DODS 7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||