DODS 7.3 API

org.webdocwf.dods.access
Interface User


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(com.lutris.appserver.server.sql.Query query)
          Restrict the Query for DODS Query access using SQL
 

Method Detail

getName

java.lang.String getName()
Get the name of the user for output. Used for Exception printing.

Returns:
The printable name of the user.

restrictQuery

void restrictQuery(com.lutris.appserver.server.sql.Query query)
                   throws AccessEvalException
Restrict the Query for DODS Query access using SQL

Parameters:
query - The DODS Query object which will be executed
Throws:
AccessEvalException

hasDOCopyAccess

boolean hasDOCopyAccess(GenericDO obj)
                        throws AccessEvalException
Decide whether the User is allowed to copy the DO

Parameters:
obj - The object which will be copied
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAccess

boolean hasDOGetAccess(GenericDO obj)
                       throws AccessEvalException
Decide whether the User is allowed to read the existance of the DO

Parameters:
obj - The object which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetVersionAccess

boolean hasDOGetVersionAccess(GenericDO obj)
                              throws AccessEvalException
Decide whether the User is allowed to read the version of the DO

Parameters:
obj - The object which version will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOIsReadOnlyAccess

boolean hasDOIsReadOnlyAccess(GenericDO obj)
                              throws AccessEvalException
Decide whether the User is allowed to read the readOnly attribute of the DO

Parameters:
obj - The object which readonly attribute will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOMakeReadOnlyAccess

boolean hasDOMakeReadOnlyAccess(GenericDO obj)
                                throws AccessEvalException
Decide whether the User is allowed to set the readOnly attribute = true of the DO

Parameters:
obj - The object which readonly attribute will be set to true
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOMakeReadWriteAccess

boolean hasDOMakeReadWriteAccess(GenericDO obj)
                                 throws AccessEvalException
Decide whether the User is allowed to set the readOnly attribute = false of the DO

Parameters:
obj - The object which readonly attribute will be set to false
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDODeleteAccess

boolean hasDODeleteAccess(GenericDO obj)
                          throws AccessEvalException
Decide whether the User is allowed to delete the DO

Parameters:
obj - The object which will be deleted
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           java.lang.String type,
                           java.lang.String value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value/type of the DO, used for enums

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
type - The current type of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           java.lang.Object value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           boolean value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           byte value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           short value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           int value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           long value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           float value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           double value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOGetAttrAccess

boolean hasDOGetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           byte[] value)
                           throws AccessEvalException
Decide whether the User is allowed to read an attribute with a certain value of the DO

Parameters:
obj - The object which will be read
attrName - The name of the attribute which will be read ("packages.class:attrname")
value - The current value of the attribute which will be read
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOCreateAccess

boolean hasDOCreateAccess(java.lang.String className)
                          throws AccessEvalException
Decide whether the User is allowed to create the DO of a certain class

Parameters:
className - The name of the class which will be instanciated
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

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
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

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
oldType - The current type of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
newType - The new type of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           java.lang.Object oldValue,
                           java.lang.Object newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           boolean oldValue,
                           boolean newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           byte oldValue,
                           byte newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           short oldValue,
                           short newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           int oldValue,
                           int newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           long oldValue,
                           long newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           float oldValue,
                           float newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           double oldValue,
                           double newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasDOSetAttrAccess

boolean hasDOSetAttrAccess(GenericDO obj,
                           java.lang.String attrName,
                           byte[] oldValue,
                           byte[] newValue)
                           throws AccessEvalException
Decide whether the User is allowed to set an attribute with a certain old value and a certain new value of the DO

Parameters:
obj - The object which will be modified
attrName - The name of the attribute which will be set ("packages.class:attrname")
oldValue - The current value of the attribute which will be overwritten
newValue - The new value of the attribute which will be set
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAccess

boolean hasQueryAccess(java.lang.String className)
                       throws AccessEvalException
Decide whether the User is allowed to query the DO's of a certain class

Parameters:
className - The name of the class which will be queried for DO's
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryFindAccess

boolean hasQueryFindAccess(GenericDO obj)
                           throws AccessEvalException
Decide whether the User is allowed to find the DO during a query

Parameters:
obj - The DO which would be found with a query
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           java.lang.Object queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           boolean queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           byte queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           short queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           int queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           long queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           float queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           double queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

hasQueryAttrAccess

boolean hasQueryAttrAccess(java.lang.String className,
                           java.lang.String attrName,
                           byte[] queryValue,
                           java.lang.String cmp_op)
                           throws AccessEvalException
Decide whether the User is allowed to query DO's for an attribute with a certain query-value and comparison operator

Parameters:
className - The name of the class which will be queried for DO's
attrName - The name of the attribute which will be queried ("packages.class:attrname")
queryValue - The query value for the attribute
cmp_op - Compare operator
Returns:
Whether the User has the right to perform this task
Throws:
AccessEvalException

DODS 7.3 API