|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines an expression that can be used to specify a "table"
in a SQL FROM clause.
Supported API: true
Extendable: false
Field Summary | |
static String |
ACCESS_CONTROL_REQUIRED
Label for the attribute; Indicates if Access Control is required for SELECT columns that reference this TableExpression in the FROM clause. |
static String |
ADVANCED_QUERY
Label for the attribute; Indicates if the expression uses advanced query capabilities. |
static String |
ADVANCED_QUERY_ENABLED
Label for the attribute; Indicates if advanced query capabilities are enabled. |
static String |
BIND_PARAMETER
Label for the attribute; Returns a bind parameter for this expression (if supported). |
static String |
DESCENDANTS_INCLUDED
Label for the attribute; Indicates if descendant need to be included this TableExpression in the FROM clause. |
static String |
TABLE_CLASS
Label for the attribute; The associated class for the table expression (if supported). |
Method Summary | |
void |
appendClassAttribute(ClassAttribute a_classAttribute)
Supported API: false |
Object |
clone()
Supported API: false |
void |
columnsReset()
Supported API: false |
Object |
getBindParameter()
Gets the value of the attribute: BIND_PARAMETER. |
ItemBuilder |
getColumnAccessItemBuilder(Class a_class,
int a_fromIndex)
Supported API: false |
String |
getExpression(AttributeMapInfo a_attributeMapInfo,
AccessControllerProcessor a_accessControllerProcessor,
String a_alias,
int a_outerJoinType,
boolean a_fullPersistableTable,
boolean a_useBind)
Return string representation of this expression. |
JoinClause |
getJoinCondition(String a_alias,
boolean a_fullPersistable,
Class a_tableClass)
Supported API: false |
String |
getJoinCondition(String a_alias,
Class a_tableClass,
boolean a_fullPersistable)
Supported API: false |
Class |
getTableClass()
Gets the value of the attribute: TABLE_CLASS. |
Vector |
getTables()
Returns a Vector of TableExpressions corresponding to this TableExpression. |
Class[] |
getValidClasses()
Returns Class[] for tableClass and included Interfaces (If Supported) Supported API: false |
boolean |
isAccessControlled()
Indicates if the TableExpression involves AccessControlled classes. |
boolean |
isAccessControlRequired()
Gets the value of the attribute: ACCESS_CONTROL_REQUIRED. |
boolean |
isAdvancedQuery()
Gets the value of the attribute: ADVANCED_QUERY. |
boolean |
isAdvancedQueryEnabled()
Gets the value of the attribute: ADVANCED_QUERY_ENABLED. |
boolean |
isAutoNavigate()
Supported API: false |
boolean |
isDescendantsIncluded()
Gets the value of the attribute: DESCENDANTS_INCLUDED. |
boolean |
isUseViewTableAlias()
Supported API: false |
void |
setAccessControlRequired(boolean a_AccessControlRequired)
Sets the value of the attribute: ACCESS_CONTROL_REQUIRED. |
void |
setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
Sets the value of the attribute: ADVANCED_QUERY_ENABLED. |
void |
setDescendantsIncluded(boolean a_DescendantsIncluded)
Sets the value of the attribute: DESCENDANTS_INCLUDED. |
Field Detail |
public static final String TABLE_CLASS
public static final String BIND_PARAMETER
public static final String ACCESS_CONTROL_REQUIRED
public static final String DESCENDANTS_INCLUDED
public static final String ADVANCED_QUERY
public static final String ADVANCED_QUERY_ENABLED
Method Detail |
public Class getTableClass()
public Object getBindParameter() throws WTException
WTException
public boolean isAccessControlRequired()
public void setAccessControlRequired(boolean a_AccessControlRequired)
a_AccessControlRequired
- public boolean isDescendantsIncluded()
public void setDescendantsIncluded(boolean a_DescendantsIncluded)
a_DescendantsIncluded
- public boolean isAdvancedQuery() throws WTException
WTException
public boolean isAdvancedQueryEnabled()
public void setAdvancedQueryEnabled(boolean a_AdvancedQueryEnabled)
a_AdvancedQueryEnabled
- public Vector getTables() throws QueryException
QueryException
public String getExpression(AttributeMapInfo a_attributeMapInfo, AccessControllerProcessor a_accessControllerProcessor, String a_alias, int a_outerJoinType, boolean a_fullPersistableTable, boolean a_useBind) throws WTException
a_attributeMapInfo
- Attribute information to use for building the expressiona_accessControllerProcessor
- AccessContoller to use for building the expressiona_alias
- a_outerJoinType
- a_fullPersistableTable
- a_useBind
-
WTException
public boolean isAccessControlled() throws WTException
WTException
public boolean isAutoNavigate() throws WTException
WTException
public String getJoinCondition(String a_alias, Class a_tableClass, boolean a_fullPersistable) throws WTException
a_alias
- a_tableClass
- a_fullPersistable
-
WTException
public ItemBuilder getColumnAccessItemBuilder(Class a_class, int a_fromIndex) throws PersistenceException
a_class
- a_fromIndex
-
PersistenceException
public void appendClassAttribute(ClassAttribute a_classAttribute)
a_classAttribute
- public Class[] getValidClasses() throws WTException
WTException
public JoinClause getJoinCondition(String a_alias, boolean a_fullPersistable, Class a_tableClass) throws WTException
a_alias
- a_fullPersistable
- a_tableClass
-
WTException
public void columnsReset()
public boolean isUseViewTableAlias()
public Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |