public interface ServiceData
Modifier and Type | Method and Description |
---|---|
String |
getGlobalServiceAttribute(String attrName)
Deprecated.
Replaced by
getServiceAttribute(String) |
List |
getGlobalServiceAttributeList()
Deprecated.
Replaced by
getServiceAttributeList() |
String |
getGlobalServiceEncryptedAttribute(String attrName)
Deprecated.
Replaced by
getServiceEncryptedAttribute(String) |
String |
getServiceAttribute(String attrName)
Returns the value for a service attribute that's not uniquely
administered for a particular user, but global to the service.
|
String |
getServiceAttribute(String userAddress,
String attrName)
Returns the value for a service attribute, the serviceName is not
required.
|
List |
getServiceAttributeList()
Returns a list of available Service Attributes for a given service.
|
String |
getServiceEncryptedAttribute(String attrName)
Returns the value for a service encrypted attribute that's not uniquely
administered for a particular user, but global to the service.
|
String getServiceAttribute(String userAddress, String attrName) throws NoUserFoundException, NoAttributeFoundException, ServiceNotFoundException, NoServiceProfileFoundException
userAddress
- user address in the form of "user@domain"attrName
- attribute name as specified in the attribute element, name
attribute in the properties.xml file of the service archiveNoServiceProfileFoundException
- when the user is not configured with a service profile in the
UI.ServiceNotFoundException
- when the service was not deployed/installed in CE.NoUserFoundException
- when the user was not configured in CE.NoAttributeFoundException
@Deprecated String getGlobalServiceAttribute(String attrName) throws NoAttributeFoundException, ServiceNotFoundException
getServiceAttribute(String)
String getServiceAttribute(String attrName) throws NoAttributeFoundException, ServiceNotFoundException
UnsupportedOperationException
runtime exception.
Service Encrypted attributes should be retrieved via appropriate method.attrName
- attribute name as specified in the attribute element, name
attribute in the properties.xml file of the service archive.NoAttributeFoundException
- when the attribute does not exist in the properties.xml file.ServiceNotFoundException
- when the service name does not exist, the service name as
specified in the properties.xml file.List getServiceAttributeList() throws ServiceNotFoundException
none
- ServiceNotFoundException
- when the service was not deployed in CE.@Deprecated List getGlobalServiceAttributeList() throws ServiceNotFoundException
getServiceAttributeList()
ServiceNotFoundException
@Deprecated String getGlobalServiceEncryptedAttribute(String attrName) throws NoAttributeFoundException, ServiceNotFoundException
getServiceEncryptedAttribute(String)
String getServiceEncryptedAttribute(String attrName) throws NoAttributeFoundException, ServiceNotFoundException
attrName
- attribute name as specified in the attribute element, name
attribute in the properties.xml file of the service archive.NoAttributeFoundException
- when the attribute does not exist in the properties.xml file.ServiceNotFoundException
- when the service name does not exist, the service name as
specified in the properties.xml file.Copyright © 2014 Avaya. All Rights Reserved.