|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class encapsulates the access control decision for an object array.
This is used to provide access control at various levels as result objects
are built.
Supported API: false
Extendable: false
Field Summary | |
static String |
FILTER
Label for the attribute; Filter for processing multiple rows. |
Method Summary | |
WhereExpression |
buildAccessCondition(Vector a_tableInfos,
boolean a_useOuterJoin)
Build WHERE condtions for the specified class and the current principal. |
boolean |
checkAccess(Object a_object)
Check access of the object. |
boolean |
checkAccess(Object[] a_objects)
Check access of all objects in the array. |
void |
checkQuery(StatementSpec a_statementSpec)
Supported API: false |
FilterResultProcessor |
getFilter()
Gets the value of the attribute: FILTER. |
Vector |
getItemBuilders(Vector a_tableInfos,
ResultBuilder a_resultBuilder,
int a_itemOffset)
Retrun a Vector of ItemBuilders that will be used to retrieve Access Control related objects. |
ItemBuilder |
getViewItemBuilder(ClassInfo a_classInfo,
String a_alias)
Retrun a ItemBuilders that will be used to retrieve Access Control related objects. |
boolean |
isItemBuilderProvided()
Supported API: false |
Field Detail |
public static final String FILTER
Method Detail |
public FilterResultProcessor getFilter() throws WTException
WTException
public boolean checkAccess(Object a_object) throws PersistenceException
a_object
-
PersistenceException
public boolean checkAccess(Object[] a_objects) throws PersistenceException
a_objects
-
PersistenceException
public WhereExpression buildAccessCondition(Vector a_tableInfos, boolean a_useOuterJoin) throws PersistenceException
a_tableInfos
- a_useOuterJoin
-
PersistenceException
public Vector getItemBuilders(Vector a_tableInfos, ResultBuilder a_resultBuilder, int a_itemOffset) throws PersistenceException
a_tableInfos
- Vector of concrete TableExpression instances to use to create the Access Control itemsa_resultBuilder
- instance used to create the Access Control itemsa_itemOffset
- The current offset where the items will be placed in the results.
PersistenceException
public ItemBuilder getViewItemBuilder(ClassInfo a_classInfo, String a_alias)
a_classInfo
- a_alias
-
public void checkQuery(StatementSpec a_statementSpec) throws PersistenceException
a_statementSpec
-
PersistenceException
public boolean isItemBuilderProvided()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |