|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The model services. The entry point to find model objects.
| Method Summary |
| Type | Method |
|---|---|
void |
copyFolderContent(Folder source,
Folder target,
User newOwner)
Copy the content of one folder to another and change the owner of the new services to the specified user. |
ResultSetEnumeration |
findAdapters(java.lang.String nameExpr)
Find Adapters by name |
ResultSetEnumeration |
findAdministrators()
Finds all administrators. |
ResultSetEnumeration |
findAlertAddresses(java.lang.String nameExpr)
Find AlertAddress by name |
ResultSetEnumeration |
findAlerts(java.lang.String urlExpr)
Find Alerts by their "url" path name |
ResultSetEnumeration |
findAlerts(java.lang.String urlExpr,
int[] orderBy)
Find Alerts by their "url" path name |
AlertService[] |
findAlertServices(java.lang.String nameExpr)
Finds AlertServices which names match the search criteria. |
AlertService[] |
findAlertServices(java.lang.String nameExpr,
int[] orderBy)
Returns and enumeartion of AlertServices which names match the search criteria. |
ResultSetEnumeration |
findAsyncMasterServices(java.lang.String urlExpr)
Find async enabled MasterServices by their "url" path name |
ResultSetEnumeration |
findAsyncMasterServices(java.lang.String urlExpr,
int category,
int[] orderBy)
Find async enabled MasterServices by their "url" path name |
ResultSetEnumeration |
findAsyncMasterServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find async enabled MasterServices by their name |
ResultSetEnumeration |
findAsyncServices(DeliveryType deliveryType)
Finds async services which can be invoked by a delivery type mechanism |
ResultSetEnumeration |
findAsyncServices(DeliveryType deliveryType,
int[] orderBy)
Finds async services which can be invoked by a delivery type mechanism |
ResultSetEnumeration |
findAsyncServices(java.lang.String asyncNameExpr)
Finds async services whose async names match the search criteria. |
ResultSetEnumeration |
findAsyncServices(java.lang.String asyncNameExpr,
int category,
int[] orderBy)
Finds async services whose async names match the search criteria. |
ResultSetEnumeration |
findCommunities(java.lang.String nameExpr)
Find Communities by name |
ResultSetEnumeration |
findCommunity()
Find all Communities in the system |
ResultSetEnumeration |
findCommunity(java.lang.String cmtyType)
Find Community by community type |
ResultSetEnumeration |
findCreatedCommunity(User creator)
Find Community by community creator |
ResultSetEnumeration |
findCreatedCommunity(User creator,
java.lang.String cmtyType)
Find Community by creator and the community type |
ResultSetEnumeration |
findDataFeeders(java.lang.String nameExpr)
Find DataFeeders by name |
ResultSetEnumeration |
findDevices(java.lang.String nameExpr)
Find Devices by name |
ResultSetEnumeration |
findDevices(java.lang.String urlExpr,
int[] orderBy)
Find Devices by name |
ResultSetEnumeration |
findDevicesByDeviceCategory(DeviceCategory category,
int[] orderBy)
Find Devices by DeviceCategory |
Device[] |
findDevicesByTransformer(java.lang.String nameExpr,
int[] orderBy)
Find Devices by a name of a transformer |
Device[] |
findDevicesByUserAgent(java.lang.String nameExpr,
int[] orderBy)
Find Devices by the HTTP User-Agent used to detect the device |
ResultSetEnumeration |
findExternalLinks(java.lang.String urlExpr)
Find ExternalLinks by their "url" path name |
ResultSetEnumeration |
findExternalLinks(java.lang.String urlExpr,
int category,
int[] orderBy)
Find ExternalLinks by their "url" path name |
ResultSetEnumeration |
findExternalLinksByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find ExternalLinks by their name |
ResultSetEnumeration |
findFolders(java.lang.String urlExpr)
Find Folders by their "url" path name |
ResultSetEnumeration |
findFolders(java.lang.String urlExpr,
int category,
int[] orderBy)
Find Folders by their "url" path name |
ResultSetEnumeration |
findFoldersByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find Folders by their name |
ResultSetEnumeration |
findGroups(java.lang.String nameExpr)
Find Groups which names match the search criteria. |
ResultSetEnumeration |
findLinks(java.lang.String urlExpr)
Find Links by their "url" path name |
ResultSetEnumeration |
findLinks(java.lang.String urlExpr,
int category,
int[] orderBy)
Find Links by their "url" path name |
ResultSetEnumeration |
findLinksByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find Links by their name |
ResultSetEnumeration |
findLocalModules(java.lang.String urlExpr,
boolean virtual)
Find LocalModules by their "url" |
ResultSetEnumeration |
findLocalModules(java.lang.String urlExpr,
boolean virtual,
int category,
int[] orderBy)
Find LocalModules by their "url" |
ResultSetEnumeration |
findLocalModulesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find LocalModules by their name |
ResultSetEnumeration |
findLocationMarks(java.lang.String nameExpr)
Find LocationMark by name |
ResultSetEnumeration |
findLocationPrivacyAuths(Service service)
Find LocationPrivacyAuth by service |
ResultSetEnumeration |
findLocationPrivacyAuths(Service service,
User owner,
java.lang.String positionRequesterType,
java.lang.String status)
Find LocationPrivacyAuth by service, the privacy owner, the type of the positionRequester and the status of the authorization |
ResultSetEnumeration |
findLocationPrivacyAuths(java.lang.String nameExpr)
Find LocationPrivacyAuth by name |
MasterAlertService[] |
findMasterAlertServices(java.lang.String nameExpr)
Returns and enmeartion of MasterAlertServices which names match the search criteria. |
MasterAlertService[] |
findMasterAlertServices(java.lang.String nameExpr,
int[] orderBy)
Find Master alert services ordered as specified |
ResultSetEnumeration |
findMasterServices(java.lang.String urlExpr)
Find MasterServices by their "url" path name |
ResultSetEnumeration |
findMasterServices(java.lang.String urlExpr,
int category,
int[] orderBy)
Find MasterServices by their "url" path name |
ResultSetEnumeration |
findMasterServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find MasterServices by their name |
ResultSetEnumeration |
findModulableMasterServices(java.lang.String urlExpr)
Find modulable MasterServices by their "url" path name |
ResultSetEnumeration |
findModulableMasterServices(java.lang.String urlExpr,
int category,
int[] orderBy)
Find modulable MasterServices by their "url" path name |
ResultSetEnumeration |
findModulableMasterServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find modulable MasterServices by their name |
ResultSetEnumeration |
findModules(java.lang.String urlExpr,
boolean virtual)
Find Modules by their "url" |
ResultSetEnumeration |
findModules(java.lang.String urlExpr,
boolean virtual,
int category,
int[] orderBy)
Find Modules by their "url" |
ResultSetEnumeration |
findPresetCategory(java.lang.String nameExpr)
Finds preset categorys which names match the search criteria. |
ResultSetEnumeration |
findRoles(java.lang.String nameExpr)
Find Roles which names match the search criteria. |
ResultSetEnumeration |
findServices(java.lang.String urlExpr)
Find Services by their "url" path name |
ResultSetEnumeration |
findServices(java.lang.String urlExpr,
int category,
int[] orderBy)
Find Services by their "url" path name |
ResultSetEnumeration |
findServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
Find Services by their name |
MasterAlertService[] |
findTimeEnabledMasterAlerts(java.lang.String nameExpr,
int[] orderBy)
Find time enabled Master alert services ordered as specified |
Topic[] |
findTopics(java.lang.String nameExpr)
Finds topics which names match the search criteria. |
Topic[] |
findTopics(java.lang.String nameExpr,
int[] orderBy)
Find Topics ordered as specified |
ResultSetEnumeration |
findTransformers(java.lang.String nameExpr)
Find Transformers by name |
ResultSetEnumeration |
findTransformers(java.lang.String nameExpr,
int[] orderBy)
Find Transformers by name |
ResultSetEnumeration |
findTransformersByMimeType(java.lang.String mimeType)
Find Transformers by mime type |
ResultSetEnumeration |
findUsers(java.lang.String nameExpr)
Finds users which names match the search criteria. |
ResultSetEnumeration |
findUsers(java.lang.String nameExpr,
java.lang.String displayNameExpr,
int maxHits)
Finds users which names match the search criteria. |
ResultSetEnumeration |
findVisibleCommunity(User user,
java.lang.String cmtyType)
Find the communities which are visible to the user and have
the type of cmtyType
A private community is only visible to the its creator. |
AlertConditionType |
getAlertConditionTypeByName(java.lang.String typeName)
Gets the condition type by name |
AlertConditionType[] |
getAlertConditionTypes(java.lang.String paramDataType)
Gets the condition types |
ResultSetEnumeration |
getAlertServices(java.lang.String nameExpr)
Finds alert services which do not have a parent topic |
AlertTimeFrequency[] |
getAlertTimeFrequencies()
Returns an array of the allowed Alert Time Frequencies |
ResultSetEnumeration |
getMasterAlertServices(java.lang.String nameExpr)
Returns and enmeartion of MasterAlertServices which names match the search criteria. |
DataType[] |
getPresetDataTypes()
Get valid Preset Data Types. |
AlertService[] |
getRootAlertServices()
Finds alert services which do not have a parent topic |
ResultSetEnumeration |
getRootServices()
Get all root services |
Topic[] |
getRootTopics()
Finds topics which do not have a parent topic |
ResultSetEnumeration |
getTopics(java.lang.String nameExpr)
Finds topics which do not have a parent topic |
Adapter |
lookupAdapter(long id)
Lookup a Adapter |
Adapter |
lookupAdapter(java.lang.String name)
Lookup an Adapter |
Alert |
lookupAlert(long id)
Lookup an Alert |
Alert |
lookupAlert(java.lang.String url)
Lookup an Alert |
AlertAddress |
lookupAlertAddress(long id)
Lookup an AlertAddress |
AlertAddress |
lookupAlertAddress(java.lang.String url)
Lookup an AlertAddress |
AlertService |
lookupAlertService(long id)
Get a AlertService for the given id |
AlertService |
lookupAlertService(java.lang.String name)
Get a AlertService for the given name |
Service |
lookupAsyncService(DeliveryType deliveryType,
java.lang.String address)
Lookup an async service by delivery type and address |
Service |
lookupAsyncService(long id)
Lookup an async service by object id |
Service |
lookupAsyncService(java.lang.String asyncName)
Lookup an async service by async name |
Community |
lookupCommunity(long id)
Lookup a Community |
Community |
lookupCommunity(User creator,
java.lang.String cmtyName)
Lookup a Community by creator and the community name. |
DataFeeder |
lookupDataFeeder(long id)
Lookup Transformer |
DataFeeder |
lookupDataFeeder(java.lang.String name)
Get a named DataFeeder |
Device |
lookupDevice(long id)
Lookup Device |
Device |
lookupDevice(java.lang.String name)
Lookup a Device |
DeviceAddress |
lookupDeviceAddress(DeliveryType deliveryType,
java.lang.String address)
Lookup a device address |
DeviceAddress |
lookupDeviceAddress(long id)
Lookup a device address |
ExternalLink |
lookupExternalLink(long id)
Lookup an ExternalLink |
ExternalLink |
lookupExternalLink(java.lang.String url)
Lookup an ExternalLink |
Folder |
lookupFolder(long id)
Lookup a Folder |
Folder |
lookupFolder(java.lang.String url)
Lookup a Folder |
Group |
lookupGroup(long id)
Lookup a Group by object id |
Group |
lookupGroup(java.lang.String name)
Lookup a Group by name |
Link |
lookupLink(long id)
Lookup a Link |
Link |
lookupLink(java.lang.String url)
Lookup a Link |
LocalModule |
lookupLocalModule(long id)
Lookup a LocalModule |
LocalModule |
lookupLocalModule(java.lang.String url,
boolean virtual)
Lookup a LocalModule |
LocationMark |
lookupLocationMark(long id)
Lookup an LocationMark |
LocationMark |
lookupLocationMark(java.lang.String name,
java.lang.String userName)
Lookup a LocationMark by name and user name (logical key) |
LocationPrivacyAuth |
lookupLocationPrivacyAuth(long id)
Lookup a LocationPrivacyAuth |
LocationPrivacyAuth |
lookupLocationPrivacyAuth(Service service,
User owner,
ModelObject positionRequester)
Lookup a LocationPrivacyAuth by service, privacy owner and the positionRequester. |
MasterAlertService |
lookupMasterAlertService(long id)
Get a MasterAlertService for the given id |
MasterAlertService |
lookupMasterAlertService(java.lang.String name)
Get a MasterAlertService given the name |
MasterService |
lookupMasterService(long id)
Lookup a MasterService |
MasterService |
lookupMasterService(java.lang.String url)
Lookup a MasterService |
Module |
lookupModule(long id)
Lookup a Module |
Module |
lookupModule(java.lang.String url,
boolean virtual)
Lookup a LocalModule |
PresetCategory |
lookupPresetCategory(long id)
Lookup a preset category by id. |
PresetCategory |
lookupPresetCategory(java.lang.String name)
Lookup a preset category by name. |
Role |
lookupRole(long id)
Lookup a Role by object id |
Role |
lookupRole(java.lang.String name)
Lookup a Role by name |
Service |
lookupService(long id)
Lookup a Service, this class is abstract and the method will always return the leaf class. |
Service |
lookupService(java.lang.String url)
Lookup a Service, this class is abstract and the method will always return the leaf class. |
Topic |
lookupTopic(long id)
Get a topic for the given id |
Topic |
lookupTopic(java.lang.String name)
Get a topic for the given name |
Transformer |
lookupTransformer(long id)
Lookup Transformer |
Transformer |
lookupTransformer(java.lang.String name)
Lookup a Transformer |
User |
lookupUser(long id)
Lookup an user by object id. |
User |
lookupUser(java.lang.String name)
Lookup an user by name. |
User |
lookupUserByAccountNumber(java.lang.String accountNumber)
Lookup an user by account number |
User |
lookupUserByDeviceId(java.lang.String deviceId)
Lookup an user by device id |
User |
lookupUserByGlobalUID(java.lang.String guid)
Lookup an user by global UID |
| Method Detail |
public User lookupUser(java.lang.String name)
throws PanamaRuntimeException
name - the complete not null name of the user.PanamaRuntimeException - if the user
cannot be found
public User lookupUser(long id)
throws PanamaRuntimeException
id - the system level unique object idPanamaRuntimeException - if the user cannot
be found
public User lookupUserByDeviceId(java.lang.String deviceId)
throws PanamaRuntimeException
deviceId - the device id of the userPanamaRuntimeException - if the user cannot be
found)
public User lookupUserByAccountNumber(java.lang.String accountNumber)
throws PanamaRuntimeException
accountNumber - the account number of the userPanamaRuntimeException - if the user
cannot be found)
public User lookupUserByGlobalUID(java.lang.String guid)
throws PanamaRuntimeException
guid - the global UID of the userPanamaRuntimeException - if the user cannot be found)
public ResultSetEnumeration findUsers(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?].PanamaRuntimeException
- if the users cannot be found
public ResultSetEnumeration findUsers(java.lang.String nameExpr,
java.lang.String displayNameExpr,
int maxHits)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?].displayNameExpr - the display name expression including wildcards
or null for all.maxHits - the maximum number of hits or -1 for no limitation.PanamaRuntimeException
- if the users cannot be found
public ResultSetEnumeration findAdministrators()
throws PanamaRuntimeException
PanamaRuntimeException - if the administrators cannot be found
public Group lookupGroup(java.lang.String name)
throws PanamaRuntimeException
name - the complete not null name of the GroupPanamaRuntimeException - if the
Group cannot be found
public Group lookupGroup(long id)
throws PanamaRuntimeException
id - the system level unique object idPanamaRuntimeException - if the Group cannot
be found
public ResultSetEnumeration findGroups(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Groups cannot be found
public Role lookupRole(java.lang.String name)
throws PanamaRuntimeException
name - the complete not null name of the RolePanamaRuntimeException - if the Role
cannot be found
public Role lookupRole(long id)
throws PanamaRuntimeException
id - the system level unique object idPanamaRuntimeException - if the Role cannot
be found
public ResultSetEnumeration findRoles(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Roles cannot be found
public Service lookupService(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the service.PanamaRuntimeException - if the Service
cannot be found
public Service lookupService(long id)
throws PanamaRuntimeException
id - the system object id user.PanamaRuntimeException - if the Service
cannot be found
public ResultSetEnumeration findServices(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the Folder including wildcards as [%*, _?]PanamaRuntimeException
- if the Services cannot be found
public ResultSetEnumeration findServices(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the Service including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Services cannot be found
public ResultSetEnumeration findServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the Service including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Services cannot be found
public Adapter lookupAdapter(java.lang.String name)
throws PanamaRuntimeException
name - the name of the AdapterPanamaRuntimeException - if the Adapter cannot
be found
public Adapter lookupAdapter(long id)
throws PanamaRuntimeException
id - the system object id user.PanamaRuntimeException - if the Adapter
cannot be found
public ResultSetEnumeration findAdapters(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Adapters cannot be found
public Folder lookupFolder(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the Folder.PanamaRuntimeException - if the Folder
cannot be found
public Folder lookupFolder(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the Folder
cannot be found
public ResultSetEnumeration findFolders(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the Folder including wildcards as [%*, _?]PanamaRuntimeException
- if the Services cannot be found
public ResultSetEnumeration findFolders(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the Folder including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Services cannot be found
public ResultSetEnumeration findFoldersByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the Folder including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Services cannot be found
public MasterService lookupMasterService(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the MasterService.PanamaRuntimeException - if the
MasterService cannot be found
public MasterService lookupMasterService(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException
- if the MasterService cannot be found
public ResultSetEnumeration findMasterServices(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the MasterService including wildcards as [%*, _?]PanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findMasterServices(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the MasterService including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findMasterServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the MasterService including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findModulableMasterServices(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the MasterService including wildcards as [%*, _?]PanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findModulableMasterServices(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the MasterService including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findModulableMasterServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the MasterService including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findAsyncMasterServices(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the MasterService including wildcards as [%*, _?]PanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findAsyncMasterServices(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the MasterService including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the MasterServices cannot be found
public ResultSetEnumeration findAsyncMasterServicesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the MasterService including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the MasterServices cannot be found
public LocalModule lookupLocalModule(java.lang.String url,
boolean virtual)
throws PanamaRuntimeException
url - the absolute or virtual URL to this LocalModule.virtual - flag if the an absolute (false) or virtual (true) URL
should be usedPanamaRuntimeException - if the LocalModule cannot be found
public LocalModule lookupLocalModule(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException -
if the LocalModule cannot be found
public ResultSetEnumeration findLocalModules(java.lang.String urlExpr,
boolean virtual)
throws PanamaRuntimeException
urlExpr - the absolute or virtual URL to this LocalModule including
wildcards as [%*, _?]virtual - flag if the an absolute (false) or virtual (true) URL should be usedPanamaRuntimeException
- if the LocalModules cannot be found
public ResultSetEnumeration findLocalModules(java.lang.String urlExpr,
boolean virtual,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the absolute or virtual URL to this LocalModule including
wildcards as [%*, _?]virtual - flag if the an absolute (false) or virtual (true) URL should be usedcategory - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the LocalModules cannot be found
public ResultSetEnumeration findLocalModulesByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the LocalModule including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the LocalModules cannot be found
public Module lookupModule(java.lang.String url,
boolean virtual)
throws PanamaRuntimeException
url - the absolute or virtual URL to this LocalModule.virtual - flag if the an absolute (false) or virtual (true) URL should be usedPanamaRuntimeException - if the Module cannot be found
public Module lookupModule(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the Module
cannot be found
public ResultSetEnumeration findModules(java.lang.String urlExpr,
boolean virtual)
throws PanamaRuntimeException
urlExpr - the absolute or virtual URL to this Module including
wildcards as [%*, _?]virtual - flag if the an absolute (false) or virtual (true) URL should be usedPanamaRuntimeException
- if the Modules cannot be found
public ResultSetEnumeration findModules(java.lang.String urlExpr,
boolean virtual,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the absolute or virtual URL to this Module including
wildcards as [%*, _?]virtual - flag if the an absolute (false) or virtual (true) URL should be usedcategory - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Modules cannot be found
public Link lookupLink(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the Link.PanamaRuntimeException - if the Link cannot be
found
public Link lookupLink(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the Link cannot
be found
public ResultSetEnumeration findLinks(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the Link including wildcards as [%*, _?]PanamaRuntimeException
- if the Link cannot be found
public ResultSetEnumeration findLinks(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the Link including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Link cannot be found
public ResultSetEnumeration findLinksByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name of the Link including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Link cannot be found
public ExternalLink lookupExternalLink(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the ExternalLink.PanamaRuntimeException
- if the ExternalLink cannot be found
public ExternalLink lookupExternalLink(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException
- if the ExternalLink cannot be found
public ResultSetEnumeration findExternalLinks(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the ExternalLink including wildcards as [%*, _?]PanamaRuntimeException
- if the ExternalLink cannot be found
public ResultSetEnumeration findExternalLinks(java.lang.String urlExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the ExternalLink including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the ExternalLink cannot be found
public ResultSetEnumeration findExternalLinksByName(java.lang.String nameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the name of the ExternalLink including wildcards as [%*, _?]category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the ExternalLink cannot be found
public Alert lookupAlert(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the Alert.PanamaRuntimeException - if the Alert cannot
be found
public Alert lookupAlert(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the Alert
cannot be found
public ResultSetEnumeration findAlerts(java.lang.String urlExpr)
throws PanamaRuntimeException
urlExpr - the path to the Alert including wildcards as [%*, _?]PanamaRuntimeException
- if the Alerts cannot be found
public ResultSetEnumeration findAlerts(java.lang.String urlExpr,
int[] orderBy)
throws PanamaRuntimeException
urlExpr - the path to the Alert including wildcards as [%*, _?]orderBy - the order in which the services should be sortedPanamaRuntimeException - if the Alerts cannot be found
public AlertAddress lookupAlertAddress(java.lang.String url)
throws PanamaRuntimeException
url - the complete path to the AlertAddress.PanamaRuntimeException
- if the AlertAddress cannot be found
public AlertAddress lookupAlertAddress(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException
- if the AlertAddress cannot be found
public ResultSetEnumeration findAlertAddresses(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Alerts cannot be found
public DeviceAddress lookupDeviceAddress(long id)
throws PanamaRuntimeException
id - the system object idPanamaRuntimeException - if the device address cannot
be found
public DeviceAddress lookupDeviceAddress(DeliveryType deliveryType,
java.lang.String address)
throws PanamaRuntimeException
deliveryType - the delivery typeaddress - the addressPanamaRuntimeExceotion - if the device address cannot be found
public LocationMark lookupLocationMark(java.lang.String name,
java.lang.String userName)
throws PanamaRuntimeException
name - the complete not null name of the LocationMarkuserName - the complete not null name of the PanamaUserPanamaRuntimeException
- if the LocationMark cannot be found
public LocationMark lookupLocationMark(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException
- if the LocationMark cannot be found
public ResultSetEnumeration findLocationMarks(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the LocationMarks cannot be found
public Device lookupDevice(java.lang.String name)
throws PanamaRuntimeException
name - the name of the DevicePanamaRuntimeException - if the Device cannot be
found
public Device lookupDevice(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the Device
cannot be found
public ResultSetEnumeration findDevices(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Devices cannot be found
public ResultSetEnumeration findDevices(java.lang.String urlExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]orderBy - the order in which the Devices should be sortedPanamaRuntimeException
- if the Devices cannot be found
public Device[] findDevicesByTransformer(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the transformer name including wildcards as [%*, _?]orderBy - the order in which the Devices should be sortedPanamaRuntimeException - if the Devices cannot be found
public Device[] findDevicesByUserAgent(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the User-Agent including wildcards as [%*, _?]orderBy - the order in which the Devices should be sortedPanamaRuntimeException - if the Devices cannot be found
public ResultSetEnumeration findDevicesByDeviceCategory(DeviceCategory category,
int[] orderBy)
throws PanamaRuntimeException
category - the DeviceCategoryorderBy - the order in which the Devices should be sortedPanamaRuntimeException
- if the Devices cannot be found
public Transformer lookupTransformer(java.lang.String name)
throws PanamaRuntimeException
name - the name of the TransformerPanamaRuntimeException - if the Transformer
cannot be found
public Transformer lookupTransformer(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException -
if the Transformer cannot be found
public ResultSetEnumeration findTransformers(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Transformers cannot be found
public ResultSetEnumeration findTransformers(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]orderBy - the order in which the Transformers should be sortedPanamaRuntimeException - if the Transformers cannot be found
public ResultSetEnumeration findTransformersByMimeType(java.lang.String mimeType)
throws PanamaRuntimeException
mimeType - the mimeTypePanamaRuntimeException - if the
transformers cannot be found
public DataFeeder lookupDataFeeder(java.lang.String name)
throws PanamaRuntimeException
DataFeeder - namePanamaRuntimeException - if the DataFeeder cannot be found
public ResultSetEnumeration getRootServices()
throws PanamaRuntimeException
PanamaRuntimeException - if the root services cannot be found
public Topic lookupTopic(long id)
throws PanamaRuntimeException
id - Topic idPanamaRuntimeException - if the Topic cannot be found
public Topic lookupTopic(java.lang.String name)
throws PanamaRuntimeException
name - Topic namePanamaRuntimeException - if the Topic cannot be found
public Topic[] findTopics(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcard as [%].PanamaRuntimeException -
if the Topics cannot be found
public Topic[] getRootTopics()
throws PanamaRuntimeException
PanamaRuntimeException - if the Topics cannot be found
public AlertService[] getRootAlertServices()
throws PanamaRuntimeException
PanamaRuntimeException - if the AlertService cannot be found
public MasterAlertService lookupMasterAlertService(long id)
throws PanamaRuntimeException
id - MasterAlertService idPanamaRuntimeException - if the MasterAlertService id cannot be found
public MasterAlertService[] findMasterAlertServices(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcard as [%].PanamaRuntimeException
- if the MasterAlertService cannot be found
public AlertService lookupAlertService(long id)
throws PanamaRuntimeException
id - AlertService idPanamaRuntimeException - if the AlertService cannot be found
public AlertService lookupAlertService(java.lang.String name)
throws PanamaRuntimeException
id - AlertService namePanamaRuntimeException - if the AlertService cannot be found
public AlertService[] findAlertServices(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcard as [%].PanamaRuntimeException
- if the AlertServices cannot be found
public AlertConditionType[] getAlertConditionTypes(java.lang.String paramDataType)
throws PanamaRuntimeException
paramDataType - the param data type name e.g. TEXT_180, NUMBER_10, etcPanamaRuntimeException
- if the AlertConditionTypes cannot be foundpublic AlertTimeFrequency[] getAlertTimeFrequencies()
public AlertConditionType getAlertConditionTypeByName(java.lang.String typeName)
throws PanamaRuntimeException
typeName - the condition type name a.k.a cond_type_code e.g. LT, GT, EQ, etc.PanamaRuntimeException
- if the AlertConditionType cannot be found
public DataFeeder lookupDataFeeder(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException -
if the Transformer cannot be found
public ResultSetEnumeration findDataFeeders(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the DataFeeders cannot be found
public void copyFolderContent(Folder source,
Folder target,
User newOwner)
throws PanamaRuntimeException
source - the source Folder which content we want to
copy. This Folder must exist.target - the target Folder. This Folder
must exist.newOwner - the User owner of all newly created services.PanamaRuntimeException - if in some reasons
the operation fails
public PresetCategory lookupPresetCategory(java.lang.String name)
throws PanamaRuntimeException
name - the complete not null name of the preset category.PanamaRuntimeException
- if the preset category cannot be found
public PresetCategory lookupPresetCategory(long id)
throws PanamaRuntimeException
name - the complete not null name of the preset category.PanamaRuntimeException
- if the preset category cannot be found
public ResultSetEnumeration findPresetCategory(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?].PanamaRuntimeException
- if the preset category cannot be found
public ResultSetEnumeration findAsyncServices(java.lang.String asyncNameExpr)
throws PanamaRuntimeException
asyncNameExpr - the name including wildcards as [%*, _?].PanamaRuntimeException
- if the async services cannot be found
public ResultSetEnumeration findAsyncServices(java.lang.String asyncNameExpr,
int category,
int[] orderBy)
throws PanamaRuntimeException
asyncNameExpr - the name including wildcards as [%*, _?].category - the category
orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the async services cannot be found
public ResultSetEnumeration findAsyncServices(DeliveryType deliveryType)
throws PanamaRuntimeException
deliveryType - the delivery typePanamaRuntimeException -
if the async services cannot be found
public ResultSetEnumeration findAsyncServices(DeliveryType deliveryType,
int[] orderBy)
throws PanamaRuntimeException
deliveryType - the delivery typeorderBy - the order in which the services should be sortedPanamaRuntimeException
- if the async services cannot be found
public Service lookupAsyncService(java.lang.String asyncName)
throws PanamaRuntimeException
asyncName - the name of the async servicePanamaRuntimeException - if the
async service cannot be found
public Service lookupAsyncService(long id)
throws PanamaRuntimeException
id - the object id of the async servicePanamaRuntimeException - if the
async service cannot be found
public Service lookupAsyncService(DeliveryType deliveryType,
java.lang.String address)
throws PanamaRuntimeException
deliveryType - the delivery type of the async serviceaddress - the address of the async servicePanamaRuntimeException
- if the async service cannot be found
public ResultSetEnumeration getMasterAlertServices(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcard as [%].PanamaRuntimeException
- if the MasterAlertService cannot be found
public ResultSetEnumeration getTopics(java.lang.String nameExpr)
throws PanamaRuntimeException
PanamaRuntimeException - if the Topics cannot be found
public ResultSetEnumeration getAlertServices(java.lang.String nameExpr)
throws PanamaRuntimeException
PanamaRuntimeException - if the AlertService cannot be found
public MasterAlertService lookupMasterAlertService(java.lang.String name)
throws PanamaRuntimeException
name - MasterAlertService namePanamaRuntimeException - if the MasterAlertService cannot be foundpublic DataType[] getPresetDataTypes()
public LocationPrivacyAuth lookupLocationPrivacyAuth(Service service,
User owner,
ModelObject positionRequester)
throws PanamaRuntimeException
service - the service in which the authorization is in effectowner - the user who grants the authorizationpositionRequester - the positionRequester who is authorized to access the owner's
location informationPanamaRuntimeException - if the LocationPrivacyAuth cannot be found
public LocationPrivacyAuth lookupLocationPrivacyAuth(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the
LocationPrivacyAuth cannot be found
public ResultSetEnumeration findLocationPrivacyAuths(Service service)
throws PanamaRuntimeException
service - the service to which the requested loation privacy authorization items
belongPanamaRuntimeException - if the LocationPrivacyAuths
cannot be found
public ResultSetEnumeration findLocationPrivacyAuths(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the LocationPrivacyAuths cannot be found
public ResultSetEnumeration findLocationPrivacyAuths(Service service,
User owner,
java.lang.String positionRequesterType,
java.lang.String status)
throws PanamaRuntimeException
service - the service where the requested location privacy authorization happensowner - the user who grants the authorizationpositionRequesterType - the type of the positionRequester.
If it is set, the value is either User.typeName
or Community.TypeName. If this parameter is null, return both typesstatus - the status of the authorization.
If the status parameter is null, return all the authorizations that meet the other
criteria no matter what status the authorization has.PanamaRuntimeException
- if the LocationPrivacyAuths cannot be foundLocationPrivacyAuth
public Community lookupCommunity(User creator,
java.lang.String cmtyName)
throws PanamaRuntimeException
creator - the user who creates the communitycmtyName - the name of the communityPanamaRuntimeException
- if the Community cannot be found
public Community lookupCommunity(long id)
throws PanamaRuntimeException
id - the system object id.PanamaRuntimeException - if the Community
cannot be found
public ResultSetEnumeration findCommunity()
throws PanamaRuntimeException
PanamaRuntimeException - if the Communities cannot be found
public ResultSetEnumeration findCommunity(java.lang.String cmtyType)
throws PanamaRuntimeException
cmtyType - the type of the community. It can be one of the three values
CMTY_PRIVATE, CMTY_SHARED, CMTY_SYSTEM which are defined in oracle.panama.model.CommunityPanamaRuntimeException
- if the Commnities cannot be foundCommunity
public ResultSetEnumeration findCreatedCommunity(User creator)
throws PanamaRuntimeException
creator - the user who creates the communityPanamaRuntimeException
- if the Commnities cannot be found
public ResultSetEnumeration findCreatedCommunity(User creator,
java.lang.String cmtyType)
throws PanamaRuntimeException
creator - the user who creates the communitycmtyType - the type of the community. It can be one of the three values
CMTY_PRIVATE, CMTY_SHARED, CMTY_SYSTEM which are defined in oracle.panama.model.CommunityPanamaRuntimeException
- if the Commnities cannot be foundCommunity
public ResultSetEnumeration findVisibleCommunity(User user,
java.lang.String cmtyType)
throws PanamaRuntimeException
user and have
the type of cmtyType
A private community is only visible to the its creator. A shared community is
visible to all its members. A system community is visible to all the users in the
system.user - the user who requests the visible communitiescmtyType - the type of the community. It can be one of the three values
CMTY_PRIVATE, CMTY_SHARED, CMTY_SYSTEM which are defined in oracle.panama.model.CommunityPanamaRuntimeException
- if the Commnities cannot be foundCommunity
public ResultSetEnumeration findCommunities(java.lang.String nameExpr)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Communities cannot be found
public MasterAlertService[] findMasterAlertServices(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%,*]orderBy - the order in which the services should be sortedPanamaRuntimeException - if the MasterAlertServices cannot be found
public MasterAlertService[] findTimeEnabledMasterAlerts(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%,*]orderBy - the order in which the services should be sortedPanamaRuntimeException - if the MasterAlertServices cannot be found
public Topic[] findTopics(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name including wildcards as [%,*]orderBy - the order in which the services should be sortedPanamaRuntimeException
- if the Topics cannot be found
public AlertService[] findAlertServices(java.lang.String nameExpr,
int[] orderBy)
throws PanamaRuntimeException
nameExpr - the name including wildcard as [%].int - orderBy the order by clause to choosePanamaRuntimeException
- if the AlertService cannot be found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||