Package wt.ixb.objectset
Interface ObjectSetHandler
- All Known Subinterfaces:
ObjectSetFilter,ObjectSetGenerator
- All Known Implementing Classes:
wt.ixb.objectset.handlers.navigator.GeneralNavigator,ObjectSetFilterTemplate,ObjectSetGeneratorTemplate,ObjectSetHandlerTemplate,WTTypeDefinitionNavigator
public interface ObjectSetHandler
This interface is the base for object set generators and filters (See
Supported API: true
Extendable: true
ObjectSetGenerator and ObjectSetFilter.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionGet the associated java class name which interacts with the client for thisObjectSetHandlertype, e.g.getId()Get the identifier of thisObjectSetHandlertype.Get the localized description of thisObjectSetHandlerinstance.Returns the localized name of theObjectSetHandlertype.getLocalizedName(Locale locale) Returns the localized name of theObjectSetHandlertype for the specificLocale.This method can be used only aftersetParametersAsString(String)is called.voidinitialize(IxbElement xmlDescription) Initialize thisObjectSetHandlerinstance.voidsetParametersAsString(String params) Save the value for thisObjectSetHandlerinstance.
-
Method Details
-
initialize
Initialize thisObjectSetHandlerinstance. Usually the parameter xmlDescription is corresponding to the XML files from server registry.
Supported API: true- Parameters:
xmlDescription- The information for initialize thisObjectSetHandlerinstance.- Throws:
WTException
-
getId
Get the identifier of thisObjectSetHandlertype. The identifier is specified in the server registry.
Supported API: true- Returns:
- String
- Throws:
WTException
-
getLocalizedName
Returns the localized name of theObjectSetHandlertype.
To get the localized name for the specificLocale, use the methodgetLocalizedName(Locale locale).
Supported API: true- Returns:
- String
- Throws:
WTException
-
getLocalizedName
Returns the localized name of theObjectSetHandlertype for the specificLocale. Refer the server registry file for details.
Supported API: true- Parameters:
locale-- Returns:
- String
- Throws:
WTException
-
getAppletClassName
Get the associated java class name which interacts with the client for thisObjectSetHandlertype, e.g.wt.clients.ixb.exp.NavigatorSearchDialog. See the registry file for details.
Supported API: true- Returns:
- String
- Throws:
WTException
-
setParametersAsString
Save the value for thisObjectSetHandlerinstance. For example, forObjectSetGeneratorinstance, this is the object identifier of the seed object.
Supported API: true- Parameters:
params-- Throws:
WTException
-
getParametersAsString
This method can be used only aftersetParametersAsString(String)is called.
Supported API: true- Returns:
- String
- Throws:
WTException
-
getLocalizedDescription
Get the localized description of thisObjectSetHandlerinstance. Usually it contains the localized information of thisObjectSetHandlertype as well as the parameter set fromsetParametersAsString. The import/export will try to find the locale from the session context for localization purpose.
This method can be used only aftersetParametersAsString(String)is called.
Supported API: true- Returns:
- String
- Throws:
WTException
-