wt.export
Class NavigationExport

java.lang.Object
  extended bywt.export.NavigationExport
All Implemented Interfaces:
Exportable, Externalizable, Serializable

public class NavigationExport
extends Object
implements Exportable, Externalizable

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
static String INDEPENDENT
           
static String LINKED
           
private static Hashtable nodeQueryFormTable
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
private static String s_addElementToNavTab
           
private static String s_addElementToNodeTab
           
private static String s_addIndependentNode
           
private static String s_addNavTab
           
private static String s_beginNavStruct
           
private static String s_endNavStruct
           
private static String s_saveNavStruct
           
private static String s_setElementValue
           
(package private) static long serialVersionUID
           
private static String SERVICE_NAME
           
private static ExportUtility util
           
private static boolean VERBOSE
           
private static String versionID
           
 
Constructor Summary
NavigationExport()
           
 
Method Summary
private static boolean addElementToNavTab(String tabLabel, String elementType, String definition, String notOperation, String visible, String enforce, int displayOrder)
           
private static boolean addElementToNodeTab(String navTypeAndNodePath, String tabLabel, String elementType, String definition, String tbNot, String visible, String enforced, int order)
           
private static boolean addIndependentNode(AbstractNavStruct navStruct, AbstractNavStructView ansv)
           
private static boolean addIndependentNode(String parentPath, AbstractNodeNodeView parent, AbstractNavStructView ansv)
           
private static boolean addIndependentNode(String parent, String nodeName, AbstractNodeNodeView node, AbstractNavStructView ansv)
           
private static boolean addNavTab(AbstractNavStructView ansv)
           
private static boolean addNavTab(AbstractQueryTargetView iqtdv)
           
static boolean addNextChildNodeWithNodeQueryFormToHashTable(String parent, String nodeName, ClassificationNodeDefaultView cndv, ClassificationStructDefaultView csdv, AbstractQueryTargetView aqtv)
           
static boolean addNextChildNodeWithNodeQueryFormToHashTable(String parent, String nodeName, ClassificationNodeDefaultView cndv, ClassificationStructDefaultView csdv, AbstractQueryTargetView[] aqtvs)
           
private static boolean beginNavStruct(String beginNavStructKey, AbstractNavStructView ansv)
           
static Vector exportClassificationNavStruct(AbstractNavStruct navStruct, ClassificationNavStructDefaultView nsdv)
           
static Vector exportIndependentNavStruct(AbstractNavStruct navStruct, IndependentNavStructDefaultView nsdv)
           
static Vector getAllNavTabs(AbstractNavStructView ansv)
           
static ClassificationNodeDefaultView[] getClassificationNodeDefaultViewChildren(AbstractNodeView classificationNode)
           
static ClassificationNodeDefaultView[] getClassificationNodeDefaultViewChildren(ObjectIdentifier oi)
           
static boolean getClassificationNodeDefaultViewsContainingNodeQueryForm(ClassificationStructDefaultView csdv, AbstractQueryTargetView aqtv)
           
static boolean getClassificationNodeDefaultViewsContainingNodeQueryForm(ClassificationStructDefaultView csdv, AbstractQueryTargetView[] aqtvs)
           
static ClassificationNodeDefaultView[] getClassificationStructureRootNodes(ClassificationStructDefaultView csdv)
           
 Vector getExportVector(Object object)
          

Supported API: false
private static AbstractNodeNodeView[] getNavigationNodeChildren(AbstractNodeNodeView parent)
           
static AbstractNodeDefaultView getNavigationNodeDefaultView(AbstractNodeNodeView navigationNode)
           
private static AbstractNodeNodeView[] getNavRootNodes(AbstractNavStruct heavyNavStruct)
           
static boolean getNextChildNode(String parentPath, ClassificationNodeDefaultView parent, ClassificationStructDefaultView csdv, AbstractQueryTargetView aqtv)
           
static boolean getNextChildNode(String parentPath, ClassificationNodeDefaultView parent, ClassificationStructDefaultView csdv, AbstractQueryTargetView[] aqtvs)
           
private static Object getReferencedClass(LiteIBAReferenceable referencedObject)
           
private static String getValue(AbstractValueView avv)
           
 void NavigationExport()
           
static ClassificationNodeDefaultView newClassificationNodeDefaultView(ClassificationNode classificationNode)
           
 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(NavigationExport thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private static boolean saveNavStruct()
           
private static boolean setAndAddElementValueToDirectNavTab(String navType, AbstractNavStructView ansv)
           
private static boolean setAndAddElementValueToIndependentNodeTab(AbstractNavStructView ansv)
           
private static boolean setAndAddElementValueToIndirectNavTab(String navType, AbstractNavStructView ansv)
           
private static boolean setAndAddElementValueToLinkedNodeTab(AbstractNavStructView ansv)
           
private static boolean setAndAddElementValueToNavTab(String navType, AbstractNavStructView ansv)
           
private static boolean setElementValue(DiscreteQFElementValueDefaultView[] discQF, String nodeTab, String tabLabel, String definition, String s_visible, String s_enforce, int displayOrder)
           
private static boolean setElementValue(DiscreteQFElementValueDefaultView discQF, String nodeTab, String tabLabel, String definition, String s_visible, String s_enforce, int displayOrder)
           
private static boolean setElementValue(String tabLabel, AbstractQueryFormElementView qfev, String nodeTab)
           
private static boolean setElementValue(String elementType, String definition, String valueType, AbstractValueView avv)
           
private static boolean setElementValue(String elementType, String definition, String valueType, int queryOperator)
           
static AbstractNavStructView toNavStructDefaultView(AbstractNavStruct navStruct)
           
 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

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

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

util

private static ExportUtility util

s_beginNavStruct

private static String s_beginNavStruct

s_addNavTab

private static String s_addNavTab

s_setElementValue

private static String s_setElementValue

s_addElementToNavTab

private static String s_addElementToNavTab

s_saveNavStruct

private static String s_saveNavStruct

s_addIndependentNode

private static String s_addIndependentNode

s_addElementToNodeTab

private static String s_addElementToNodeTab

s_endNavStruct

private static String s_endNavStruct

LINKED

public static String LINKED

INDEPENDENT

public static String INDEPENDENT

nodeQueryFormTable

private static Hashtable nodeQueryFormTable

VERBOSE

private static final boolean VERBOSE

SERVICE_NAME

private static final String SERVICE_NAME
See Also:
Constant Field Values
Constructor Detail

NavigationExport

public NavigationExport()
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
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
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

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

NavigationExport

public void NavigationExport()

getExportVector

public Vector getExportVector(Object object)
                       throws ExporterException
Description copied from interface: Exportable


Supported API: false

Specified by:
getExportVector in interface Exportable
Parameters:
object -
Returns:
Vector
Throws:
ExporterException

exportClassificationNavStruct

public static Vector exportClassificationNavStruct(AbstractNavStruct navStruct,
                                                   ClassificationNavStructDefaultView nsdv)

exportIndependentNavStruct

public static Vector exportIndependentNavStruct(AbstractNavStruct navStruct,
                                                IndependentNavStructDefaultView nsdv)

beginNavStruct

private static boolean beginNavStruct(String beginNavStructKey,
                                      AbstractNavStructView ansv)

addNavTab

private static boolean addNavTab(AbstractNavStructView ansv)

addNavTab

private static boolean addNavTab(AbstractQueryTargetView iqtdv)

setAndAddElementValueToNavTab

private static boolean setAndAddElementValueToNavTab(String navType,
                                                     AbstractNavStructView ansv)

setAndAddElementValueToLinkedNodeTab

private static boolean setAndAddElementValueToLinkedNodeTab(AbstractNavStructView ansv)

setAndAddElementValueToIndependentNodeTab

private static boolean setAndAddElementValueToIndependentNodeTab(AbstractNavStructView ansv)

setAndAddElementValueToIndirectNavTab

private static boolean setAndAddElementValueToIndirectNavTab(String navType,
                                                             AbstractNavStructView ansv)

setAndAddElementValueToDirectNavTab

private static boolean setAndAddElementValueToDirectNavTab(String navType,
                                                           AbstractNavStructView ansv)

setElementValue

private static boolean setElementValue(String elementType,
                                       String definition,
                                       String valueType,
                                       AbstractValueView avv)

setElementValue

private static boolean setElementValue(String elementType,
                                       String definition,
                                       String valueType,
                                       int queryOperator)

setElementValue

private static boolean setElementValue(DiscreteQFElementValueDefaultView discQF,
                                       String nodeTab,
                                       String tabLabel,
                                       String definition,
                                       String s_visible,
                                       String s_enforce,
                                       int displayOrder)

setElementValue

private static boolean setElementValue(DiscreteQFElementValueDefaultView[] discQF,
                                       String nodeTab,
                                       String tabLabel,
                                       String definition,
                                       String s_visible,
                                       String s_enforce,
                                       int displayOrder)

setElementValue

private static boolean setElementValue(String tabLabel,
                                       AbstractQueryFormElementView qfev,
                                       String nodeTab)

addElementToNavTab

private static boolean addElementToNavTab(String tabLabel,
                                          String elementType,
                                          String definition,
                                          String notOperation,
                                          String visible,
                                          String enforce,
                                          int displayOrder)

addIndependentNode

private static boolean addIndependentNode(String parent,
                                          String nodeName,
                                          AbstractNodeNodeView node,
                                          AbstractNavStructView ansv)

addIndependentNode

private static boolean addIndependentNode(AbstractNavStruct navStruct,
                                          AbstractNavStructView ansv)

addIndependentNode

private static boolean addIndependentNode(String parentPath,
                                          AbstractNodeNodeView parent,
                                          AbstractNavStructView ansv)

addElementToNodeTab

private static boolean addElementToNodeTab(String navTypeAndNodePath,
                                           String tabLabel,
                                           String elementType,
                                           String definition,
                                           String tbNot,
                                           String visible,
                                           String enforced,
                                           int order)

saveNavStruct

private static boolean saveNavStruct()

getValue

private static String getValue(AbstractValueView avv)

getReferencedClass

private static Object getReferencedClass(LiteIBAReferenceable referencedObject)

getNavRootNodes

private static AbstractNodeNodeView[] getNavRootNodes(AbstractNavStruct heavyNavStruct)

getNavigationNodeChildren

private static AbstractNodeNodeView[] getNavigationNodeChildren(AbstractNodeNodeView parent)

getNavigationNodeDefaultView

public static AbstractNodeDefaultView getNavigationNodeDefaultView(AbstractNodeNodeView navigationNode)

getAllNavTabs

public static Vector getAllNavTabs(AbstractNavStructView ansv)

newClassificationNodeDefaultView

public static ClassificationNodeDefaultView newClassificationNodeDefaultView(ClassificationNode classificationNode)

toNavStructDefaultView

public static AbstractNavStructView toNavStructDefaultView(AbstractNavStruct navStruct)

getClassificationStructureRootNodes

public static ClassificationNodeDefaultView[] getClassificationStructureRootNodes(ClassificationStructDefaultView csdv)

getClassificationNodeDefaultViewsContainingNodeQueryForm

public static boolean getClassificationNodeDefaultViewsContainingNodeQueryForm(ClassificationStructDefaultView csdv,
                                                                               AbstractQueryTargetView[] aqtvs)

getClassificationNodeDefaultViewsContainingNodeQueryForm

public static boolean getClassificationNodeDefaultViewsContainingNodeQueryForm(ClassificationStructDefaultView csdv,
                                                                               AbstractQueryTargetView aqtv)

getNextChildNode

public static boolean getNextChildNode(String parentPath,
                                       ClassificationNodeDefaultView parent,
                                       ClassificationStructDefaultView csdv,
                                       AbstractQueryTargetView aqtv)

getNextChildNode

public static boolean getNextChildNode(String parentPath,
                                       ClassificationNodeDefaultView parent,
                                       ClassificationStructDefaultView csdv,
                                       AbstractQueryTargetView[] aqtvs)

addNextChildNodeWithNodeQueryFormToHashTable

public static boolean addNextChildNodeWithNodeQueryFormToHashTable(String parent,
                                                                   String nodeName,
                                                                   ClassificationNodeDefaultView cndv,
                                                                   ClassificationStructDefaultView csdv,
                                                                   AbstractQueryTargetView[] aqtvs)

addNextChildNodeWithNodeQueryFormToHashTable

public static boolean addNextChildNodeWithNodeQueryFormToHashTable(String parent,
                                                                   String nodeName,
                                                                   ClassificationNodeDefaultView cndv,
                                                                   ClassificationStructDefaultView csdv,
                                                                   AbstractQueryTargetView aqtv)

getClassificationNodeDefaultViewChildren

public static ClassificationNodeDefaultView[] getClassificationNodeDefaultViewChildren(AbstractNodeView classificationNode)

getClassificationNodeDefaultViewChildren

public static ClassificationNodeDefaultView[] getClassificationNodeDefaultViewChildren(ObjectIdentifier oi)