|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.enterprise.tabularresults.BaseQueryService
wt.change2.htmlclient.RelevantChangeRequestsQuery
Use the newRelevantChangeRequestsQuery
static factory method(s),
not the RelevantChangeRequestsQuery
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
QueryServiceProvider
,
WTChangeRequest2
,
Changeable2
,
Serialized FormField Summary | |
private static String |
CLASSNAME
Deprecated. |
private String[] |
columnNames
Deprecated. |
private String |
dataFormatName
Deprecated. |
static long |
EXTERNALIZATION_VERSION_UID
Deprecated. |
protected static long |
OLD_FORMAT_VERSION_UID
Deprecated. |
private static String |
RESOURCE
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
private String |
tableFormatName
Deprecated. |
Constructor Summary | |
RelevantChangeRequestsQuery()
Deprecated. |
Method Summary | |
private void |
dataFormatNameValidate(String a_DataFormatName)
Deprecated. |
String[] |
getColumnNames()
Deprecated. Gets the value of the attribute: columnNames; The instance variable is used to hold an array of the default or initial columns that will be presented in the table of results. |
String |
getConceptualClassname()
Deprecated. |
String |
getDataFormatName()
Deprecated. Gets the value of the attribute: dataFormatName; This instance variable can be used to provide a the name, full class path for example, of the subclass of Supported API: false |
Object |
getQuery(Object context_obj,
Properties parameters,
Locale locale)
Deprecated. A call to getQuery should sent the object that is to be queried against to build a QueryResult. |
String |
getTableFormatName()
Deprecated. Gets the value of the attribute: tableFormatName; This instance variable can be used to provide a the name, full class path for example, of the subclass of Supported API: false |
protected void |
initialize()
Deprecated. |
static RelevantChangeRequestsQuery |
newRelevantChangeRequestsQuery()
Deprecated. Default factory for the class. |
void |
readExternal(ObjectInput input)
Deprecated. Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(RelevantChangeRequestsQuery thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source. |
void |
setColumnNames(String[] a_ColumnNames)
Deprecated. Sets the value of the attribute: columnNames; The instance variable is used to hold an array of the default or initial columns that will be presented in the table of results. |
void |
setDataFormatName(String a_DataFormatName)
Deprecated. Sets the value of the attribute: dataFormatName; This instance variable can be used to provide a the name, full class path for example, of the subclass of Supported API: false |
void |
setTableFormatName(String a_TableFormatName)
Deprecated. Sets the value of the attribute: tableFormatName; This instance variable can be used to provide a the name, full class path for example, of the subclass of Supported API: false |
private void |
tableFormatNameValidate(String a_TableFormatName)
Deprecated. |
void |
writeExternal(ObjectOutput output)
Deprecated. Writes the non-transient fields of this class to an external source. |
Methods inherited from class wt.enterprise.tabularresults.BaseQueryService |
getClassInfo, readVersion, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private String tableFormatName
private String dataFormatName
private String[] columnNames
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public RelevantChangeRequestsQuery()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class BaseQueryService
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class BaseQueryService
input
-
IOException
ClassNotFoundException
protected boolean readVersion(RelevantChangeRequestsQuery 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 String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public static RelevantChangeRequestsQuery newRelevantChangeRequestsQuery() throws WTException
WTException
public String getTableFormatName()
getTableFormatName
in class BaseQueryService
that the query generated by a call to
,
wants to use to build the table for presenting the results of the
query.
public void setTableFormatName(String a_TableFormatName) throws WTPropertyVetoException
setTableFormatName
in class BaseQueryService
a_TableFormatName
-
WTPropertyVetoException
that the query generated by a call to
,
wants to use to build the table for presenting the results of the
query.
private void tableFormatNameValidate(String a_TableFormatName) throws WTPropertyVetoException
a_TableFormatName
-
WTPropertyVetoException
public String getDataFormatName()
getDataFormatName
in class BaseQueryService
that the query generated by a call to
,
wants to use to format the individual table enties for presenting
the results of the query.
public void setDataFormatName(String a_DataFormatName) throws WTPropertyVetoException
setDataFormatName
in class BaseQueryService
a_DataFormatName
-
WTPropertyVetoException
that the query generated by a call to
,
wants to use to format the individual table enties for presenting
the results of the query.
private void dataFormatNameValidate(String a_DataFormatName) throws WTPropertyVetoException
a_DataFormatName
-
WTPropertyVetoException
public String[] getColumnNames()
getColumnNames
in class BaseQueryService
should implement
,
to initialize this class.
public void setColumnNames(String[] a_ColumnNames) throws WTPropertyVetoException
setColumnNames
in class BaseQueryService
a_ColumnNames
-
WTPropertyVetoException
should implement
,
to initialize this class.
public Object getQuery(Object context_obj, Properties parameters, Locale locale) throws WTException
qr = ChangeHelper.service.getAddressingChangeOrders(change_request);
if (qr == null)
{
return null;
}
String sorting_attribute = "number";
QueryCollationKeyFactory key = new QueryCollationKeyFactory(locale,
sorting_attribute);
SortedEnumeration enum = new SortedEnumeration(qr.getEnumeration(),
key);
results = new Vector();
while (enum.hasMoreElements())
{
ChangeOrder current_element = (ChangeOrder)enum.nextElement();
System.out.println("ChangeOrder -> " + current_element);
results.addElement(current_element);
}
getQuery
in class BaseQueryService
context_obj
- parameters
- locale
-
WTException
protected void initialize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |