|
Oracle Application Server Wireless Java API Reference B14043-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.
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 |
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 Adapter createAdapter(java.lang.String name, java.lang.String classname) throws PanamaException
name
- the name.classname
- the name of the class implementing the adapter.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.classname
- the name of the class implementing the adapter.classes
- the archive (The server will close the InputStream)PanamaException
- when unable to create the adapter.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 AlertAddress createAlertAddress(java.lang.String name, User user, Device device, java.lang.String address) throws PanamaException
createDeviceAddress(String, User, DeliveryType, String)
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 Arguments createArguments() throws PanamaException
PanamaException
- when unable to create the Arguments.public AsyncArguments createAsyncArguments() throws PanamaException
PanamaException
- when unable to create the Arguments.public 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 DataFeeder createDataFeeder(java.lang.String name) throws PanamaException
PanamaException
- when unable to create the DataFeeder.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 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 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 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 DeviceGroup createDeviceGroup(java.lang.String name) throws PanamaException
name
- the not null name of the Device Group, mandatoryPanamaException
- when unable to create the device group.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 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 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 Group createGroup(java.lang.String name) throws PanamaException
name
- the not null name of the PanamaGroup, mandatoryPanamaException
- when unable to create the group.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 LBCondition createLBCondition(java.lang.String defaultEvalMode, java.util.Calendar defaultExprTime, User creator, LocationPrivacyDomain domain) throws LBEventException
defaultEvalMode
-defaultExprTime
-creator
-domain
-LBEventException
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 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 LocationPrivacyAuth createLocationPrivacyAuth(LocationPrivacyDomain service, User owner, LocationPrivacyGrantee positioner, AuthPeriod period) throws PanamaException
PanamaException
public LocationPrivacyAuth createLocationPrivacyAuth(Service service, User owner, Community positionRequester, AuthPeriod period) throws PanamaException
service
- the service in which the authrorization is to be createdowner
- the user who grants the authrorizationpositionRequester
- the community who gets the authorizationperiod
- the time range when the positionRequester is authorized to access the owner's location informationPanamaException
- when unable to create the LocationPrivacyAuthpublic 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 authorizationperiod
- the time range when the positionRequester is authorized to access the owner's location informationPanamaException
- when unable to create the LocationPrivacyAuthpublic 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 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 PhysicalDevice createPhysicalDevice(java.lang.String name) throws PanamaException
name
- The name for the physical device.PanamaException
public PresetCategory createPresetCategory(java.lang.String name) throws PanamaException
name
- the non null name of the categoryPanamaException
- when unable to create the Preset Categorypublic 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 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 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 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 pointpublic 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 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 User createUser(java.lang.String name, Group[] groups, java.util.Locale locale) 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.locale
- the user's locale.PanamaException
- when unable to create the user.public User createUser(java.lang.String name, java.util.Locale locale) 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.locale
- the user's locale.PanamaException
- when unable to create the user.public UserDownloadStatus createUserDownloadStatus(User user, UserDevice userDevice, DeliverableApplication application, DeliverableContent content, java.lang.String mimeType, java.lang.String controlNumber) throws PanamaException
user
- the User downloading this deliverable content objectuserDevice
- the UserDevice for downloading this deliverable content objectapplication
- 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 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 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 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 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 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 releaseResources()
public void save() throws PanamaException
PanamaException
- when unable to save the work.public void undoAll() throws PanamaException
PanamaException
- when unable to save the work.
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |