com.genesyslab.openmedia.soa
Interface SystemService

All Superinterfaces:
IService, java.rmi.Remote

public interface SystemService
extends IService

This service provides system and configuration information.


Method Summary
 KeyValue[] getApplicationInfoDTO(java.lang.String[] attributes)
          Returns the Configuration Layer's information about the current application.
 BusinessAttributeDTO[] getBusinessAttributesDTO(java.lang.String[] names, java.lang.String[] attributes, java.lang.String[] valuesAttributes)
          Retrieves all the requested business attributes defined in the Configuration Layer for the current application's tenant.
 BusinessAttributeDTO getInteractionSubtypesDTO(java.lang.String[] attributes, java.lang.String[] valuesAttributes)
          Returns the "Interaction Subtype" business attribute defined in the Configuration Layer for the current application's tenant.
 BusinessAttributeDTO getInteractionTypesDTO(java.lang.String[] attributes, java.lang.String[] valuesAttributes)
          Returns the "Interaction Type" business attribute defined in the Configuration Layer for the current application's tenant.
 BusinessAttributeDTO getMediaTypesDTO(java.lang.String[] attributes, java.lang.String[] valuesAttributes)
          Returns all the "Media Type" business attributes defined in the Configuration Layer in the current application's tenant.
 java.lang.String getServerVersion()
          Returns the current Open Services version (ex : 7.6.000.10).
 ServiceInfo[] getServiceInfos()
          Retrieves information about the server connection backends.
 

Method Detail

getApplicationInfoDTO

public KeyValue[] getApplicationInfoDTO(java.lang.String[] attributes)
                                 throws ServiceException,
                                        java.rmi.RemoteException
Returns the Configuration Layer's information about the current application.

Parameters:
attributes - The attributes to retrieve (application-info:*).
Returns:
The attributes.
Throws:
ServiceException
java.rmi.RemoteException

getMediaTypesDTO

public BusinessAttributeDTO getMediaTypesDTO(java.lang.String[] attributes,
                                             java.lang.String[] valuesAttributes)
                                      throws ServiceException,
                                             java.rmi.RemoteException
Returns all the "Media Type" business attributes defined in the Configuration Layer in the current application's tenant.

Parameters:
attributes - The attributes to retrieve for the business attribute (business-attribute:*).
valuesAttributes - The attributes to retrieve for the business attribute values (business-attribute-value:*).
Returns:
The business attribute and the associated values.
Throws:
ServiceException
java.rmi.RemoteException

getInteractionTypesDTO

public BusinessAttributeDTO getInteractionTypesDTO(java.lang.String[] attributes,
                                                   java.lang.String[] valuesAttributes)
                                            throws ServiceException,
                                                   java.rmi.RemoteException
Returns the "Interaction Type" business attribute defined in the Configuration Layer for the current application's tenant.

Parameters:
attributes - The attributes to retrieve for the business attribute (business-attributes:*).
valuesAttributes - The attributes to retrieve for the business attribute values (business-attribute-value:*).
Returns:
The business attribute and the associated values.
Throws:
ServiceException
java.rmi.RemoteException

getInteractionSubtypesDTO

public BusinessAttributeDTO getInteractionSubtypesDTO(java.lang.String[] attributes,
                                                      java.lang.String[] valuesAttributes)
                                               throws ServiceException,
                                                      java.rmi.RemoteException
Returns the "Interaction Subtype" business attribute defined in the Configuration Layer for the current application's tenant.

Parameters:
attributes - The attributes to retrieve for the business attribute (business-attributes:*).
valuesAttributes - The attributes to retrieve for the business attribute values (business-attribute-value:*).
Returns:
The business attribute and the associated values.
Throws:
ServiceException
java.rmi.RemoteException

getServiceInfos

public ServiceInfo[] getServiceInfos()
                              throws ServiceException,
                                     java.rmi.RemoteException
Retrieves information about the server connection backends.

Returns:
The service infos.
Throws:
ServiceException
java.rmi.RemoteException

getBusinessAttributesDTO

public BusinessAttributeDTO[] getBusinessAttributesDTO(java.lang.String[] names,
                                                       java.lang.String[] attributes,
                                                       java.lang.String[] valuesAttributes)
                                                throws ServiceException,
                                                       java.rmi.RemoteException
Retrieves all the requested business attributes defined in the Configuration Layer for the current application's tenant.

Parameters:
names - The business attribute names. Cannot be null.
attributes - The attributes to retrieve for the business attributes (business-attributes:*).
valuesAttributes - The attributes to retrieve for the business attribute values (business-attribute-value:*).
Returns:
The business attributes and their associated values.
Throws:
ServiceException
java.rmi.RemoteException

getServerVersion

public java.lang.String getServerVersion()
                                  throws ServiceException,
                                         java.rmi.RemoteException
Returns the current Open Services version (ex : 7.6.000.10).

Returns:
The version.
Throws:
ServiceException
java.rmi.RemoteException
Since:
76