|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The model factory. The entry point to create model objects.
Method Summary |
Type | Method |
---|---|
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. As of IAS 1.2, replaced by #createDeviceAddress(String, User, DeliveryType, String) |
AlertService |
createAlertService(java.lang.String name,
MasterAlertService masterAlert)
Create a new Alert Service |
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. |
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,
java.lang.String url,
Folder parent)
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. |
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 |
LocationPrivacyAuth |
createLocationPrivacyAuth(Service serivce,
User owner,
Community positionRequester,
AuthPeriod period)
Create LocationPrivacyAuth |
LocationPrivacyAuth |
createLocationPrivacyAuth(Service service,
User owner,
User positionRequester,
AuthPeriod period)
Create LocationPrivacyAuth |
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. |
OutputArguments |
createOutputArguments()
Create new OutputArguments. |
PassThroughDataFeeder |
createPassThroughDataFeeder(java.lang.String name)
Create new DataFeeder. |
PresetCategory |
createPresetCategory(java.lang.String name)
Create a new Preset Category |
Role |
createRole(java.lang.String name)
Create a new Role |
Topic |
createTopic(java.lang.String name,
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. |
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. |
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 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 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 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
name
- 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 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 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 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 Topic createTopic(java.lang.String name, Topic parent) throws PanamaException
name
- the non null name of the topicparentName
- the optional null parent of this topicPanamaException
- when unable to create the topicpublic 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 enabledpersonalizationEnabled
- flag to indicate if its personalization enabledtranscodeRequired
- flag to indicate if transcode requireddescription
- descriptionformattedXml
- formatted Xml DocumentdataFeed
- Data feeder objectPanamaException
- when unable to create the Master Alert Servicepublic AlertService createAlertService(java.lang.String name, MasterAlertService masterAlert) throws PanamaException
name
- the non null name of the alert servicemasterAlertOid
- the non null master alert objectPanamaException
- 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 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(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 authorizationAuthPeriod
- the time range when the positionRequester is authorized to access the
owner's location informationPanamaException
- when unable
to create the LocationPrivacyAuthpublic LocationPrivacyAuth createLocationPrivacyAuth(Service serivce, 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 authorizationAuthPeriod
- the time range when the positionRequester is authorized to access the
owner's location informationPanamaException
- 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 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |