Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface ModelFactory


public interface ModelFactory

The model factory. The entry point to create model objects.

Refer to oracle.panama.model.MetaLocator for example usage of the ModelFactory.


Method Summary
 PhysicalDevice clonePhysicalDevice(PhysicalDevice pd, java.lang.String name)
          Clone an existing physical device but with a new name.
 Adapter createAdapter(java.lang.String name, java.lang.String classname)
          Create a new adapter.
 Adapter createAdapter(java.lang.String name, java.lang.String classname, java.io.InputStream classes)
          Create a new adapter.
 Alert createAlert(java.lang.String name, User owner, Service forService, AlertAddress[] addresses, Folder parent)
          Create a new Job.
 AlertAddress createAlertAddress(java.lang.String name, User user, Device device, java.lang.String address)
          Deprecated. Replaced by createDeviceAddress(String, User, DeliveryType, String)
 Arguments createArguments()
          Create new Arguments.
 AsyncArguments createAsyncArguments()
          Create Async Arguments.
 Community createCommunity(User creator, java.lang.String cmtyName, java.lang.String cmtyType)
          Create Community
 DataFeeder createDataFeeder(java.lang.String name)
          Create new DataFeeder.
 DeliverableApplication createDeliverableApplication(java.lang.String name)
          Create a new DeliverableApplication with given name.
 DeliverableContent createDeliverableContent(DeliverableApplication deliverableApplication, java.lang.String name, java.lang.String version)
          Create a new DeliverableContent with given name.
 DeliveryService createDeliveryService(java.lang.String name, User owner, DeliverableApplication application, Folder parent)
          Create a new delivery service.
 Device createDevice(java.lang.String name, Transformer transformer)
          Create a new Device
 DeviceAddress createDeviceAddress(java.lang.String name, User user, DeliveryType deliveryType, java.lang.String address)
          Create new Device Address
 DeviceGroup createDeviceGroup(java.lang.String name)
          Create a new Device Group
 ExternalLink createExternalLink(java.lang.String name, User owner, Folder parent)
          Create a new ExternalLink
 ExternalLink createExternalLink(java.lang.String name, User owner, java.lang.String url, Folder parent)
          Deprecated. Replaced by createExternalLink(String, User, Folder) Create a new ExternalLink
 Folder createFolder(java.lang.String name, User owner, Folder parent)
          Create a new Folder
 Group createGroup(java.lang.String name)
          Create a new Group
 JavaTransformer createJavaTransformer(java.lang.String name, java.lang.String className)
          Create a new Java transformer.
 LBCondition createLBCondition(java.lang.String defaultEvalMode, java.util.Calendar defaultExprTime, User creator, LocationPrivacyDomain domain)
          Creates a new LBCondition for the specified parameters
 Link createLink(java.lang.String name, User owner, Service forService, Folder parent)
          Create a new Link
 LocalModule createLocalModule(java.lang.String name, User owner, MasterService forMasterService, Folder parent, java.lang.String virtualURL)
          Create a new LocalModule
 LocationMark createLocationMark(java.lang.String name, User user)
          Create a new LocationMark
 LocationMark createLocationMark(java.lang.String name, User user, Location location, double radius_in_mile)
          Create a new region type LocationMark
 LocationMark createLocationMark(java.lang.String name, User user, RMRegion region)
          Create a new region type LocationMark
 LocationPrivacyAuth createLocationPrivacyAuth(LocationPrivacyDomain service, User owner, LocationPrivacyGrantee positioner, AuthPeriod period)
           
 LocationPrivacyAuth createLocationPrivacyAuth(Service service, User owner, Community positionRequester, AuthPeriod period)
          Create LocationPrivacyAuth
 LocationPrivacyAuth createLocationPrivacyAuth(Service service, User owner, User positionRequester, AuthPeriod period)
          Create LocationPrivacyAuth
 MasterService createMasterService(java.lang.String name, User owner, Adapter adapter, Folder parent)
          Create a new master service.
 OutputArguments createOutputArguments()
          Create new OutputArguments.
 PassThroughDataFeeder createPassThroughDataFeeder(java.lang.String name)
          Create new DataFeeder.
 PhysicalDevice createPhysicalDevice(java.lang.String name)
          Create a new physical device.
 PresetCategory createPresetCategory(java.lang.String name)
          Create a new Preset Category
 ProvisioningProtocol createProvisioningProtocol(java.lang.String name)
          Create a new ProvisioningProtocol
 Role createRole(java.lang.String name)
          Create a new Role
 ServiceAccessPoint createServiceAccessPoint(java.lang.String name, java.lang.String address, DeliveryType deliveryType)
          Create new Service Access Point
 ServiceCategory createServiceCategory(java.lang.String name)
          Create a new Service Category
 ServiceCategoryAccessPoint createServiceCategoryAccessPoint(java.lang.String name, java.lang.String address, DeliveryType deliveryType)
          Create new Service Category Access Point
 User createUser(java.lang.String name)
          Create a new user.
 User createUser(java.lang.String name, Group[] groups)
          Create a new user.
 User createUser(java.lang.String name, Group[] groups, java.util.Locale locale)
          Create a new user.
 User createUser(java.lang.String name, java.util.Locale locale)
          Create a new user.
 UserDownloadStatus createUserDownloadStatus(User user, UserDevice userDevice, DeliverableApplication application, DeliverableContent content, java.lang.String mimeType, java.lang.String controlNumber)
          Create a User Download Status record for a given application, content and mimetype The user download status serves to authenticate downloads so the value must be unique for a given mimetype.
 User createUserFromOID(java.lang.String guid)
          Create a new Registered User in the panama repository.
 User createUserFromOIDByName(java.lang.String name)
          Create a new Registered User in the panama repository.
 User createVirtualUser(java.lang.String subscriberId)
          Create a new virtual user.
 XSLTransformer createXSLTransformer(java.lang.String name, org.w3c.dom.Element stylesheet)
          Create a new XSL transformer.
 XSLTransformer createXSLTransformer(java.lang.String name, java.lang.String stylesheet)
          Create a new XSL transformer.
 PresetCategory getAsyncCmdPresetCategory()
          Get an ASK short name customization preset category
 PresetCategory getRoutePresetCategory()
          Get an message route customization preset category
 void releaseResources()
          Release the resources such as data source connections.
 void save()
          Save work
Save applies to all created or modified object in the current thread.
 void undoAll()
          Undo all changes
Undo applies to all created or modified object in the current thread.

 

Method Detail

clonePhysicalDevice

public PhysicalDevice clonePhysicalDevice(PhysicalDevice pd,
                                          java.lang.String name)
                                   throws PanamaException
Clone an existing physical device but with a new name.
Parameters:
pd - The old physical device to be duplicated.
name - The name for the new physical device.
Returns:
The newly created physical device object.
Throws:
PanamaException

createAdapter

public Adapter createAdapter(java.lang.String name,
                             java.lang.String classname)
                      throws PanamaException
Create a new adapter.
Parameters:
name - the name.
classname - the name of the class implementing the adapter.
Returns:
the adapter.
Throws:
PanamaException - when unable to create the adapter.

createAdapter

public Adapter createAdapter(java.lang.String name,
                             java.lang.String classname,
                             java.io.InputStream classes)
                      throws PanamaException
Create a new adapter.
Parameters:
name - the name.
classname - the name of the class implementing the adapter.
classes - the archive (The server will close the InputStream)
Returns:
the adapter.
Throws:
PanamaException - when unable to create the adapter.

createAlert

public Alert createAlert(java.lang.String name,
                         User owner,
                         Service forService,
                         AlertAddress[] addresses,
                         Folder parent)
                  throws PanamaException
Create a new Job.
Parameters:
name - the non null name, mandatory
owner - the non null owner of this Alert, mandatory
forService - forService non null Service that this Alert points to, mandatory
addresses - the address this Alert shall send it's result to, mandatory
parent - the Job is placed into this Folder, if null it's placed in the root Folder
Returns:
Alert the alert.
Throws:
PanamaException - when unable to create the Alert.

createAlertAddress

public AlertAddress createAlertAddress(java.lang.String name,
                                       User user,
                                       Device device,
                                       java.lang.String address)
                                throws PanamaException
Deprecated. Replaced by createDeviceAddress(String, User, DeliveryType, String)
Create a new alert address
Parameters:
name - the not null name of the alert address, mandatory
user - the user this address belongs, mandatory
device - the Device this address belongs, mandatory
address - the non null address, mandatory
Returns:
the address.
Throws:
PanamaException - when unable to create the address.

createArguments

public Arguments createArguments()
                          throws PanamaException
Create new Arguments.
Returns:
Arguments the Arguments.
Throws:
PanamaException - when unable to create the Arguments.

createAsyncArguments

public AsyncArguments createAsyncArguments()
                                    throws PanamaException
Create Async Arguments.
Returns:
AsyncArguments the Async Arguments.
Throws:
PanamaException - when unable to create the Arguments.

createCommunity

public Community createCommunity(User creator,
                                 java.lang.String cmtyName,
                                 java.lang.String cmtyType)
                          throws PanamaException
Create Community
Parameters:
creator - the user who creates the community
cmtyName - the name of the community
cmtyType - the type of the community. Three types are defined in the Community interface:CMTY_PRIVATE,CMTY_SHARED,CMTY_SYSTEM
Returns:
Community an interface to the created Community
Throws:
PanamaException - when unable to create the Community
See Also:
Community

createDataFeeder

public DataFeeder createDataFeeder(java.lang.String name)
                            throws PanamaException
Create new DataFeeder.
Returns:
DataFeeder the DataFeeder.
Throws:
PanamaException - when unable to create the DataFeeder.

createDeliverableApplication

public DeliverableApplication createDeliverableApplication(java.lang.String name)
                                                    throws PanamaException
Create a new DeliverableApplication with given name.
Parameters:
name - the name of the DeliverableApplication.
Returns:
the DeliverableApplication Object.
Throws:
PanamaException - when unable to create the DeliverableApplication.

createDeliverableContent

public DeliverableContent createDeliverableContent(DeliverableApplication deliverableApplication,
                                                   java.lang.String name,
                                                   java.lang.String version)
                                            throws PanamaException
Create a new DeliverableContent with given name.
Parameters:
deliverableApplication - the deliverableApplication Object containing the returned DeliverableContent Object
name - the name of the DeliverableContent.
version - the version of the DeliverableContent.
Returns:
the DeliverableContent Object.
Throws:
PanamaException - when unable to create the DeliverableContent.

createDeliveryService

public DeliveryService createDeliveryService(java.lang.String name,
                                             User owner,
                                             DeliverableApplication application,
                                             Folder parent)
                                      throws PanamaException
Create a new delivery service.
Parameters:
name - the non null name, mandatory
owner - the non null owner of this DeliveryService, mandatory
application - the application containing the delivery service
Returns:
DeliveryService the delivery service.
Throws:
PanamaException - when unable to create the delivery service.

createDevice

public Device createDevice(java.lang.String name,
                           Transformer transformer)
                    throws PanamaException
Create a new Device
Parameters:
name - the not null name of the LogicalDevice, mandatory
transformer - the not null default Transformer
Throws:
PanamaException - when unable to create the logical device.

createDeviceAddress

public DeviceAddress createDeviceAddress(java.lang.String name,
                                         User user,
                                         DeliveryType deliveryType,
                                         java.lang.String address)
                                  throws PanamaException
Create new Device Address
Parameters:
name - the not null name of the device address, mandatory
user - the user this address belongs, mandatory
deliveryType - the delivery type, mandatory
address - the non null address, mandatory
Returns:
the device address
Throws:
PanamaException - when unable to create the device address

createDeviceGroup

public DeviceGroup createDeviceGroup(java.lang.String name)
                              throws PanamaException
Create a new Device Group
Parameters:
name - the not null name of the Device Group, mandatory
Throws:
PanamaException - when unable to create the device group.

createExternalLink

public ExternalLink createExternalLink(java.lang.String name,
                                       User owner,
                                       Folder parent)
                                throws PanamaException
Create a new ExternalLink
Parameters:
name - the non null name, mandatory
owner - the non null owner of this Bookmark, mandatory
parent - the Bookmark is placed into this Folder, if null it's placed in the root Folder
Returns:
ExternalLink the new ExternalLink.
Throws:
PanamaException - when unable to create the bookmark.

createExternalLink

public ExternalLink createExternalLink(java.lang.String name,
                                       User owner,
                                       java.lang.String url,
                                       Folder parent)
                                throws PanamaException
Deprecated. Replaced by createExternalLink(String, User, Folder) Create a new ExternalLink
Parameters:
name - the non null name, mandatory
owner - the non null owner of this Bookmark, mandatory
url - the non null external reference link, mandatory
parent - the Bookmark is placed into this Folder, if null it's placed in the root Folder
Returns:
ExternalLink the new ExternalLink.
Throws:
PanamaException - when unable to create the bookmark.

createFolder

public Folder createFolder(java.lang.String name,
                           User owner,
                           Folder parent)
                    throws PanamaException
Create a new Folder
Parameters:
name - the non null name, mandatory
owner - the non null owner of this Folder, mandatory
parent - the Folder is a Sub-Folder to this parent, if null it's placed in the root Folder
Returns:
Folder the folder.
Throws:
PanamaException - when unable to create the folder.

createGroup

public Group createGroup(java.lang.String name)
                  throws PanamaException
Create a new Group
Parameters:
name - the not null name of the PanamaGroup, mandatory
Returns:
the group.
Throws:
PanamaException - when unable to create the group.

createJavaTransformer

public JavaTransformer createJavaTransformer(java.lang.String name,
                                             java.lang.String className)
                                      throws PanamaException
Create a new Java transformer.
Parameters:
name - the name of this transformer.
className - the implementing Java Class name.
Returns:
the Java transformer.
Throws:
PanamaException - when unable to create the Java transformer.

createLBCondition

public LBCondition createLBCondition(java.lang.String defaultEvalMode,
                                     java.util.Calendar defaultExprTime,
                                     User creator,
                                     LocationPrivacyDomain domain)
                              throws LBEventException
Creates a new LBCondition for the specified parameters
Parameters:
defaultEvalMode -
defaultExprTime -
creator -
domain -
Returns:
Throws:
LBEventException

createLink

public Link createLink(java.lang.String name,
                       User owner,
                       Service forService,
                       Folder parent)
                throws PanamaException
Create a new Link
Parameters:
name - the non null name, mandatory
owner - the non null owner of this Link, mandatory
forService - forService non null Service that this Link points to, mandatory
parent - the Link is placed into this Folder, if null it's placed in the root Folder
Returns:
Link the link.
Throws:
PanamaException - when unable to create the link.

createLocalModule

public LocalModule createLocalModule(java.lang.String name,
                                     User owner,
                                     MasterService forMasterService,
                                     Folder parent,
                                     java.lang.String virtualURL)
                              throws PanamaException
Create a new LocalModule
Parameters:
name - the non null name, mandatory
owner - the non null owner of this Link, mandatory
forMasterService - forMasterService non null MasterService that this LocalModule points to, mandatory
parent - the LocalModule is placed into this Folder, if null it's placed in the root Folder
virtualURL - the non null omp:// URL, mandatory
Returns:
LocalModule the link.
Throws:
PanamaException - when unable to create the link.

createLocationMark

public LocationMark createLocationMark(java.lang.String name,
                                       User user)
                                throws PanamaException
Create a new LocationMark
Parameters:
name - the not null name of the LocationMark, mandatory
user - the user this LocationMark belongs, mandatory
Returns:
the address.
Throws:
PanamaException - when unable to create the LocationMark.

createLocationMark

public LocationMark createLocationMark(java.lang.String name,
                                       User user,
                                       Location location,
                                       double radius_in_mile)
                                throws PanamaException
Create a new region type LocationMark
Parameters:
name - the not null name of the LocationMark, mandatory
user - the user this LocationMark belongs, mandatory
location - the center of the region
radius_in_mile - the radius of the region
Returns:
a LocationMark object
Throws:
PanamaException - when unable to create the LocationMark.

createLocationMark

public LocationMark createLocationMark(java.lang.String name,
                                       User user,
                                       RMRegion region)
                                throws PanamaException
Create a new region type LocationMark
Parameters:
name - the not null name of the LocationMark, mandatory
user - the user this LocationMark belongs, mandatory
region - the RMRegion this locationMark is based on
Returns:
a LocationMark object
Throws:
PanamaException - when unable to create the LocationMark.

createLocationPrivacyAuth

public LocationPrivacyAuth createLocationPrivacyAuth(LocationPrivacyDomain service,
                                                     User owner,
                                                     LocationPrivacyGrantee positioner,
                                                     AuthPeriod period)
                                              throws PanamaException
Throws:
PanamaException

createLocationPrivacyAuth

public LocationPrivacyAuth createLocationPrivacyAuth(Service service,
                                                     User owner,
                                                     Community positionRequester,
                                                     AuthPeriod period)
                                              throws PanamaException
Create LocationPrivacyAuth
Parameters:
service - the service in which the authrorization is to be created
owner - the user who grants the authrorization
positionRequester - the community who gets the authorization
period - the time range when the positionRequester is authorized to access the owner's location information
Returns:
LocationPrivacyAuth an interface to the created LocationPrivacyAuth
Throws:
PanamaException - when unable to create the LocationPrivacyAuth

createLocationPrivacyAuth

public LocationPrivacyAuth createLocationPrivacyAuth(Service service,
                                                     User owner,
                                                     User positionRequester,
                                                     AuthPeriod period)
                                              throws PanamaException
Create LocationPrivacyAuth
Parameters:
service - the service in which the authrorization is created
owner - the user who grants the authrorization
positionRequester - the user who gets the authorization
period - the time range when the positionRequester is authorized to access the owner's location information
Returns:
LocationPrivacyAuth an interface to the created LocationPrivacyAuth
Throws:
PanamaException - when unable to create the LocationPrivacyAuth

createMasterService

public MasterService createMasterService(java.lang.String name,
                                         User owner,
                                         Adapter adapter,
                                         Folder parent)
                                  throws PanamaException
Create a new master service.
Parameters:
name - the non null name, mandatory
owner - the non null owner of this MasterService, mandatory
adapter - the adapter.
parent - the master service is placed in this Folder, if null it's placed in the virtual root folder.
Returns:
MasterService the master service.
Throws:
PanamaException - when unable to create the master service.

createOutputArguments

public OutputArguments createOutputArguments()
                                      throws PanamaException
Create new OutputArguments.
Returns:
OutputArguments the OutputArguments.
Throws:
PanamaException - when unable to create the OutputArguments.

createPassThroughDataFeeder

public PassThroughDataFeeder createPassThroughDataFeeder(java.lang.String name)
                                                  throws PanamaException
Create new DataFeeder.
Returns:
PassThroughDataFeeder the PassThroughDataFeeder.
Throws:
PanamaException - when unable to create the PassThroughDataFeeder.

createPhysicalDevice

public PhysicalDevice createPhysicalDevice(java.lang.String name)
                                    throws PanamaException
Create a new physical device.
Parameters:
name - The name for the physical device.
Returns:
PhysicalDevice created.
Throws:
PanamaException

createPresetCategory

public PresetCategory createPresetCategory(java.lang.String name)
                                    throws PanamaException
Create a new Preset Category
Parameters:
name - the non null name of the category
Returns:
PresetCategory the Preset Category
Throws:
PanamaException - when unable to create the Preset Category

createProvisioningProtocol

public ProvisioningProtocol createProvisioningProtocol(java.lang.String name)
                                                throws PanamaException
Create a new ProvisioningProtocol
Parameters:
name - the not null name of the ProvisioningProtocol, mandatory
Returns:
the ProvisioningProtocol.
Throws:
PanamaException - when unable to create the ProvisioningProtocol.

createRole

public Role createRole(java.lang.String name)
                throws PanamaException
Create a new Role
Parameters:
name - the not null name of the Role, mandatory
Returns:
the role.
Throws:
PanamaException - when unable to create the role.

createServiceAccessPoint

public ServiceAccessPoint createServiceAccessPoint(java.lang.String name,
                                                   java.lang.String address,
                                                   DeliveryType deliveryType)
                                            throws PanamaException
Create new Service Access Point
Parameters:
name - the name
address - the address
deliveryType - the delivery type
Returns:
the AccessPoint object
Throws:
PanamaException - when unable to create the service access point

createServiceCategory

public ServiceCategory createServiceCategory(java.lang.String name)
                                      throws PanamaException
Create a new Service Category
Parameters:
name - the not null name of the Service Category
Returns:
the Service Category.
Throws:
PanamaException - when unable to create the service category.

createServiceCategoryAccessPoint

public ServiceCategoryAccessPoint createServiceCategoryAccessPoint(java.lang.String name,
                                                                   java.lang.String address,
                                                                   DeliveryType deliveryType)
                                                            throws PanamaException
Create new Service Category Access Point
Parameters:
name - the name
address - the address
deliveryType - the delivery type
Returns:
the AccessPoint object
Throws:
PanamaException - when unable to create the service access point

createUser

public User createUser(java.lang.String name)
                throws PanamaException
Create a new user. This method will use the properties in core.oracle.panama.core.admin.Provisioning.properties to create user home folder and to assign groups to the new user
Parameters:
name - the not null name of the panama user, mandatory.
Returns:
the user.
Throws:
PanamaException - when unable to create the user.

createUser

public User createUser(java.lang.String name,
                       Group[] groups)
                throws PanamaException
Create a new user. This method will use the properties in core.oracle.panama.core.admin.Provisioning.properties to create user home folder.
Parameters:
name - the not null name of the panama user, mandatory.
groups - the list of groups this user belongs to or null if none.
Returns:
the user.
Throws:
PanamaException - when unable to create the user.

createUser

public User createUser(java.lang.String name,
                       Group[] groups,
                       java.util.Locale locale)
                throws PanamaException
Create a new user. This method will use the properties in core.oracle.panama.core.admin.Provisioning.properties to create user home folder.
Parameters:
name - the not null name of the panama user, mandatory.
groups - the list of groups this user belongs to or null if none.
locale - the user's locale.
Returns:
the user.
Throws:
PanamaException - when unable to create the user.

createUser

public User createUser(java.lang.String name,
                       java.util.Locale locale)
                throws PanamaException
Create a new user. This method will use the properties in core.oracle.panama.core.admin.Provisioning.properties to create user home folder and to assign groups to the new user
Parameters:
name - the not null name of the panama user, mandatory.
locale - the user's locale.
Returns:
the user.
Throws:
PanamaException - when unable to create the user.

createUserDownloadStatus

public UserDownloadStatus createUserDownloadStatus(User user,
                                                   UserDevice userDevice,
                                                   DeliverableApplication application,
                                                   DeliverableContent content,
                                                   java.lang.String mimeType,
                                                   java.lang.String controlNumber)
                                            throws PanamaException
Create a User Download Status record for a given application, content and mimetype The user download status serves to authenticate downloads so the value must be unique for a given mimetype. If null is passed for this, then a value is generated else the input value is used to create a download status record
Parameters:
user - the User downloading this deliverable content object
userDevice - the UserDevice for downloading this deliverable content object
application - the Application this deliverable content object belongs to
content - the DeliverableContent object
mimeType - non null parameter the mimetype
controlNumber - the control number for this download status
Returns:
UserDownloadStatus an interface to the alert subscriber found
Throws:
PanamaException - when unable to create a download status object
See Also:
DeliverableContent, UserDownloadStatus, DeliverableApplication

createUserFromOID

public User createUserFromOID(java.lang.String guid)
                       throws PanamaException
Create a new Registered User in the panama repository. The user information is loaded from the Oracle Internet Directory (OID).
Parameters:
guid - the global unique identifier of the User
Returns:
the user
Throws:
PanamaException - when unable to create the user

createUserFromOIDByName

public User createUserFromOIDByName(java.lang.String name)
                             throws PanamaException
Create a new Registered User in the panama repository. The user information is loaded from the Oracle Internet Directory (OID).
Parameters:
name - the user name
Returns:
the user
Throws:
PanamaException - when unable to create the user

createVirtualUser

public User createVirtualUser(java.lang.String subscriberId)
                       throws PanamaException
Create a new virtual user. This method will user the properties in oracle.panama.core.admin.System.properties to create user's home folder and to assign groups to the new user
Parameters:
subscriberId - the subsriberId of the user
Returns:
the user
Throws:
PanamaException - when unable to create the user

createXSLTransformer

public XSLTransformer createXSLTransformer(java.lang.String name,
                                           org.w3c.dom.Element stylesheet)
                                    throws PanamaException
Create a new XSL transformer.
Parameters:
name - the name of this transformer.
stylesheet - the XSL stylesheet as a XML element.
Returns:
the XSL transformer.
Throws:
PanamaException - when unable to create the XSL transformer.

createXSLTransformer

public XSLTransformer createXSLTransformer(java.lang.String name,
                                           java.lang.String stylesheet)
                                    throws PanamaException
Create a new XSL transformer.
Parameters:
name - the name of this transformer.
stylesheet - the XSL stylesheet as a XML element.
Returns:
the XSL transformer.
Throws:
PanamaException - when unable to create the XSL transformer.

getAsyncCmdPresetCategory

public PresetCategory getAsyncCmdPresetCategory()
                                         throws PanamaException
Get an ASK short name customization preset category
Returns:
PresetCategory the Preset Category of ASK short name
Throws:
PanamaException - when unable to create the Preset Category

getRoutePresetCategory

public PresetCategory getRoutePresetCategory()
                                      throws PanamaException
Get an message route customization preset category
Returns:
PresetCategory the Preset Category of Message routing
Throws:
PanamaException - when unable to create the Preset Category

releaseResources

public void releaseResources()
Release the resources such as data source connections.

save

public void save()
          throws PanamaException
Save work
Save applies to all created or modified object in the current thread. The objects are saved to the persistent storage and the transaction is commited.
Throws:
PanamaException - when unable to save the work.

undoAll

public void undoAll()
             throws PanamaException
Undo all changes
Undo applies to all created or modified object in the current thread.
Throws:
PanamaException - when unable to save the work.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.