|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.objectset.ObjectSetHandlerTemplate
wt.ixb.objectset.ObjectSetGeneratorTemplate
Class extends ObjectSetGenerator
interface with
trivial implementations for most methods.-
It can be used by application to make application less dependent of future
extension of ObjectSetGenerator
interface.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private WTContainerRef |
containerRef
|
private static String |
RESOURCE
|
Fields inherited from class wt.ixb.objectset.ObjectSetHandlerTemplate |
|
Constructor Summary | |
ObjectSetGeneratorTemplate()
|
Method Summary | |
WTContainerRef |
getContainerRef()
A convenient method to get the WTContainerRef context where the export is launched. |
abstract Enumeration |
iterate()
Iterate the product structure for export. |
abstract void |
iterate(ObjectVisitor visitor)
Iterate the product structure for export. |
boolean |
iteratePerPage(ObjectVisitor visitor,
int pageSize)
Iterate the product structure for export. |
void |
setConfigSpec(ConfigSpec configSpec)
Set ConfigSpec for this object set generator. |
void |
setContainerRef(WTContainerRef containerRef)
A convenient method to set the WTContainerRef context where the export is launched. |
Methods inherited from class wt.ixb.objectset.ObjectSetHandlerTemplate |
getAppletClassName, getClientLocale, getId, getLocalizedDescription, getLocalizedMessageWithoutParams, getLocalizedMessageWithoutParams, getLocalizedMessageWithParams, getLocalizedName, getLocalizedName, getParametersAsString, initialize, setParametersAsString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface wt.ixb.objectset.ObjectSetHandler |
getAppletClassName, getId, getLocalizedDescription, getLocalizedName, getLocalizedName, getParametersAsString, initialize, setParametersAsString |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTContainerRef containerRef
Constructor Detail |
public ObjectSetGeneratorTemplate()
Method Detail |
public abstract void iterate(ObjectVisitor visitor) throws WTException
iterate
in interface ObjectSetGenerator
visitor
-
WTException
public abstract Enumeration iterate() throws WTException
iterate
in interface ObjectSetGenerator
WTException
public boolean iteratePerPage(ObjectVisitor visitor, int pageSize) throws WTException
iteratePerPage
in interface ObjectSetGenerator
visitor
- pageSize
-
WTException
public void setContainerRef(WTContainerRef containerRef)
WTContainerRef
context where the export is launched.
setContainerRef
in interface ObjectSetGenerator
containerRef
- public WTContainerRef getContainerRef()
WTContainerRef
context where the export is launched.
getContainerRef
in interface ObjectSetGenerator
public void setConfigSpec(ConfigSpec configSpec)
ConfigSpec
for this object set generator. This is
useful for some cases, especially when the ConfigSpec
is not persisted and passed from client directly. Individual implementations
of this interface are recommended to implement this method to satisfy their needs.
setConfigSpec
in interface ObjectSetGenerator
configSpec
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |