|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.AbstractSubSelectTableExpression
wt.iba.value.IBAValueViewTableExpression
This TableExpression consolidates all IBAValues as a single TableExpression
view.
Supported API: false
Extendable: false
Fields inherited from class wt.query.AbstractSubSelectTableExpression |
DEBUG |
Fields inherited from interface wt.query.TableExpression |
ACCESS_CONTROL_REQUIRED, ADVANCED_QUERY, ADVANCED_QUERY_ENABLED, BIND_PARAMETER, DESCENDANTS_INCLUDED, TABLE_CLASS |
Constructor Summary | |
IBAValueViewTableExpression()
Default Constructor. |
Method Summary | |
IBAValueViewTableExpression |
_clone()
|
void |
appendIBADefinition(String a_valueClassName,
String a_definitionId)
This method appends the necessary query constructs to support accessing the specified IBA definition as part of this view. |
void |
appendSnapshotSelectId(QuerySpec a_snapshotSpec,
int a_fromIndex)
This method appends an paging ID item to the specified snapshot query. |
void |
appendSnapshotSelectName(QuerySpec a_snapshotSpec,
int a_fromIndex)
This method appends an paging name item to the specified snapshot query. |
private void |
appendValueColumn(Class a_tableClass,
QuerySpec a_query,
Map a_valueTypeMap,
String a_valueAlias,
int[] a_index)
|
private void |
buildSubSelect()
|
private QuerySpec |
buildValueSpec(String a_className,
Object a_ids)
|
Object |
getBindParameter()
Gets the value of the attribute: bindParameter; Returns a bind parameter for this expression (if supported). |
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. |
Class |
getTableClass()
Gets the value of the attribute: tableClass; The associated class for the table expression (if supported). |
boolean |
isIncludeContextId()
Gets the value of the attribute: includeContextId; Indicates if the context foriegn key ID shoulld be included in this TableExpression. |
boolean |
isIncludeDefinitionId()
Gets the value of the attribute: includeDefinitionId; Indicates if the definition foriegn key ID shoulld be included in this TableExpression. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(IBAValueViewTableExpression thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setIncludeContextId(boolean a_IncludeContextId)
Sets the value of the attribute: includeContextId; Indicates if the context foriegn key ID shoulld be included in this TableExpression. |
void |
setIncludeDefinitionId(boolean a_IncludeDefinitionId)
Sets the value of the attribute: includeDefinitionId; Indicates if the definition foriegn key ID shoulld be included in this TableExpression. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private boolean includeContextId
private boolean includeDefinitionId
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final int BOOLEAN_VALUE
public static final int FLOAT_VALUE
public static final int INTEGER_VALUE
public static final int STRING_VALUE
public static final int TIMESTAMP_VALUE
public static final int UNIT_VALUE
public static final int URL_VALUE
public static final String HIERARCHY_ID_ALIAS
public static final String DEFINITION_ID_ALIAS
public static final String VALUE_TYPE_ALIAS
public static final String NUMBER_ALIAS
public static final String NUMBER_PRECISION_ALIAS
public static final String STRING_ALIAS
public static final String STRING2_ALIAS
public static final String TIMESTAMP_ALIAS
public static final String HOLDER_ID_NAME
public static final String CONTEXT_ID_NAME
private static final String HIERARCHY_NAME
private static final String DEFINITION_ID_NAME
private static final String VALUE_NAME
private static final String VALUE2_NAME
private static final String DESCRIPTION_NAME
private static final String PRECISION_NAME
private static final HashMap NUMBER_MAP
private static final HashMap NUMBER_PRECISION_MAP
private static final HashMap STRING_MAP
private static final HashMap STRING2_MAP
private static final HashMap TIMESTAMP_MAP
private static final HashMap VALUE_TYPE_MAP
private static final boolean USE_BIND
private transient HashMap valueDefinitionMap
Constructor Detail |
public IBAValueViewTableExpression()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractSubSelectTableExpression
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractSubSelectTableExpression
input
-
IOException
ClassNotFoundException
protected boolean readVersion(IBAValueViewTableExpression thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Class getTableClass()
getTableClass
in interface TableExpression
getTableClass
in class AbstractSubSelectTableExpression
public Object getBindParameter() throws WTException
getBindParameter
in interface TableExpression
getBindParameter
in class AbstractSubSelectTableExpression
WTException
public boolean isIncludeContextId()
public void setIncludeContextId(boolean a_IncludeContextId) throws WTPropertyVetoException
a_IncludeContextId
-
WTPropertyVetoException
public boolean isIncludeDefinitionId()
public void setIncludeDefinitionId(boolean a_IncludeDefinitionId) throws WTPropertyVetoException
a_IncludeDefinitionId
-
WTPropertyVetoException
public void appendIBADefinition(String a_valueClassName, String a_definitionId)
a_valueClassName
- Specifies the IBA value type.a_definitionId
- Specifies the internal IBA definition ID.public String getExpression(AttributeMapInfo a_attributeMapInfo, AccessControllerProcessor a_accessControllerProcessor, String a_alias, int a_outerJoinType, boolean a_fullPersistableTable, boolean a_useBind) throws WTException
getExpression
in interface TableExpression
getExpression
in class AbstractSubSelectTableExpression
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 void appendSnapshotSelectId(QuerySpec a_snapshotSpec, int a_fromIndex) throws WTException
appendSnapshotSelectId
in interface PageableTableExpression
a_snapshotSpec
- The snapshot QuerySpec to append to.a_fromIndex
- The fromIndex of this TableExpression in the snapshot QuerySpec.
WTException
public void appendSnapshotSelectName(QuerySpec a_snapshotSpec, int a_fromIndex) throws WTException
appendSnapshotSelectName
in interface PageableTableExpression
a_snapshotSpec
- The snapshot QuerySpec to append to.a_fromIndex
- The fromIndex of this TableExpression in the snapshot QuerySpec.
WTException
public IBAValueViewTableExpression _clone() throws WTException
WTException
private void buildSubSelect() throws WTException
WTException
private QuerySpec buildValueSpec(String a_className, Object a_ids) throws WTException, WTPropertyVetoException, ClassNotFoundException
WTException
WTPropertyVetoException
ClassNotFoundException
private void appendValueColumn(Class a_tableClass, QuerySpec a_query, Map a_valueTypeMap, String a_valueAlias, int[] a_index) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |