wt.csm.navigation.litenavigation
Class AbstractQueryFormView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.csm.navigation.litenavigation.AbstractFormView
          extended bywt.csm.navigation.litenavigation.AbstractQueryFormView
All Implemented Interfaces:
Cloneable, CloneUpdateable, Externalizable, InnerObjectState, Liteable, LocalizedStringDisplayable, Serializable
Direct Known Subclasses:
DefaultQueryFormDefaultView, NodeQueryFormDefaultView

public abstract class AbstractQueryFormView
extends AbstractFormView
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static int DIRTY
           
static long EXTERNALIZATION_VERSION_UID
           
private static int NOT_DELETED
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  Vector theAbstractQueryFormElementView
           
private  Vector theQueryFormElementDefaultView
           
 
Fields inherited from class wt.csm.navigation.litenavigation.AbstractFormView
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.lite.InnerObjectState
CHANGED_STATE, DELETED_STATE, KEY, NEW_STATE, STATE, UNCHANGED_STATE, UNINITIALIZED_STATE
 
Fields inherited from interface wt.lite.Liteable
UPDATE_COUNT
 
Constructor Summary
AbstractQueryFormView()
          

Supported API: false
AbstractQueryFormView(int updateCount, ObjectIdentifier objectID)
          

Supported API: false
 
Method Summary
 void addQueryFormElement(AbstractQueryFormElementView queryFormElement)
          

Supported API: false
 Object clone()
          

Supported API: false
protected  AbstractQFElementValueView cloneElement(AbstractQFElementValueView element)
           
protected  AbstractQueryFormElementView cloneQueryFormElement(AbstractQueryFormElementView form)
           
 void deleteQueryFormElement(AbstractQueryFormElementView queryFormElement)
          

Supported API: false
 Vector getAbstractQueryFormElementView()
          Gets the object for the association that plays role: theAbstractQueryFormElementView.
 AbstractQueryFormElementView[] getChangedQueryFormElements()
          

Supported API: false
 AbstractQueryFormElementView[] getDeletedQueryFormElements()
          

Supported API: false
abstract  String getLocalizedDisplayString()
          

Supported API: false
 AbstractQueryFormElementView[] getNewQueryFormElements()
          

Supported API: false
 AbstractQueryFormElementView[] getQueryFormElements()
          

Supported API: false
 Vector getSearchSpecification(String target, AttributeDefDefaultView dependency)
          

Supported API: false
 boolean isDirty()
          

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(AbstractQueryFormView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
protected  void replaceElement(AbstractQueryFormElementView a_form)
           
 void setAbstractQueryFormElementView(Vector a_AbstractQueryFormElementView)
          Sets the object for the association that plays role: theAbstractQueryFormElementView.
protected  void setStateDirty()
          

Supported API: false
 void update(CloneUpdateable clone)
          

Supported API: false
protected  void updateElement(AbstractQueryFormElementView copyTo, AbstractQueryFormElementView copyFrom)
           
 void updateQueryFormElement(AbstractQueryFormElementView queryFormElement)
          

Supported API: false
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.csm.navigation.litenavigation.AbstractFormView
getKey, getState, readVersion, setKey, setState
 
Methods inherited from class wt.lite.AbstractLiteObject
compareUpdateCount, getHeavyObjectClassname, getObjectID, getUpdateCount, isPersistedObjectEqual, readVersion, setLocalizedDisplayString, setObjectID, setUpdateCount
 
Methods inherited from class java.lang.Object
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

theAbstractQueryFormElementView

private Vector theAbstractQueryFormElementView

theQueryFormElementDefaultView

private Vector theQueryFormElementDefaultView

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

NOT_DELETED

private static final int NOT_DELETED
See Also:
Constant Field Values

DIRTY

private static final int DIRTY
See Also:
Constant Field Values
Constructor Detail

AbstractQueryFormView

public AbstractQueryFormView(int updateCount,
                             ObjectIdentifier objectID)
                      throws CSMClassificationNavigationException


Supported API: false

Parameters:
updateCount -
objectID -
Throws:
CSMClassificationNavigationException

AbstractQueryFormView

public AbstractQueryFormView()


Supported API: false

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 AbstractFormView
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 AbstractFormView
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(AbstractQueryFormView 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

getAbstractQueryFormElementView

public Vector getAbstractQueryFormElementView()
Gets the object for the association that plays role: theAbstractQueryFormElementView.

Supported API: false

Returns:
Vector

setAbstractQueryFormElementView

public void setAbstractQueryFormElementView(Vector a_AbstractQueryFormElementView)
                                     throws WTPropertyVetoException
Sets the object for the association that plays role: theAbstractQueryFormElementView.

Supported API: false

Parameters:
a_AbstractQueryFormElementView -
Throws:
WTPropertyVetoException

clone

public Object clone()


Supported API: false

Overrides:
clone in class AbstractFormView
Returns:
Object

addQueryFormElement

public void addQueryFormElement(AbstractQueryFormElementView queryFormElement)
                         throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryFormElement -
Throws:
CSMClassificationNavigationException

deleteQueryFormElement

public void deleteQueryFormElement(AbstractQueryFormElementView queryFormElement)
                            throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryFormElement -
Throws:
CSMClassificationNavigationException

updateQueryFormElement

public void updateQueryFormElement(AbstractQueryFormElementView queryFormElement)
                            throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryFormElement -
Throws:
CSMClassificationNavigationException

getQueryFormElements

public AbstractQueryFormElementView[] getQueryFormElements()
                                                    throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractQueryFormElementView[]
Throws:
CSMClassificationNavigationException

setStateDirty

protected void setStateDirty()


Supported API: false

Overrides:
setStateDirty in class AbstractFormView

isDirty

public boolean isDirty()


Supported API: false

Specified by:
isDirty in interface InnerObjectState
Overrides:
isDirty in class AbstractFormView
Returns:
boolean

update

public void update(CloneUpdateable clone)
            throws WTException


Supported API: false

Specified by:
update in interface CloneUpdateable
Overrides:
update in class AbstractFormView
Parameters:
clone -
Throws:
WTException

getDeletedQueryFormElements

public AbstractQueryFormElementView[] getDeletedQueryFormElements()
                                                           throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractQueryFormElementView[]
Throws:
CSMClassificationNavigationException

getChangedQueryFormElements

public AbstractQueryFormElementView[] getChangedQueryFormElements()
                                                           throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractQueryFormElementView[]
Throws:
CSMClassificationNavigationException

getNewQueryFormElements

public AbstractQueryFormElementView[] getNewQueryFormElements()
                                                       throws CSMClassificationNavigationException


Supported API: false

Returns:
AbstractQueryFormElementView[]
Throws:
CSMClassificationNavigationException

getLocalizedDisplayString

public abstract String getLocalizedDisplayString()


Supported API: false

Specified by:
getLocalizedDisplayString in interface LocalizedStringDisplayable
Specified by:
getLocalizedDisplayString in class AbstractFormView
Returns:
String

getSearchSpecification

public Vector getSearchSpecification(String target,
                                     AttributeDefDefaultView dependency)
                              throws CSMQueryException


Supported API: false

Parameters:
target -
dependency -
Returns:
Vector
Throws:
CSMQueryException

cloneQueryFormElement

protected AbstractQueryFormElementView cloneQueryFormElement(AbstractQueryFormElementView form)

cloneElement

protected AbstractQFElementValueView cloneElement(AbstractQFElementValueView element)

replaceElement

protected void replaceElement(AbstractQueryFormElementView a_form)
                       throws WTException
Throws:
WTException

updateElement

protected void updateElement(AbstractQueryFormElementView copyTo,
                             AbstractQueryFormElementView copyFrom)
                      throws WTException
Throws:
WTException