java.lang.Object | +--com.ibm.commerce.accesscontrol.policymanager.AccessClause
This class encapsulates the parameters returned from the getAccessClause() of the Policy Manager implementation. The accessClauseString carries the 'where' clause of the SQL query, and the flag prefilteringSuccessful indicates whether the prefiltering operation could be completed successfully or not.
Constructor Summary | |
---|---|
AccessClause() Constructs the AccessClause instance |
Method Summary | |
---|---|
java.lang.String |
getAccessClauseString() Returns the 'where' clause of the generated query. |
java.util.ArrayList |
getParameterList() Insert the method's description here. |
boolean |
isPostfilteringNeeded() Indicates whether or not post filtering should be done on the result of the access clause string. |
boolean |
isPrefilteringSuccessful() Returns the flag indicating the result of the prefiltering operation |
void |
postfilteringNeeded(boolean bNeeded) Sets the flag indicating if post-filtering is neeeded. |
void |
prefilteringSuccessful(boolean bSuccess) Sets the flag indicating the result of the Prefiltering operation |
void |
setAccessClauseString(java.lang.String strClauseString) Sets the 'where' clause String, generated out of prefiltering process |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public AccessClause()
Method Detail |
---|
public java.lang.String getAccessClauseString()
isPrefilteringSuccessful()
public java.util.ArrayList getParameterList()
public boolean isPostfilteringNeeded()
public boolean isPrefilteringSuccessful()
public void postfilteringNeeded(boolean bNeeded)
bNeeded
- True if post-filtering is needed, i.e., the result
of the access clause query string is a super-set of the allowed resources;
false if otherwisepublic void prefilteringSuccessful(boolean bSuccess)
public void setAccessClauseString(java.lang.String strClauseString)