|
|||||||||
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 foundpublic User lookupUser(long id) throws PanamaRuntimeException
id
- the system level unique object idPanamaRuntimeException
- if the user cannot
be foundpublic 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 foundpublic 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 foundpublic ResultSetEnumeration findAdministrators() throws PanamaRuntimeException
PanamaRuntimeException
- if the administrators cannot be foundpublic Group lookupGroup(java.lang.String name) throws PanamaRuntimeException
name
- the complete not null name of the GroupPanamaRuntimeException
- if the
Group cannot be foundpublic Group lookupGroup(long id) throws PanamaRuntimeException
id
- the system level unique object idPanamaRuntimeException
- if the Group cannot
be foundpublic ResultSetEnumeration findGroups(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Groups cannot be foundpublic Role lookupRole(java.lang.String name) throws PanamaRuntimeException
name
- the complete not null name of the RolePanamaRuntimeException
- if the Role
cannot be foundpublic Role lookupRole(long id) throws PanamaRuntimeException
id
- the system level unique object idPanamaRuntimeException
- if the Role cannot
be foundpublic ResultSetEnumeration findRoles(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Roles cannot be foundpublic Service lookupService(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the service.PanamaRuntimeException
- if the Service
cannot be foundpublic Service lookupService(long id) throws PanamaRuntimeException
id
- the system object id user.PanamaRuntimeException
- if the Service
cannot be foundpublic ResultSetEnumeration findServices(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the Folder including wildcards as [%*, _?]PanamaRuntimeException
- if the Services cannot be foundpublic 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 foundpublic 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 foundpublic Adapter lookupAdapter(java.lang.String name) throws PanamaRuntimeException
name
- the name of the AdapterPanamaRuntimeException
- if the Adapter cannot
be foundpublic Adapter lookupAdapter(long id) throws PanamaRuntimeException
id
- the system object id user.PanamaRuntimeException
- if the Adapter
cannot be foundpublic ResultSetEnumeration findAdapters(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Adapters cannot be foundpublic Folder lookupFolder(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the Folder.PanamaRuntimeException
- if the Folder
cannot be foundpublic Folder lookupFolder(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the Folder
cannot be foundpublic ResultSetEnumeration findFolders(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the Folder including wildcards as [%*, _?]PanamaRuntimeException
- if the Services cannot be foundpublic 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 foundpublic 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 foundpublic MasterService lookupMasterService(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the MasterService.PanamaRuntimeException
- if the
MasterService cannot be foundpublic MasterService lookupMasterService(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the MasterService cannot be foundpublic ResultSetEnumeration findMasterServices(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the MasterService including wildcards as [%*, _?]PanamaRuntimeException
- if the MasterServices cannot be foundpublic 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 foundpublic 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 foundpublic ResultSetEnumeration findModulableMasterServices(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the MasterService including wildcards as [%*, _?]PanamaRuntimeException
- if the MasterServices cannot be foundpublic 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 foundpublic 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 foundpublic ResultSetEnumeration findAsyncMasterServices(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the MasterService including wildcards as [%*, _?]PanamaRuntimeException
- if the MasterServices cannot be foundpublic 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 foundpublic 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 foundpublic 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 foundpublic LocalModule lookupLocalModule(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
-
if the LocalModule cannot be foundpublic 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 foundpublic 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 foundpublic 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 foundpublic 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 foundpublic Module lookupModule(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the Module
cannot be foundpublic 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 foundpublic 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 foundpublic Link lookupLink(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the Link.PanamaRuntimeException
- if the Link cannot be
foundpublic Link lookupLink(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the Link cannot
be foundpublic ResultSetEnumeration findLinks(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the Link including wildcards as [%*, _?]PanamaRuntimeException
- if the Link cannot be foundpublic 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 foundpublic 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 foundpublic ExternalLink lookupExternalLink(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the ExternalLink.PanamaRuntimeException
- if the ExternalLink cannot be foundpublic ExternalLink lookupExternalLink(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the ExternalLink cannot be foundpublic ResultSetEnumeration findExternalLinks(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the ExternalLink including wildcards as [%*, _?]PanamaRuntimeException
- if the ExternalLink cannot be foundpublic 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 foundpublic 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 foundpublic Alert lookupAlert(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the Alert.PanamaRuntimeException
- if the Alert cannot
be foundpublic Alert lookupAlert(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the Alert
cannot be foundpublic ResultSetEnumeration findAlerts(java.lang.String urlExpr) throws PanamaRuntimeException
urlExpr
- the path to the Alert including wildcards as [%*, _?]PanamaRuntimeException
- if the Alerts cannot be foundpublic 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 foundpublic AlertAddress lookupAlertAddress(java.lang.String url) throws PanamaRuntimeException
url
- the complete path to the AlertAddress.PanamaRuntimeException
- if the AlertAddress cannot be foundpublic AlertAddress lookupAlertAddress(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the AlertAddress cannot be foundpublic ResultSetEnumeration findAlertAddresses(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Alerts cannot be foundpublic DeviceAddress lookupDeviceAddress(long id) throws PanamaRuntimeException
id
- the system object idPanamaRuntimeException
- if the device address cannot
be foundpublic DeviceAddress lookupDeviceAddress(DeliveryType deliveryType, java.lang.String address) throws PanamaRuntimeException
deliveryType
- the delivery typeaddress
- the addressPanamaRuntimeExceotion
- if the device address cannot be foundpublic 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 foundpublic LocationMark lookupLocationMark(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the LocationMark cannot be foundpublic ResultSetEnumeration findLocationMarks(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the LocationMarks cannot be foundpublic Device lookupDevice(java.lang.String name) throws PanamaRuntimeException
name
- the name of the DevicePanamaRuntimeException
- if the Device cannot be
foundpublic Device lookupDevice(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the Device
cannot be foundpublic ResultSetEnumeration findDevices(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Devices cannot be foundpublic 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 foundpublic 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 foundpublic 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 foundpublic 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 foundpublic Transformer lookupTransformer(java.lang.String name) throws PanamaRuntimeException
name
- the name of the TransformerPanamaRuntimeException
- if the Transformer
cannot be foundpublic Transformer lookupTransformer(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
-
if the Transformer cannot be foundpublic ResultSetEnumeration findTransformers(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the Transformers cannot be foundpublic 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 foundpublic ResultSetEnumeration findTransformersByMimeType(java.lang.String mimeType) throws PanamaRuntimeException
mimeType
- the mimeTypePanamaRuntimeException
- if the
transformers cannot be foundpublic DataFeeder lookupDataFeeder(java.lang.String name) throws PanamaRuntimeException
DataFeeder
- namePanamaRuntimeException
- if the DataFeeder cannot be foundpublic ResultSetEnumeration getRootServices() throws PanamaRuntimeException
PanamaRuntimeException
- if the root services cannot be foundpublic Topic lookupTopic(long id) throws PanamaRuntimeException
id
- Topic idPanamaRuntimeException
- if the Topic cannot be foundpublic Topic lookupTopic(java.lang.String name) throws PanamaRuntimeException
name
- Topic namePanamaRuntimeException
- if the Topic cannot be foundpublic Topic[] findTopics(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcard as [%].PanamaRuntimeException
-
if the Topics cannot be foundpublic Topic[] getRootTopics() throws PanamaRuntimeException
PanamaRuntimeException
- if the Topics cannot be foundpublic AlertService[] getRootAlertServices() throws PanamaRuntimeException
PanamaRuntimeException
- if the AlertService cannot be foundpublic MasterAlertService lookupMasterAlertService(long id) throws PanamaRuntimeException
id
- MasterAlertService idPanamaRuntimeException
- if the MasterAlertService id cannot be foundpublic MasterAlertService[] findMasterAlertServices(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcard as [%].PanamaRuntimeException
- if the MasterAlertService cannot be foundpublic AlertService lookupAlertService(long id) throws PanamaRuntimeException
id
- AlertService idPanamaRuntimeException
- if the AlertService cannot be foundpublic AlertService lookupAlertService(java.lang.String name) throws PanamaRuntimeException
id
- AlertService namePanamaRuntimeException
- if the AlertService cannot be foundpublic AlertService[] findAlertServices(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcard as [%].PanamaRuntimeException
- if the AlertServices cannot be foundpublic 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 foundpublic DataFeeder lookupDataFeeder(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
-
if the Transformer cannot be foundpublic ResultSetEnumeration findDataFeeders(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the DataFeeders cannot be foundpublic 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 failspublic 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 foundpublic PresetCategory lookupPresetCategory(long id) throws PanamaRuntimeException
name
- the complete not null name of the preset category.PanamaRuntimeException
- if the preset category cannot be foundpublic ResultSetEnumeration findPresetCategory(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?].PanamaRuntimeException
- if the preset category cannot be foundpublic ResultSetEnumeration findAsyncServices(java.lang.String asyncNameExpr) throws PanamaRuntimeException
asyncNameExpr
- the name including wildcards as [%*, _?].PanamaRuntimeException
- if the async services cannot be foundpublic 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 foundpublic ResultSetEnumeration findAsyncServices(DeliveryType deliveryType) throws PanamaRuntimeException
deliveryType
- the delivery typePanamaRuntimeException
-
if the async services cannot be foundpublic 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 foundpublic Service lookupAsyncService(java.lang.String asyncName) throws PanamaRuntimeException
asyncName
- the name of the async servicePanamaRuntimeException
- if the
async service cannot be foundpublic Service lookupAsyncService(long id) throws PanamaRuntimeException
id
- the object id of the async servicePanamaRuntimeException
- if the
async service cannot be foundpublic 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 foundpublic ResultSetEnumeration getMasterAlertServices(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcard as [%].PanamaRuntimeException
- if the MasterAlertService cannot be foundpublic ResultSetEnumeration getTopics(java.lang.String nameExpr) throws PanamaRuntimeException
PanamaRuntimeException
- if the Topics cannot be foundpublic ResultSetEnumeration getAlertServices(java.lang.String nameExpr) throws PanamaRuntimeException
PanamaRuntimeException
- if the AlertService cannot be foundpublic 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 foundpublic LocationPrivacyAuth lookupLocationPrivacyAuth(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the
LocationPrivacyAuth cannot be foundpublic ResultSetEnumeration findLocationPrivacyAuths(Service service) throws PanamaRuntimeException
service
- the service to which the requested loation privacy authorization items
belongPanamaRuntimeException
- if the LocationPrivacyAuths
cannot be foundpublic ResultSetEnumeration findLocationPrivacyAuths(java.lang.String nameExpr) throws PanamaRuntimeException
nameExpr
- the name including wildcards as [%*, _?]PanamaRuntimeException
- if the LocationPrivacyAuths cannot be foundpublic 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 foundpublic Community lookupCommunity(long id) throws PanamaRuntimeException
id
- the system object id.PanamaRuntimeException
- if the Community
cannot be foundpublic ResultSetEnumeration findCommunity() throws PanamaRuntimeException
PanamaRuntimeException
- if the Communities cannot be foundpublic 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 foundpublic 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 foundpublic 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 foundpublic 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 foundpublic 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 foundpublic 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 |