Package wt.ixb.objectset
Interface ObjectSetGenerator
- All Superinterfaces:
ObjectSetHandler
- All Known Implementing Classes:
wt.ixb.objectset.handlers.navigator.GeneralNavigator,ObjectSetGeneratorTemplate,WTTypeDefinitionNavigator
This interface is the base for all object set generators. They will be used to compute the product structure for the
given object. See the server registry for details.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionA convenient method to get theWTContainerRefcontext where the export is launched.iterate()Iterate the product structure for export.voiditerate(ObjectVisitor visitor) Iterate the product structure for export.booleaniteratePerPage(ObjectVisitor visitor, int pageSize) Iterate the product structure for export.voidsetConfigSpec(ConfigSpec configSpec) SetConfigSpecfor this object set generator.voidsetContainerRef(WTContainerRef containerRef) A convenient method to set theWTContainerRefcontext where the export is launched.Methods inherited from interface wt.ixb.objectset.ObjectSetHandler
getAppletClassName, getId, getLocalizedDescription, getLocalizedName, getLocalizedName, getParametersAsString, initialize, setParametersAsString
-
Method Details
-
iterate
Iterate the product structure for export.
Supported API: true- Parameters:
visitor-- Throws:
WTException
-
iterate
Iterate the product structure for export.
Supported API: true- Returns:
- Enumeration
- Throws:
WTException
-
iteratePerPage
Iterate the product structure for export. If the number of objects iterated reaches the limit pageSize, do nothing and return.
This method returns true if the number of objects iterated is less than or equal to pageSize and does not need to iterate furthmore.
Supported API: true- Parameters:
visitor-pageSize-- Returns:
- boolean
- Throws:
WTException
-
setContainerRef
A convenient method to set theWTContainerRefcontext where the export is launched.
Supported API: true- Parameters:
containerRef-
-
getContainerRef
WTContainerRef getContainerRef()A convenient method to get theWTContainerRefcontext where the export is launched.
Supported API: true- Returns:
- WTContainerRef
-
setConfigSpec
SetConfigSpecfor this object set generator. This is useful for some cases, especially when theConfigSpecis not persisted and passed from client directly. Individual implementations of this interface are recommended to implement this method to satisfy their needs.
Supported API: true- Parameters:
configSpec-
-