@Deprecated public interface UserPrefsServices
| Modifier and Type | Method and Description |
|---|---|
DeviceAddress |
createDeviceAddress(UserDevice userDevice,
String address)
Deprecated.
Create a device address for use in User Delivery Preference.
|
RuleSet |
createRuleSet(String userID)
Deprecated.
|
UserDevice |
createUserDevice(String userID,
String name)
Deprecated.
Create a new user device object.
|
UserRuleSet |
createUserRuleSet(String userID)
Deprecated.
Create user rule set for the specified user.
|
void |
delete(UserPrefsObject object)
Deprecated.
Delete the specified UserPrefsObject.
|
Set<DeviceAddress> |
findAllDeviceAddresses(DeliveryType[] deliveryTypes,
String addressExp)
Deprecated.
|
DeviceAddress |
findDeviceAddress(String address)
Deprecated.
Finds the device address object which contains the specified
address value.
|
Set<RuleSet> |
findRuleSets(String[] guids)
Deprecated.
Find the rule sets for the specified users.
|
Set<UserDevice> |
findUserDevices(String userID,
String nameExp)
Deprecated.
Finds all user devices for a given user id that match the user
name name regular expression value.
|
Set<UserRuleSet> |
findUserRuleSets(String[] guids)
Deprecated.
|
BusinessRuleTerm[] |
getBusinessRuleTerms()
Deprecated.
|
String |
getBusinessTermType(String businessTermName)
Deprecated.
|
DeviceAddress |
getDefaultAddress(String userID)
Deprecated.
Replaced by
getDefaultAddresses(String). As
of 11.1.1.4.0, there can be multiple default
addresses. This method is deprecated, and will return
only one default address (first one that is found). |
DeviceAddress[] |
getDefaultAddresses(String userID)
Deprecated.
Gets all default addresses of the specified user.
|
DeliveryPreference |
getDeliveryPreference(String userID,
Hashtable<String,Object> facts)
Deprecated.
getDeliveryPreference
|
Set<DeliveryPreference> |
getDeliveryPreferences(String[] guids,
Hashtable<String,Object> facts)
Deprecated.
getDeliveryPreferences
|
Set<DeviceAddress> |
getDeviceAddresses(String[] addrids)
Deprecated.
Get device addresses for the specified address ids.
|
Set<DeviceAddress> |
getDeviceAddresses(String userGUID,
String[] addrids)
Deprecated.
Get device addresses for the specified user and address ids.
|
RuleSet |
getRuleSet(String userID)
Deprecated.
Get the rule set for the specified user.
|
UserRuleSet |
getUserRuleSet(String userID)
Deprecated.
Retrieve the rule set for the specified userID.
|
UserRuleSet |
getUserRuleSet(String userID,
boolean create)
Deprecated.
Retrieve the rule set for the specified userID, and specify
whether to create a new rule set if one does not already exist.
|
TermOperationType[] |
getValidOperations(String type)
Deprecated.
|
void |
reload(UserPrefsObject object)
Deprecated.
|
void |
removeRuleSet(String userID)
Deprecated.
Remove the rule set for the specified user.
|
void |
removeUserRuleSet(String userID)
Deprecated.
|
void |
save(UserPrefsObject object)
Deprecated.
|
UserDevice createUserDevice(String userID, String name) throws UserPrefsException, IllegalArgumentException, ObjectAlreadyExistsException
userID - globally unique user idname - the name of the user device. It is unique per device.UserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if userID or name is nullObjectAlreadyExistsException - if duplicate object creation is attemptedSet<UserDevice> findUserDevices(String userID, String nameExp) throws UserPrefsException
userID - globally unique user idnameExp - the regular expression of the user device name. The
expression is limited to semantics of 'LIKE' clause in
SQL.UserPrefsException - if there is a fault or exception on the server sideDeviceAddress createDeviceAddress(UserDevice userDevice, String address) throws UserPrefsException, IllegalArgumentException, ObjectAlreadyExistsException
userDevice - the device to which the created address is associatedaddress - the unique user device addressUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if a parameter is nullObjectAlreadyExistsException - if duplicate object creation is attemptedRuleSet createRuleSet(String userID) throws UserPrefsException, IllegalArgumentException, ObjectAlreadyExistsException
userID - globally unique user idUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if the userID is nullObjectAlreadyExistsException - if duplicate object creation is attemptedDeviceAddress findDeviceAddress(String address) throws UserPrefsException, IllegalArgumentException
address - the address value for the device addressUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if a parameter is nullRuleSet getRuleSet(String userID) throws UserPrefsException, IllegalArgumentException
userID - the unique id for the RuleSetUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if userID is nullvoid removeRuleSet(String userID) throws UserPrefsException, IllegalArgumentException, ObjectNotFoundException
userID - the unique id for the RuleSetUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if userID is nullObjectNotFoundException - thrown if rule set does not existSet<RuleSet> findRuleSets(String[] guids) throws UserPrefsException
guids - the array of global user idsUserPrefsException - if there is a fault or exception on the server sideSet<DeviceAddress> getDeviceAddresses(String[] addrids) throws UserPrefsException
addrids - the array of global device address idsUserPrefsException - if there is a fault or exception on the server sideSet<DeviceAddress> getDeviceAddresses(String userGUID, String[] addrids) throws UserPrefsException
userGUID - globally unique idaddrids - the array of global device address idsUserPrefsException - if there is a fault or exception on the server sideSet<DeviceAddress> findAllDeviceAddresses(DeliveryType[] deliveryTypes, String addressExp) throws UserPrefsException, IllegalArgumentException
deliveryTypes - array of delivery type objectsaddressExp - the regular expression of the address. The expression is
limited to semantics of 'LIKE' clause in SQL.UserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if a parameter is nullvoid save(UserPrefsObject object) throws UserPrefsException, IllegalArgumentException
object - Object(RuleSet, DeviceAddress, UserDevice) to be saved
into the persistent store. This is used to permanantly
save the values of the object after any changes have
been made.UserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if the argument is nullvoid delete(UserPrefsObject object) throws UserPrefsException, IllegalArgumentException, ObjectNotFoundException
object - Object(RuleSet, DeviceAddress, UserDevice) to be removed
from the persistent store.UserPrefsException - thrown if there is a fault or exception on the server
sideIllegalArgumentException - if the argument is nullObjectNotFoundException - if the UserPrefsObject does not existvoid reload(UserPrefsObject object) throws UserPrefsException, IllegalArgumentException
object - Object (RuleSet, DeviceAddress, UserDevice) to be
reloaded from the persistent store. It will then hold
the current vaues.UserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if the argument is nullUserRuleSet createUserRuleSet(String userID) throws UserPrefsException, IllegalArgumentException, ObjectAlreadyExistsException
userID - globally unique user idUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if the userID is nullObjectAlreadyExistsException - if duplicate object creation is attemptedUserRuleSet getUserRuleSet(String userID) throws UserPrefsException, IllegalArgumentException, ObjectNotFoundException
userID - the unique id for the RuleSetUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if userID is nullObjectNotFoundException - if no rule set exists for the specified userUserRuleSet getUserRuleSet(String userID, boolean create) throws UserPrefsException, IllegalArgumentException, ObjectNotFoundException
userID - the unique id for the RuleSetcreate - flag to indicate if a user rule set should be created if
it does not existUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if userID is nullObjectNotFoundException - if no rule set exists for the specified user, and the
create parameter is falsevoid removeUserRuleSet(String userID) throws UserPrefsException, IllegalArgumentException, ObjectNotFoundException
userID - the unique id for the UserRuleSetUserPrefsException - if there is a fault or exception on the server sideIllegalArgumentException - if userID is nullObjectNotFoundException - if userID does not existSet<UserRuleSet> findUserRuleSets(String[] guids) throws UserPrefsException
guids - array of global user idsUserPrefsException - if there is a fault or exception on the server sideBusinessRuleTerm[] getBusinessRuleTerms()
TermOperationType[] getValidOperations(String type)
type - String describing the Business Term Type@Deprecated DeviceAddress getDefaultAddress(String userID) throws UserPrefsException
getDefaultAddresses(String). As
of 11.1.1.4.0, there can be multiple default
addresses. This method is deprecated, and will return
only one default address (first one that is found).userID - UserPrefsExceptionDeviceAddress[] getDefaultAddresses(String userID) throws UserPrefsException
userID - UserPrefsExceptionString getBusinessTermType(String businessTermName)
businessTermName - the name of the Business TermDeliveryPreference getDeliveryPreference(String userID, Hashtable<String,Object> facts) throws UserPrefsException, IllegalArgumentException
userID - the user idfacts - the hashtable containing the business terms and valuesUserPrefsExceptionIllegalArgumentExceptionSet<DeliveryPreference> getDeliveryPreferences(String[] guids, Hashtable<String,Object> facts) throws UserPrefsException
guids - array of user idsfacts - the hashtable containing the business terms and valuesUserPrefsExceptionCopyright © 2009,2014 Oracle and/or its affiliates. All rights reserved.