|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The model factory. The entry point to create model objects.
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 {@link #createDeviceAddress(String, User, DeliveryType, String) |
oracle.panama.alert.AlertService |
createAlertService(java.lang.String name, oracle.panama.alert.MasterAlertService masterAlert) Create a new Alert Service |
Arguments |
createArguments() Create new Arguments. |
AsyncArguments |
createAsyncArguments() Create Async Arguments. |
Brand |
createBrand(java.lang.String name, java.lang.String description) Create a new brand with give name and description. |
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 |
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) |
LBEventAgent |
createLBEventAgent(java.lang.String agentName, boolean nameShareAllowed) |
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 serivce, User owner, Community positionRequester, AuthPeriod period) Create LocationPrivacyAuth |
LocationPrivacyAuth |
createLocationPrivacyAuth(Service service, User owner, User positionRequester, AuthPeriod period) Create LocationPrivacyAuth |
LOV |
createLOV(java.lang.String lovTypeName) |
oracle.panama.alert.MasterAlertService |
createMasterAlertService(java.lang.String name, boolean timeBaseEnable, java.lang.String description, DataFeeder dataFeed) Create a new Master Alert |
MasterService |
createMasterService(java.lang.String name, User owner, Adapter adapter, Folder parent) Create a new master service. |
MasterAlertService |
createMobileMasterAlertService(java.lang.String name, boolean timeBaseEnable, java.lang.String description, DataFeeder dataFeed) Create a new Master Alert |
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. |
PhysicalDeviceMetaData |
createPhysicalDeviceMetaData() Create an instance of PhysicalDeviceMetaData object. |
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 |
oracle.panama.alert.Topic |
createTopic(java.lang.String name, oracle.panama.alert.Topic parent) Create a new topic |
User |
createUser(java.lang.String name) Create a new user. |
User |
createUser(java.lang.String name, Group[] groups) 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 |
oracle.panama.alert.AlertSubscriber |
lookupAlertSubscriber(User subscriber, DeviceAddress alertDeviceAddress) Look up an AlertSubscriber |
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 |
public Brand createBrand(java.lang.String name, java.lang.String description) throws PanamaException
name
- the not null name of the panama brand, mandatory.PanamaException
- when unable to create the brand.public PhysicalDevice clonePhysicalDevice(PhysicalDevice pd, java.lang.String name) throws PanamaException
pd
- The old physical device to be duplicated.name
- The name for the new physical device.PanamaException
public PhysicalDevice createPhysicalDevice(java.lang.String name) throws PanamaException
name
- The name for the physical device.PanamaException
public PhysicalDeviceMetaData createPhysicalDeviceMetaData() throws PanamaException
PanamaException
public Adapter createAdapter(java.lang.String name, java.lang.String classname) throws PanamaException
name
- the name.PanamaException
- when unable to create the adapter.public Adapter createAdapter(java.lang.String name, java.lang.String classname, java.io.InputStream classes) throws PanamaException
name
- the name.classes
- the archive (The server will close the InputStream)PanamaException
- when unable to create the adapter.public MasterService createMasterService(java.lang.String name, User owner, Adapter adapter, Folder parent) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this MasterService, mandatoryadapter
- the adapter.parent
- the master service is placed in this Folder, if null it's placed in the virtual root folder.PanamaException
- when unable to create the master service.public DeliveryService createDeliveryService(java.lang.String name, User owner, DeliverableApplication application, Folder parent) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this DeliveryService, mandatoryapplication
- the application containing the delivery servicePanamaException
- when unable to create the delivery service.public Link createLink(java.lang.String name, User owner, Service forService, Folder parent) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this Link, mandatoryforService
- forService non null Service that this Link points to, mandatoryparent
- the Link is placed into this Folder, if null it's placed in the root FolderPanamaException
- when unable to create the link.public LocalModule createLocalModule(java.lang.String name, User owner, MasterService forMasterService, Folder parent, java.lang.String virtualURL) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this Link, mandatoryforMasterService
- forMasterService non null MasterService that this LocalModule points to, mandatoryparent
- the LocalModule is placed into this Folder, if null it's placed in the root FoldervirtualURL
- the non null omp:// URL, mandatoryPanamaException
- when unable to create the link.public ExternalLink createExternalLink(java.lang.String name, User owner, java.lang.String url, Folder parent) throws PanamaException
#createExternalLink(String, user, folder)
Create a new ExternalLinkname
- the non null name, mandatoryowner
- the non null owner of this Bookmark, mandatoryurl
- the non null external reference link, mandatoryparent
- the Bookmark is placed into this Folder, if null it's placed in the root FolderPanamaException
- when unable to create the bookmark.public ExternalLink createExternalLink(java.lang.String name, User owner, Folder parent) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this Bookmark, mandatoryparent
- the Bookmark is placed into this Folder, if null it's placed in the root FolderPanamaException
- when unable to create the bookmark.public Alert createAlert(java.lang.String name, User owner, Service forService, AlertAddress[] addresses, Folder parent) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this Alert, mandatoryforService
- forService non null Service that this Alert points to, mandatoryaddresses
- the address this Alert shall send it's result to, mandatoryparent
- the Job is placed into this Folder, if null it's placed in the root FolderPanamaException
- when unable to create the Alert.public Folder createFolder(java.lang.String name, User owner, Folder parent) throws PanamaException
name
- the non null name, mandatoryowner
- the non null owner of this Folder, mandatoryparent
- the Folder is a Sub-Folder to this parent, if null it's placed in the root FolderPanamaException
- when unable to create the folder.public User createUser(java.lang.String name) throws PanamaException
core.oracle.panama.core.admin.Provisioning.properties
to create user home folder and to assign groups to the new username
- the not null name of the panama user, mandatory.PanamaException
- when unable to create the user.public User createVirtualUser(java.lang.String subscriberId) throws PanamaException
oracle.panama.core.admin.System.properties
to create user's home folder and to assign groups to the new usersubscriberId
- the subsriberId of the userPanamaException
- when unable to create the userpublic User createUserFromOID(java.lang.String guid) throws PanamaException
guid
- the global unique identifier of the UserPanamaException
- when unable to create the userpublic User createUserFromOIDByName(java.lang.String name) throws PanamaException
name
- the user namePanamaException
- when unable to create the userpublic User createUser(java.lang.String name, Group[] groups) throws PanamaException
core.oracle.panama.core.admin.Provisioning.properties
to create user home folder.name
- the not null name of the panama user, mandatory.groups
- the list of groups this user belongs to or null if none.PanamaException
- when unable to create the user.public Group createGroup(java.lang.String name) throws PanamaException
name
- the not null name of the PanamaGroup, mandatoryPanamaException
- when unable to create the group.public ProvisioningProtocol createProvisioningProtocol(java.lang.String name) throws PanamaException
name
- the not null name of the ProvisioningProtocol, mandatoryPanamaException
- when unable to create the ProvisioningProtocol.public Role createRole(java.lang.String name) throws PanamaException
name
- the not null name of the Role, mandatoryPanamaException
- when unable to create the role.public AlertAddress createAlertAddress(java.lang.String name, User user, Device device, java.lang.String address) throws PanamaException
name
- the not null name of the alert address, mandatoryuser
- the user this address belongs, mandatorydevice
- the Device this address belongs, mandatoryaddress
- the non null address, mandatoryPanamaException
- when unable to create the address.public DeviceAddress createDeviceAddress(java.lang.String name, User user, DeliveryType deliveryType, java.lang.String address) throws PanamaException
name
- the not null name of the device address, mandatoryuser
- the user this address belongs, mandatorydeliveryType
- the delivery type, mandatoryaddress
- the non null address, mandatoryPanamaException
- when unable to create the device addresspublic LocationMark createLocationMark(java.lang.String name, User user) throws PanamaException
name
- the not null name of the LocationMark, mandatoryuser
- the user this LocationMark belongs, mandatoryPanamaException
- when unable to create the LocationMark.public LocationMark createLocationMark(java.lang.String name, User user, Location location, double radius_in_mile) throws PanamaException
name
- the not null name of the LocationMark, mandatoryuser
- the user this LocationMark belongs, mandatorylocation
- the center of the regionradius_in_mile
- the radius of the regionPanamaException
- when unable to create the LocationMark.public LocationMark createLocationMark(java.lang.String name, User user, RMRegion region) throws PanamaException
name
- the not null name of the LocationMark, mandatoryuser
- the user this LocationMark belongs, mandatoryregion
- the RMRegion this locationMark is based onPanamaException
- when unable to create the LocationMark.public Device createDevice(java.lang.String name, Transformer transformer) throws PanamaException
name
- the not null name of the LogicalDevice, mandatorytransformer
- the not null default TransformerPanamaException
- when unable to create the logical device.public JavaTransformer createJavaTransformer(java.lang.String name, java.lang.String className) throws PanamaException
name
- the name of this transformer.className
- the implementing Java Class name.PanamaException
- when unable to create the Java transformer.public XSLTransformer createXSLTransformer(java.lang.String name, java.lang.String stylesheet) throws PanamaException
name
- the name of this transformer.stylesheet
- the XSL stylesheet as a XML element.PanamaException
- when unable to create the XSL transformer.public XSLTransformer createXSLTransformer(java.lang.String name, org.w3c.dom.Element stylesheet) throws PanamaException
name
- the name of this transformer.stylesheet
- the XSL stylesheet as a XML element.PanamaException
- when unable to create the XSL transformer.public Arguments createArguments() throws PanamaException
PanamaException
- when unable to create the Arguments.public OutputArguments createOutputArguments() throws PanamaException
PanamaException
- when unable to create the OutputArguments.public PassThroughDataFeeder createPassThroughDataFeeder(java.lang.String name) throws PanamaException
PanamaException
- when unable to create the PassThroughDataFeeder.public DataFeeder createDataFeeder(java.lang.String name) throws PanamaException
PanamaException
- when unable to create the DataFeeder.public oracle.panama.alert.Topic createTopic(java.lang.String name, oracle.panama.alert.Topic parent) throws PanamaException
name
- the non null name of the topicPanamaException
- when unable to create the topicpublic oracle.panama.alert.MasterAlertService createMasterAlertService(java.lang.String name, boolean timeBaseEnable, java.lang.String description, DataFeeder dataFeed) throws PanamaException
name
- the non null name of the topictimeBaseEnable
- flag to indicate if time based alert is enableddescription
- descriptiondataFeed
- Data feeder objectPanamaException
- when unable to create the Master Alert Servicepublic MasterAlertService createMobileMasterAlertService(java.lang.String name, boolean timeBaseEnable, java.lang.String description, DataFeeder dataFeed) throws PanamaException
name
- the non null name of the topictimeBaseEnable
- flag to indicate if time based alert is enableddescription
- descriptiondataFeed
- Data feeder objectPanamaException
- when unable to create the Master Alert Servicepublic oracle.panama.alert.AlertService createAlertService(java.lang.String name, oracle.panama.alert.MasterAlertService masterAlert) throws PanamaException
name
- the non null name of the alert servicePanamaException
- when unable to create the Alert Servicepublic PresetCategory createPresetCategory(java.lang.String name) throws PanamaException
name
- the non null name of the categoryPanamaException
- when unable to create the Preset Categorypublic PresetCategory getAsyncCmdPresetCategory() throws PanamaException
PanamaException
- when unable to create the Preset Categorypublic PresetCategory getRoutePresetCategory() throws PanamaException
PanamaException
- when unable to create the Preset Categorypublic void save() throws PanamaException
PanamaException
- when unable to save the work.public void undoAll() throws PanamaException
PanamaException
- when unable to save the work.public void releaseResources()
public AsyncArguments createAsyncArguments() throws PanamaException
PanamaException
- when unable to create the Arguments.public LocationPrivacyAuth createLocationPrivacyAuth(LocationPrivacyDomain service, User owner, LocationPrivacyGrantee positioner, AuthPeriod period) throws PanamaException
PanamaException
public LocationPrivacyAuth createLocationPrivacyAuth(Service service, User owner, User positionRequester, AuthPeriod period) throws PanamaException
service
- the service in which the authrorization is createdowner
- the user who grants the authrorizationpositionRequester
- the user who gets the authorizationPanamaException
- when unable to create the LocationPrivacyAuthpublic LocationPrivacyAuth createLocationPrivacyAuth(Service serivce, User owner, Community positionRequester, AuthPeriod period) throws PanamaException
owner
- the user who grants the authrorizationpositionRequester
- the community who gets the authorizationPanamaException
- when unable to create the LocationPrivacyAuthpublic Community createCommunity(User creator, java.lang.String cmtyName, java.lang.String cmtyType) throws PanamaException
creator
- the user who creates the communitycmtyName
- the name of the communitycmtyType
- the type of the community. Three types are defined in the Community interface:CMTY_PRIVATE,CMTY_SHARED,CMTY_SYSTEMPanamaException
- when unable to create the CommunityCommunity
public oracle.panama.alert.AlertSubscriber lookupAlertSubscriber(User subscriber, DeviceAddress alertDeviceAddress) throws PanamaException
subscriber
- the user who subscribes to this alertalertDeviceAddress
- the DeviceAddress this alert will be sent toPanamaException
- when unable to look up the alert subscriberAlertSubscriber
public UserDownloadStatus createUserDownloadStatus(User user, UserDevice userDevice, DeliverableApplication application, DeliverableContent content, java.lang.String mimeType, java.lang.String controlNumber) throws PanamaException
application
- the Application this deliverable content object belongs tocontent
- the DeliverableContent objectmimeType
- non null parameter the mimetypecontrolNumber
- the control number for this download statusPanamaException
- when unable to create a download status objectDeliverableContent
, UserDownloadStatus
, DeliverableApplication
public DeliverableApplication createDeliverableApplication(java.lang.String name) throws PanamaException
name
- the name of the DeliverableApplication.PanamaException
- when unable to create the DeliverableApplication.public DeliverableContent createDeliverableContent(DeliverableApplication deliverableApplication, java.lang.String name, java.lang.String version) throws PanamaException
deliverableApplication
- the deliverableApplication Object containing the returned DeliverableContent Objectname
- the name of the DeliverableContent.version
- the version of the DeliverableContent.PanamaException
- when unable to create the DeliverableContent.public LOV createLOV(java.lang.String lovTypeName) throws PanamaException
PanamaException
public LBCondition createLBCondition(java.lang.String defaultEvalMode, java.util.Calendar defaultExprTime, User creator, LocationPrivacyDomain domain) throws LBEventException
LBEventException
public LBEventAgent createLBEventAgent(java.lang.String agentName, boolean nameShareAllowed) throws LBEventException
LBEventException
public ServiceCategory createServiceCategory(java.lang.String name) throws PanamaException
name
- the not null name of the Service CategoryPanamaException
- when unable to create the service category.public ServiceAccessPoint createServiceAccessPoint(java.lang.String name, java.lang.String address, DeliveryType deliveryType) throws PanamaException
name
- the nameaddress
- the addressdeliveryType
- the delivery typePanamaException
- when unable to create the service access pointpublic ServiceCategoryAccessPoint createServiceCategoryAccessPoint(java.lang.String name, java.lang.String address, DeliveryType deliveryType) throws PanamaException
name
- the nameaddress
- the addressdeliveryType
- the delivery typePanamaException
- when unable to create the service access point
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |