wt.pds
Class ViewInternalColumnACItemBuilder

java.lang.Object
  extended bywt.pds.AbstractColumnAccessControlItemBuilder
      extended bywt.pds.ViewInternalColumnACItemBuilder
All Implemented Interfaces:
Externalizable, ItemBuilder, Serializable

public class ViewInternalColumnACItemBuilder
extends AbstractColumnAccessControlItemBuilder
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  Class accessControlClass
           
private  String alias
           
private  ClassInfo classInfo
           
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private static HashMap SQL_MAP
           
 
Fields inherited from class wt.pds.AbstractColumnAccessControlItemBuilder
 
Fields inherited from interface wt.pds.ItemBuilder
ACCESS_CONTROLLED_FROM_INDICIES, COLUMNS, DESCENDANT_QUERY_TYPE_COMPATIBLE, FROM_INDICIES, ITEM_COUNT
 
Constructor Summary
ViewInternalColumnACItemBuilder()
          

Supported API: false
ViewInternalColumnACItemBuilder(Class a_accessControlClass, ClassInfo a_classInfo, String a_alias)
          

Supported API: false
 
Method Summary
protected  void appendColumn(ColumnBuilder column, StringBuffer buffer, String alias)
          

Supported API: false
protected  Class getAccessControlClass()
          

Supported API: false
 int[] getAccessControlledFromIndicies()
          Gets the value of the attribute: accessControlledFromIndicies; Array of index values for items in the FromClause.
protected  String getAlias(Vector aliases)
          

Supported API: false
protected  ClassInfo getClassInfo(Vector classInfos)
          

Supported API: false
protected  int getFromIndex()
          

Supported API: false
protected  Map getSQLMap()
          

Supported API: false
 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(ViewInternalColumnACItemBuilder thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.pds.AbstractColumnAccessControlItemBuilder
build, buildEmptyAggregateColumn, buildSelect, createPersistentRetrieve, getColumns, getFromIndicies, getItemCount, getPrimaryClass, isDescendantQueryTypeCompatible, readVersion, reset, setTimeStampAttributeTimestampDisabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

classInfo

private ClassInfo classInfo

alias

private String alias

accessControlClass

private Class accessControlClass

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values

SQL_MAP

private static final HashMap SQL_MAP
Constructor Detail

ViewInternalColumnACItemBuilder

public ViewInternalColumnACItemBuilder()


Supported API: false


ViewInternalColumnACItemBuilder

public ViewInternalColumnACItemBuilder(Class a_accessControlClass,
                                       ClassInfo a_classInfo,
                                       String a_alias)


Supported API: false

Parameters:
a_accessControlClass -
a_classInfo -
a_alias -
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class AbstractColumnAccessControlItemBuilder
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class AbstractColumnAccessControlItemBuilder
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(ViewInternalColumnACItemBuilder thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getAccessControlledFromIndicies

public int[] getAccessControlledFromIndicies()
Gets the value of the attribute: accessControlledFromIndicies; Array of index values for items in the FromClause. This ItemBuilder provides Access Control for these FromExpressions.

Supported API: false

Specified by:
getAccessControlledFromIndicies in interface ItemBuilder
Overrides:
getAccessControlledFromIndicies in class AbstractColumnAccessControlItemBuilder
Returns:
int[]

getAccessControlClass

protected Class getAccessControlClass()


Supported API: false

Specified by:
getAccessControlClass in class AbstractColumnAccessControlItemBuilder
Returns:
Class

getFromIndex

protected int getFromIndex()


Supported API: false

Specified by:
getFromIndex in class AbstractColumnAccessControlItemBuilder
Returns:
int

appendColumn

protected void appendColumn(ColumnBuilder column,
                            StringBuffer buffer,
                            String alias)
                     throws PersistenceException,
                            WTException


Supported API: false

Specified by:
appendColumn in class AbstractColumnAccessControlItemBuilder
Parameters:
column -
buffer -
alias -
Throws:
PersistenceException
WTException

getClassInfo

protected ClassInfo getClassInfo(Vector classInfos)
                          throws PersistenceException


Supported API: false

Specified by:
getClassInfo in class AbstractColumnAccessControlItemBuilder
Parameters:
classInfos -
Returns:
ClassInfo
Throws:
PersistenceException

getAlias

protected String getAlias(Vector aliases)


Supported API: false

Specified by:
getAlias in class AbstractColumnAccessControlItemBuilder
Parameters:
aliases -
Returns:
String

getSQLMap

protected Map getSQLMap()


Supported API: false

Specified by:
getSQLMap in class AbstractColumnAccessControlItemBuilder
Returns:
Map