Novell exteNd
Director 5.2 API

com.sssw.fw.security.api
Interface EbiAclQuery

All Superinterfaces:
com.sssw.fw.persist.jdbc.api.EbiJdbcQuery, EbiQuery, EbiQueryBase, Serializable

public interface EbiAclQuery
extends com.sssw.fw.persist.jdbc.api.EbiJdbcQuery

Objects that implement this interface represent queries that are used to search for Acl entries maintained by the Security Manager.


Field Summary
static String EL_ACL_QUERY
          The element type for ACL Query
 
Method Summary
 void orderByElementUUID(boolean asc)
          Put the element UUID field into the Order By list for this query.
 void orderByPermissionID(boolean asc)
          Put the permission ID field into the Order By list for this query.
 void selectElementTypeID()
          Selects the Element Type ID property.
 void selectElementUUID()
          Select the element UUID field into the select list for this query.
 void selectPermissionID()
          Select the permissionID field into the select list for this query.
 void selectPermissionUUID(String tablename)
          Select the Permission UUID field into the select list for this query.
 void selectPrincipalName()
          Select the Principal Name field into the select list for this query.
 void selectPrincipalType()
          Select the Principal Type field into the select list for this query.
 void setJoin()
          Specify whether the query needs to do a join or not.
 EbiQueryExpression whereElementUUID(String elementIID, int op, boolean not)
          Specify the search condition of "where element UUID..."
 EbiQueryExpression whereElementUUIDIn(String[] values, boolean not)
          Specify the search condition of "where element UUID in..."
 EbiQueryExpression wherePermissionID(int permID, int op, boolean not)
          Specify the search condition of "where permission ID..."
 EbiQueryExpression wherePermissionIDIn(int[] values, boolean not)
          Specify the search condition of "where permission ID in..."
 EbiQueryExpression wherePrincipalName(String value, int op, boolean not)
          Specify the seach condition of "where Principal Name (Full Qualified)..."
 EbiQueryExpression wherePrincipalNameIn(String[] values, boolean not)
          Specify the seach condition of "where Principal Name (Full Qualified) in..."
 
Methods implemented from interface com.sssw.fw.persist.jdbc.api.EbiJdbcQuery
addJoin, addJoin, addOrderBy, addSelect, clear, clear, getDistinct, getEscapeProcessing, getFetchDirection, getFetchSize, getInParameters, getMaxFieldSize, getMaxRows, getPrimaryAlias, getPrimaryTable, getQueryTimeout, getTables, getWhere, selectTableAll, setDistinct, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPrimaryTable, setPrimaryTable, setQueryTimeout, setWhere, whereColumnBetween, whereColumnBetween, whereColumnBetween, whereColumnBetween, whereColumnBetween, whereColumnBetween, whereColumnBetween, whereColumnBetween, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnIn, whereColumnNull, whereColumnOp, whereColumnOp, whereColumnOp, whereColumnOp, whereColumnOp, whereColumnOp, whereColumnOp, whereColumnOp, whereColumnOp, whereExists
 
Methods implemented from interface com.sssw.fw.api.EbiQuery
allSelected, deselectAll, getOrderBys, getQueryString, getSelects, removeOrderBys, selectAll
 

Field Detail

EL_ACL_QUERY

public static final String EL_ACL_QUERY
The element type for ACL Query
Method Detail

whereElementUUID

public EbiQueryExpression whereElementUUID(String elementIID,
                                           int op,
                                           boolean not)
Specify the search condition of "where element UUID..."
Parameters:
value - the value for the condition
op - the operator (see EbiMetaDataQuery)
not - whether to negate the condition
Returns:
the constructed query expression

whereElementUUIDIn

public EbiQueryExpression whereElementUUIDIn(String[] values,
                                             boolean not)
Specify the search condition of "where element UUID in..."
Parameters:
values - the values for the IN condition
not - whether to negate the condition
Returns:
the query expression

wherePermissionID

public EbiQueryExpression wherePermissionID(int permID,
                                            int op,
                                            boolean not)
Specify the search condition of "where permission ID..."
Parameters:
value - the value for the condition
op - the operator (see EbiMetaDataQuery)
not - whether to negate the condition
Returns:
the constructed query expression

wherePermissionIDIn

public EbiQueryExpression wherePermissionIDIn(int[] values,
                                              boolean not)
Specify the search condition of "where permission ID in..."
Parameters:
values - the values for the IN condition
not - whether to negate the condition
Returns:
the query expression

wherePrincipalName

public EbiQueryExpression wherePrincipalName(String value,
                                             int op,
                                             boolean not)
Specify the seach condition of "where Principal Name (Full Qualified)..."
Parameters:
value - the value for the condition
op - the operator (see EbiMetaDataQuery)
not - whether to negate the condition
Returns:
the query expression

wherePrincipalNameIn

public EbiQueryExpression wherePrincipalNameIn(String[] values,
                                               boolean not)
Specify the seach condition of "where Principal Name (Full Qualified) in..."
Parameters:
values - the values for the IN condition
not - whether to negate the condition
Returns:
the query expression

setJoin

public void setJoin()
Specify whether the query needs to do a join or not.

selectElementUUID

public void selectElementUUID()
Select the element UUID field into the select list for this query.

selectPermissionID

public void selectPermissionID()
Select the permissionID field into the select list for this query.

selectPrincipalName

public void selectPrincipalName()
Select the Principal Name field into the select list for this query.

selectPrincipalType

public void selectPrincipalType()
Select the Principal Type field into the select list for this query.

selectPermissionUUID

public void selectPermissionUUID(String tablename)
Select the Permission UUID field into the select list for this query.

selectElementTypeID

public void selectElementTypeID()
Selects the Element Type ID property.

orderByElementUUID

public void orderByElementUUID(boolean asc)
Put the element UUID field into the Order By list for this query.
Parameters:
asc - the sorting order; true for ascending; false for descending

orderByPermissionID

public void orderByPermissionID(boolean asc)
Put the permission ID field into the Order By list for this query.
Parameters:
asc - the sorting order; true for ascending; false for descending

Novell exteNd
Director 5.2 API