|
|||||||||||
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.RelatedChangeable2s
Use the newRelatedChangeable2s
static factory method(s),
not the RelatedChangeable2s
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
Field Summary | |
private static String |
CLASSNAME
|
private String[] |
columnNames
|
private String |
dataFormatName
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static String |
LATEST
|
static String |
LINK_CLASS_NAME
|
private static String |
OID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
static String |
ROLE
|
private static String |
ROLE_A
|
private static String |
ROLE_B
|
(package private) static long |
serialVersionUID
|
private String |
tableFormatName
|
Constructor Summary | |
RelatedChangeable2s()
|
Method Summary | |
private void |
dataFormatNameValidate(String a_DataFormatName)
|
String[] |
getColumnNames()
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()
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)
A call to getQuery should sent the object that is to be queried against to build a QueryResult. |
String |
getTableFormatName()
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()
|
static RelatedChangeable2s |
newRelatedChangeable2s()
Default factory for the class. |
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(RelatedChangeable2s thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setColumnNames(String[] a_ColumnNames)
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)
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)
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)
|
void |
writeExternal(ObjectOutput output)
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
public static final String LINK_CLASS_NAME
public static final String ROLE
private static final String OID
private static final String LATEST
private static final String ROLE_A
private static final String ROLE_B
Constructor Detail |
public RelatedChangeable2s()
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(RelatedChangeable2s 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 RelatedChangeable2s newRelatedChangeable2s() 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 |