|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.pds.AbstractColumnAccessControlItemBuilder
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private PersistentRetrieveIfc |
persistentRetrieve
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Fields inherited from interface wt.pds.ItemBuilder |
ACCESS_CONTROLLED_FROM_INDICIES, COLUMNS, DESCENDANT_QUERY_TYPE_COMPATIBLE, FROM_INDICIES, ITEM_COUNT |
Constructor Summary | |
AbstractColumnAccessControlItemBuilder()
|
Method Summary | |
protected abstract void |
appendColumn(ColumnBuilder column,
StringBuffer buffer,
String alias)
Supported API: false |
Object |
build()
Builds an object from the current row in the result set. |
int |
buildEmptyAggregateColumn(AttributeMapInfo a_attributeMapInfo,
StringBuffer a_select)
Builds the select columns for building an object. |
int |
buildSelect(Vector a_tableInfos,
Vector a_aliases,
AttributeMapInfo a_attributeMapInfo,
StringBuffer a_select)
Builds the select columns for building an object. |
int |
createPersistentRetrieve(ResultSet a_resultSet,
ObjectTable a_objectTable,
int a_resultOffset,
AttributeMapInfo a_attributeMapInfo)
Creates the persistent retrieve object for this item. |
protected abstract Class |
getAccessControlClass()
Supported API: false |
int[] |
getAccessControlledFromIndicies()
Gets the value of the attribute: accessControlledFromIndicies; Array of index values for items in the FromClause. |
protected abstract String |
getAlias(Vector aliases)
Supported API: false |
protected abstract ClassInfo |
getClassInfo(Vector classInfos)
Supported API: false |
ColumnExpression[] |
getColumns()
Gets the value of the attribute: columns; Returns ColumnExpressions for this item. |
protected abstract int |
getFromIndex()
Supported API: false |
int[] |
getFromIndicies()
Gets the value of the attribute: fromIndicies; Array of index values for items in the FromClause. |
int |
getItemCount()
Gets the value of the attribute: itemCount; Number of items that are built. |
Class |
getPrimaryClass(Vector a_classInfos)
Returns the primary class for this Item. |
protected abstract Map |
getSQLMap()
Supported API: false |
boolean |
isDescendantQueryTypeCompatible()
Gets the value of the attribute: descendantQueryTypeCompatible; Indicates whether descendant query results will be guranteed to be type compatible (i.e. |
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(AbstractColumnAccessControlItemBuilder thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
reset()
Resets the instance so that it can be re-used to process a new result. |
void |
setTimeStampAttributeTimestampDisabled()
Set the DateExpression in the ItemBuilder to the TimstampEnabled to false Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
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
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private transient PersistentRetrieveIfc persistentRetrieve
Constructor Detail |
public AbstractColumnAccessControlItemBuilder()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AbstractColumnAccessControlItemBuilder 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 int buildSelect(Vector a_tableInfos, Vector a_aliases, AttributeMapInfo a_attributeMapInfo, StringBuffer a_select) throws PersistenceException
buildSelect
in interface ItemBuilder
a_tableInfos
- a_aliases
- a_attributeMapInfo
- a_select
-
PersistenceException
protected abstract Class getAccessControlClass()
protected abstract int getFromIndex()
public Object build() throws PersistenceException
build
in interface ItemBuilder
PersistenceException
public int createPersistentRetrieve(ResultSet a_resultSet, ObjectTable a_objectTable, int a_resultOffset, AttributeMapInfo a_attributeMapInfo) throws PersistenceException
createPersistentRetrieve
in interface ItemBuilder
a_resultSet
- a_objectTable
- a_resultOffset
- a_attributeMapInfo
-
PersistenceException
public Class getPrimaryClass(Vector a_classInfos)
getPrimaryClass
in interface ItemBuilder
a_classInfos
-
public void reset()
reset
in interface ItemBuilder
protected abstract void appendColumn(ColumnBuilder column, StringBuffer buffer, String alias) throws PersistenceException, WTException
column
- buffer
- alias
-
PersistenceException
WTException
protected abstract ClassInfo getClassInfo(Vector classInfos) throws PersistenceException
classInfos
-
PersistenceException
protected abstract String getAlias(Vector aliases)
aliases
-
protected abstract Map getSQLMap()
public int buildEmptyAggregateColumn(AttributeMapInfo a_attributeMapInfo, StringBuffer a_select) throws PersistenceException
buildEmptyAggregateColumn
in interface ItemBuilder
a_attributeMapInfo
- a_select
-
PersistenceException
public void setTimeStampAttributeTimestampDisabled() throws WTException
setTimeStampAttributeTimestampDisabled
in interface ItemBuilder
WTException
public int getItemCount()
getItemCount
in interface ItemBuilder
public boolean isDescendantQueryTypeCompatible()
isDescendantQueryTypeCompatible
in interface ItemBuilder
public int[] getAccessControlledFromIndicies()
getAccessControlledFromIndicies
in interface ItemBuilder
public int[] getFromIndicies()
getFromIndicies
in interface ItemBuilder
public ColumnExpression[] getColumns() throws WTException
getColumns
in interface ItemBuilder
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |