wt.csm.navigation.service
Class NavigationObjectsFactory

java.lang.Object
  extended bywt.csm.navigation.service.NavigationObjectsFactory
All Implemented Interfaces:
Externalizable, Serializable

public class NavigationObjectsFactory
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
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
           
 
Constructor Summary
NavigationObjectsFactory()
           
 
Method Summary
static ClassificationNavStruct newClassificationNavStruct(ClassificationNavStructDefaultView classNavStruct)
          

Supported API: false
static ClassificationNavStructDefaultView newClassificationNavStructDefaultView(ClassificationNavStruct classNavStruct)
          

Supported API: false
static ClassificationNode newClassificationNode(ClassificationNodeDefaultView classificationNode)
          

Supported API: false
static ClassificationNodeDefaultView newClassificationNodeDefaultView(ClassificationNode classificationNode)
          

Supported API: false
static DefaultQueryForm newDefaultQueryForm(DefaultQueryFormDefaultView queryForm)
          

Supported API: false
static DefaultQueryFormDefaultView newDefaultQueryFormDefaultView(DefaultQueryForm queryForm)
          

Supported API: false
static DefaultQueryFormReferenceView newDefaultQueryFormReferenceView(DefaultQueryForm queryForm)
          

Supported API: false
static DirectQueryTarget newDirectQueryTarget(DirectQueryTargetDefaultView target)
          

Supported API: false
static DirectQueryTargetDefaultView newDirectQueryTargetDefaultView(DirectQueryTarget target)
          

Supported API: false
static DiscreteQFElementValue newDiscreteQFElementValue(DiscreteQFElementValueDefaultView discreteQFEValue, AttributeDefDefaultView definition)
          

Supported API: false
static DiscreteQFElementValueDefaultView newDiscreteQFElementValueDefaultView(DiscreteQFElementValue discreteQFEValue, AbstractAttributeDefinition definition)
          

Supported API: false
static IndependentNavStruct newIndependentNavStruct(IndependentNavStructDefaultView indepNavStruct)
          

Supported API: false
static IndependentNavStructDefaultView newIndependentNavStructDefaultView(IndependentNavStruct indepNavStruct)
          

Supported API: false
static IndependentNode newIndependentNode(IndependentNode indepNode)
          

Supported API: false
static IndependentNode newIndependentNode(IndependentNodeDefaultView indepNode, IndependentNavStruct indepNavStruct)
          

Supported API: false
static IndependentNodeDefaultView newIndependentNodeDefaultView(IndependentNode indepNode)
          

Supported API: false
static IndependentNodeNodeView newIndependentNodeNodeView(IndependentNode indepNode)
          

Supported API: false
static IndirectQueryTarget newIndirectQueryTarget(IndirectQueryTargetDefaultView target, AbstractNavStruct navStruct)
          

Supported API: false
static IndirectQueryTargetDefaultView newIndirectQueryTargetDefaultView(IndirectQueryTarget target)
          

Supported API: false
static LikeQFElementValue newLikeQFElementValue(LikeQFElementValueDefaultView likeQFEValue, AttributeDefDefaultView definition)
          

Supported API: false
static LikeQFElementValueDefaultView newLikeQFElementValueDefaultView(LikeQFElementValue likeQFEValue, AbstractAttributeDefinition definition)
          

Supported API: false
static NavStructListView newNavStructListView(AbstractNavStruct classNavStruct)
          

Supported API: false
static NavStructListView newNavStructListView(AbstractNavStructView classNavStructView)
          

Supported API: false
static NodeQueryForm newNodeQueryForm(NodeQueryFormDefaultView queryForm, AbstractNode node)
          

Supported API: false
static NodeQueryForm newNodeQueryForm(NodeQueryForm queryForm, IndependentNode node)
          

Supported API: false
static NodeQueryFormDefaultView newNodeQueryFormDefaultView(NodeQueryForm queryForm)
          

Supported API: false
static QueryFormElement newQueryFormElement(QueryFormElementDefaultView element, AbstractQueryForm form)
          

Supported API: false
static QueryFormElement newQueryFormElement(QueryFormElement element, NodeQueryForm form)
          

Supported API: false
static QueryFormElementDefaultView newQueryFormElementDefaultView(QueryFormElement element)
          

Supported API: false
static RangeQFElementValue newRangeQFElementValue(RangeQFElementValueDefaultView rangeQFEValue, AttributeDefDefaultView definition)
          

Supported API: false
static RangeQFElementValueDefaultView newRangeQFElementValueDefaultView(RangeQFElementValue rangeQFEValue, AbstractAttributeDefinition definition)
          

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(NavigationObjectsFactory thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
private static void setDefinition(AbstractValueView value, AttributeDefDefaultView attributeDef)
           
 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

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
Constructor Detail

NavigationObjectsFactory

public NavigationObjectsFactory()
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(NavigationObjectsFactory 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

newNavStructListView

public static NavStructListView newNavStructListView(AbstractNavStruct classNavStruct)
                                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
classNavStruct -
Returns:
NavStructListView
Throws:
CSMClassificationNavigationException

newNavStructListView

public static NavStructListView newNavStructListView(AbstractNavStructView classNavStructView)
                                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
classNavStructView -
Returns:
NavStructListView
Throws:
CSMClassificationNavigationException

newClassificationNavStructDefaultView

public static ClassificationNavStructDefaultView newClassificationNavStructDefaultView(ClassificationNavStruct classNavStruct)
                                                                                throws CSMClassificationNavigationException


Supported API: false

Parameters:
classNavStruct -
Returns:
ClassificationNavStructDefaultView
Throws:
CSMClassificationNavigationException

newClassificationNavStruct

public static ClassificationNavStruct newClassificationNavStruct(ClassificationNavStructDefaultView classNavStruct)
                                                          throws CSMClassificationNavigationException


Supported API: false

Parameters:
classNavStruct -
Returns:
ClassificationNavStruct
Throws:
CSMClassificationNavigationException

newIndependentNavStructDefaultView

public static IndependentNavStructDefaultView newIndependentNavStructDefaultView(IndependentNavStruct indepNavStruct)
                                                                          throws CSMClassificationNavigationException


Supported API: false

Parameters:
indepNavStruct -
Returns:
IndependentNavStructDefaultView
Throws:
CSMClassificationNavigationException

newIndependentNavStruct

public static IndependentNavStruct newIndependentNavStruct(IndependentNavStructDefaultView indepNavStruct)
                                                    throws CSMClassificationNavigationException


Supported API: false

Parameters:
indepNavStruct -
Returns:
IndependentNavStruct
Throws:
CSMClassificationNavigationException

newIndependentNodeDefaultView

public static IndependentNodeDefaultView newIndependentNodeDefaultView(IndependentNode indepNode)
                                                                throws CSMClassificationNavigationException


Supported API: false

Parameters:
indepNode -
Returns:
IndependentNodeDefaultView
Throws:
CSMClassificationNavigationException

newIndependentNodeNodeView

public static IndependentNodeNodeView newIndependentNodeNodeView(IndependentNode indepNode)
                                                          throws CSMClassificationNavigationException


Supported API: false

Parameters:
indepNode -
Returns:
IndependentNodeNodeView
Throws:
CSMClassificationNavigationException

newIndependentNode

public static IndependentNode newIndependentNode(IndependentNodeDefaultView indepNode,
                                                 IndependentNavStruct indepNavStruct)
                                          throws CSMClassificationNavigationException


Supported API: false

Parameters:
indepNode -
indepNavStruct -
Returns:
IndependentNode
Throws:
CSMClassificationNavigationException

newDefaultQueryFormDefaultView

public static DefaultQueryFormDefaultView newDefaultQueryFormDefaultView(DefaultQueryForm queryForm)
                                                                  throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryForm -
Returns:
DefaultQueryFormDefaultView
Throws:
CSMClassificationNavigationException

newDefaultQueryForm

public static DefaultQueryForm newDefaultQueryForm(DefaultQueryFormDefaultView queryForm)
                                            throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryForm -
Returns:
DefaultQueryForm
Throws:
CSMClassificationNavigationException

newDefaultQueryFormReferenceView

public static DefaultQueryFormReferenceView newDefaultQueryFormReferenceView(DefaultQueryForm queryForm)
                                                                      throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryForm -
Returns:
DefaultQueryFormReferenceView
Throws:
CSMClassificationNavigationException

newNodeQueryFormDefaultView

public static NodeQueryFormDefaultView newNodeQueryFormDefaultView(NodeQueryForm queryForm)
                                                            throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryForm -
Returns:
NodeQueryFormDefaultView
Throws:
CSMClassificationNavigationException

newNodeQueryForm

public static NodeQueryForm newNodeQueryForm(NodeQueryFormDefaultView queryForm,
                                             AbstractNode node)
                                      throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryForm -
node -
Returns:
NodeQueryForm
Throws:
CSMClassificationNavigationException

newQueryFormElement

public static QueryFormElement newQueryFormElement(QueryFormElementDefaultView element,
                                                   AbstractQueryForm form)
                                            throws CSMClassificationNavigationException


Supported API: false

Parameters:
element -
form -
Returns:
QueryFormElement
Throws:
CSMClassificationNavigationException

newQueryFormElementDefaultView

public static QueryFormElementDefaultView newQueryFormElementDefaultView(QueryFormElement element)
                                                                  throws CSMClassificationNavigationException


Supported API: false

Parameters:
element -
Returns:
QueryFormElementDefaultView
Throws:
CSMClassificationNavigationException

newDirectQueryTargetDefaultView

public static DirectQueryTargetDefaultView newDirectQueryTargetDefaultView(DirectQueryTarget target)
                                                                    throws CSMClassificationNavigationException


Supported API: false

Parameters:
target -
Returns:
DirectQueryTargetDefaultView
Throws:
CSMClassificationNavigationException

newDirectQueryTarget

public static DirectQueryTarget newDirectQueryTarget(DirectQueryTargetDefaultView target)
                                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
target -
Returns:
DirectQueryTarget
Throws:
CSMClassificationNavigationException

newIndirectQueryTarget

public static IndirectQueryTarget newIndirectQueryTarget(IndirectQueryTargetDefaultView target,
                                                         AbstractNavStruct navStruct)
                                                  throws CSMClassificationNavigationException


Supported API: false

Parameters:
target -
navStruct -
Returns:
IndirectQueryTarget
Throws:
CSMClassificationNavigationException

newIndirectQueryTargetDefaultView

public static IndirectQueryTargetDefaultView newIndirectQueryTargetDefaultView(IndirectQueryTarget target)
                                                                        throws CSMClassificationNavigationException


Supported API: false

Parameters:
target -
Returns:
IndirectQueryTargetDefaultView
Throws:
CSMClassificationNavigationException

newDiscreteQFElementValueDefaultView

public static DiscreteQFElementValueDefaultView newDiscreteQFElementValueDefaultView(DiscreteQFElementValue discreteQFEValue,
                                                                                     AbstractAttributeDefinition definition)
                                                                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
discreteQFEValue -
definition -
Returns:
DiscreteQFElementValueDefaultView
Throws:
CSMClassificationNavigationException

newDiscreteQFElementValue

public static DiscreteQFElementValue newDiscreteQFElementValue(DiscreteQFElementValueDefaultView discreteQFEValue,
                                                               AttributeDefDefaultView definition)
                                                        throws CSMClassificationNavigationException


Supported API: false

Parameters:
discreteQFEValue -
definition -
Returns:
DiscreteQFElementValue
Throws:
CSMClassificationNavigationException

newRangeQFElementValueDefaultView

public static RangeQFElementValueDefaultView newRangeQFElementValueDefaultView(RangeQFElementValue rangeQFEValue,
                                                                               AbstractAttributeDefinition definition)
                                                                        throws CSMClassificationNavigationException


Supported API: false

Parameters:
rangeQFEValue -
definition -
Returns:
RangeQFElementValueDefaultView
Throws:
CSMClassificationNavigationException

newRangeQFElementValue

public static RangeQFElementValue newRangeQFElementValue(RangeQFElementValueDefaultView rangeQFEValue,
                                                         AttributeDefDefaultView definition)
                                                  throws CSMClassificationNavigationException


Supported API: false

Parameters:
rangeQFEValue -
definition -
Returns:
RangeQFElementValue
Throws:
CSMClassificationNavigationException

newClassificationNodeDefaultView

public static ClassificationNodeDefaultView newClassificationNodeDefaultView(ClassificationNode classificationNode)
                                                                      throws CSMClassificationNavigationException


Supported API: false

Parameters:
classificationNode -
Returns:
ClassificationNodeDefaultView
Throws:
CSMClassificationNavigationException

newClassificationNode

public static ClassificationNode newClassificationNode(ClassificationNodeDefaultView classificationNode)
                                                throws CSMClassificationNavigationException


Supported API: false

Parameters:
classificationNode -
Returns:
ClassificationNode
Throws:
CSMClassificationNavigationException

newIndependentNode

public static IndependentNode newIndependentNode(IndependentNode indepNode)
                                          throws CSMClassificationNavigationException


Supported API: false

Parameters:
indepNode -
Returns:
IndependentNode
Throws:
CSMClassificationNavigationException

newNodeQueryForm

public static NodeQueryForm newNodeQueryForm(NodeQueryForm queryForm,
                                             IndependentNode node)
                                      throws CSMClassificationNavigationException


Supported API: false

Parameters:
queryForm -
node -
Returns:
NodeQueryForm
Throws:
CSMClassificationNavigationException

newQueryFormElement

public static QueryFormElement newQueryFormElement(QueryFormElement element,
                                                   NodeQueryForm form)
                                            throws CSMClassificationNavigationException


Supported API: false

Parameters:
element -
form -
Returns:
QueryFormElement
Throws:
CSMClassificationNavigationException

newLikeQFElementValueDefaultView

public static LikeQFElementValueDefaultView newLikeQFElementValueDefaultView(LikeQFElementValue likeQFEValue,
                                                                             AbstractAttributeDefinition definition)
                                                                      throws CSMClassificationNavigationException


Supported API: false

Parameters:
likeQFEValue -
definition -
Returns:
LikeQFElementValueDefaultView
Throws:
CSMClassificationNavigationException

newLikeQFElementValue

public static LikeQFElementValue newLikeQFElementValue(LikeQFElementValueDefaultView likeQFEValue,
                                                       AttributeDefDefaultView definition)
                                                throws CSMClassificationNavigationException


Supported API: false

Parameters:
likeQFEValue -
definition -
Returns:
LikeQFElementValue
Throws:
CSMClassificationNavigationException

setDefinition

private static void setDefinition(AbstractValueView value,
                                  AttributeDefDefaultView attributeDef)
                           throws WTException
Throws:
WTException