|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AccessControllerAdapter
wt.pds.CompoundAccessController
Supported API: false
Extendable: false
Field Summary | |
private static String |
ACCESS_CONTROLLER_DISPLAY
|
private AccessController |
accessController
|
private static String |
CLASSNAME
|
static boolean |
DEBUG
|
private static DebugWriter |
LOG
|
private int |
maxCount
|
private static ClassInfo |
PERSISTABLE_CLASS_INFO
|
private static String |
RESOURCE
|
Fields inherited from class wt.pds.AccessControllerAdapter |
NOOP_ACCESS_CONTROLLER |
Fields inherited from interface wt.pds.AccessController |
FILTER |
Constructor Summary | |
CompoundAccessController(AccessController a_accessController)
Supported API: false |
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. |
void |
checkQuery(StatementSpec a_statementSpec)
Supported API: false |
Vector |
getItemBuilders(Vector a_tableInfos,
ResultBuilder a_resultBuilder,
int a_itemOffset)
Return a Vector of ItemBuilders that will be used to retrieve Access Control related objects. |
int |
getMaxCount()
Gets the value of the attribute: maxCount. |
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 |
void |
setMaxCount(int a_MaxCount)
Sets the value of the attribute: maxCount. |
Methods inherited from class wt.pds.AccessControllerAdapter |
checkAccess, getFilter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int maxCount
private AccessController accessController
public static final boolean DEBUG
private static final DebugWriter LOG
private static final ClassInfo PERSISTABLE_CLASS_INFO
private static final String ACCESS_CONTROLLER_DISPLAY
Constructor Detail |
public CompoundAccessController(AccessController a_accessController) throws WTPropertyVetoException
a_accessController
-
WTPropertyVetoException
Method Detail |
public int getMaxCount()
public void setMaxCount(int a_MaxCount)
a_MaxCount
- public boolean checkAccess(Object a_object) throws PersistenceException
checkAccess
in interface AccessController
checkAccess
in class AccessControllerAdapter
a_object
-
PersistenceException
public Vector getItemBuilders(Vector a_tableInfos, ResultBuilder a_resultBuilder, int a_itemOffset) throws PersistenceException
getItemBuilders
in interface AccessController
getItemBuilders
in class AccessControllerAdapter
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)
getViewItemBuilder
in interface AccessController
getViewItemBuilder
in class AccessControllerAdapter
a_classInfo
- a_alias
-
public void checkQuery(StatementSpec a_statementSpec) throws PersistenceException
checkQuery
in interface AccessController
checkQuery
in class AccessControllerAdapter
a_statementSpec
-
PersistenceException
public WhereExpression buildAccessCondition(Vector a_tableInfos, boolean a_useOuterJoin) throws PersistenceException
buildAccessCondition
in interface AccessController
buildAccessCondition
in class AccessControllerAdapter
a_tableInfos
- a_useOuterJoin
-
PersistenceException
public boolean isItemBuilderProvided()
isItemBuilderProvided
in interface AccessController
isItemBuilderProvided
in class AccessControllerAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |