lumis.portal.serviceinterface
Interface IServiceInterfaceManager

Package class diagram package IServiceInterfaceManager
All Superinterfaces:
IConfigKeyChecker
All Known Implementing Classes:
ServiceInterfaceManager

@StableMinor(version="4.1",
             sinceVersion="4.0")
public interface IServiceInterfaceManager
extends IConfigKeyChecker

Interface for the Service Interface Manager.

Since:
4.0.0

Field Summary
static String INTERFACE_HOLDER_ID
           
 
Method Summary
 void addOrUpdateStyle(SessionConfig sessionConfig, ServiceInterfaceStyleConfig serviceInterfaceStyleConfig, ITransaction transaction)
          Add or update a Style.
 void deleteStyle(SessionConfig sessionConfig, String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction transaction)
          Delete a Style.
 void deserializeStyle(SessionConfig sessionConfig, Node interfaceStyleNode, ITransaction transaction)
          Deserializes a ServiceInterfaceStyleConfig contained in the interfaceStyleNode.
 Collection<String> getIdsByServiceId(String serviceId, ITransaction transaction)
          Get the service interface ids from a given service.
 ServiceInterfaceMenuGroupTypeConfig getMenuGroupType(SessionConfig sessionConfig, String menuGroupTypeId, ITransaction transaction)
          Get the menu group type.
 ServiceInterfaceMenuItemTypeConfig getMenuItemType(SessionConfig sessionConfig, String menuItemTypeId, ITransaction transaction)
          Get the menu item type.
 IServiceInterface getServiceInterface(String serviceInterfaceId, ITransaction transaction)
          Get the service interface.
 ServiceInterfaceConfig getServiceInterfaceConfig(String serviceInterfaceId, ITransaction transaction)
          Get the configuration of the service interface.
 ServiceInterfaceStyleConfig getStyle(SessionConfig sessionConfig, String serviceInterfaceStyleId, String serviceInterfaceId, ITransaction transaction)
          Get the style configuration os the service interface.
 ServiceInterfaceStyleConfig getStyleByServiceInterfaceInstanceId(SessionConfig sessionConfig, String serviceInterfaceInstanceId, ITransaction transaction)
          Get the Style given the ServiceInterfaceInstanceId.
 IConfigKeyChecker getStyleConfigKeyChecker()
           
 Collection<String> getStyleIds(SessionConfig sessionConfig, String serviceInterfaceId, ITransaction transaction)
          Get the Id of all styles associated with a service interface.
 void register(SessionConfig sessionConfig, String serviceConfigPath, ITransaction transaction)
          Register the service interface.
 void registerMenuGroupTypes(SessionConfig sessionConfig, String groupTypesConfigPath, ITransaction transaction)
          Register the menu group types.
 void registerMenuItemTypes(SessionConfig sessionConfig, String itemTypesConfigPath, ITransaction transaction)
          Register menu item type.
 void registerServiceInterfaceTypes(SessionConfig sessionConfig, String serviceTypesConfigPath, ITransaction transaction)
          Register the type of the service interface.
 void serializeStyle(SessionConfig sessionConfig, String serviceInterfaceStyleId, String serviceInterfaceId, OutputStream outputStream, ITransaction transaction)
          Serializes a ServiceInterfaceStyleConfig to the specified outputStream.
 void unregister(SessionConfig sessionConfig, ServiceInterfaceConfig serviceInterfaceConfig, ITransaction transaction)
          Unregister the Service Interface.
 void unregisterMenuGroupType(SessionConfig sessionConfig, String typeId, ITransaction transaction)
          Unregisters a service menu group type.
 void unregisterMenuItemType(SessionConfig sessionConfig, String typeId, ITransaction transaction)
          Unregisters a service menu item type.
 void unregisterServiceInterfaceType(String typeId, ITransaction transaction)
          Unregister the type of service interface.
 
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
 

Field Detail

INTERFACE_HOLDER_ID

static final String INTERFACE_HOLDER_ID
See Also:
Constant Field Values
Method Detail

register

void register(SessionConfig sessionConfig,
              String serviceConfigPath,
              ITransaction transaction)
              throws ManagerException,
                     PortalException
Register the service interface.

Parameters:
sessionConfig -
serviceConfigPath -
transaction -
Throws:
ManagerException
PortalException

getServiceInterfaceConfig

ServiceInterfaceConfig getServiceInterfaceConfig(String serviceInterfaceId,
                                                 ITransaction transaction)
                                                 throws ManagerException,
                                                        PortalException
Get the configuration of the service interface.

Parameters:
serviceInterfaceId -
transaction -
Returns:
a ServiceInterfaceConfig.
Throws:
ManagerException
PortalException

getIdsByServiceId

Collection<String> getIdsByServiceId(String serviceId,
                                     ITransaction transaction)
                                     throws ManagerException,
                                            PortalException
Get the service interface ids from a given service.

Parameters:
serviceId -
transaction -
Returns:
a array of Strings.
Throws:
ManagerException
PortalException

getServiceInterface

IServiceInterface getServiceInterface(String serviceInterfaceId,
                                      ITransaction transaction)
                                      throws ManagerException,
                                             PortalException
Get the service interface.

Parameters:
serviceInterfaceId -
transaction -
Returns:
an IServiceInterface.
Throws:
ManagerException
PortalException

registerServiceInterfaceTypes

void registerServiceInterfaceTypes(SessionConfig sessionConfig,
                                   String serviceTypesConfigPath,
                                   ITransaction transaction)
                                   throws ManagerException,
                                          PortalException
Register the type of the service interface.

Parameters:
sessionConfig -
serviceTypesConfigPath -
transaction -
Throws:
ManagerException
PortalException

unregisterServiceInterfaceType

void unregisterServiceInterfaceType(String typeId,
                                    ITransaction transaction)
                                    throws ManagerException,
                                           PortalException
Unregister the type of service interface.

Parameters:
typeId -
transaction -
Throws:
ManagerException
PortalException

getStyle

ServiceInterfaceStyleConfig getStyle(SessionConfig sessionConfig,
                                     String serviceInterfaceStyleId,
                                     String serviceInterfaceId,
                                     ITransaction transaction)
                                     throws ManagerException,
                                            PortalException
Get the style configuration os the service interface.

Parameters:
serviceInterfaceStyleId -
serviceInterfaceId -
transaction -
Returns:
a ServiceInterfaceStyleConfig.
Throws:
ManagerException
PortalException

addOrUpdateStyle

void addOrUpdateStyle(SessionConfig sessionConfig,
                      ServiceInterfaceStyleConfig serviceInterfaceStyleConfig,
                      ITransaction transaction)
                      throws ManagerException,
                             PortalException
Add or update a Style.

Parameters:
sessionConfig -
serviceInterfaceStyleConfig -
transaction -
Throws:
ManagerException
PortalException

deleteStyle

void deleteStyle(SessionConfig sessionConfig,
                 String serviceInterfaceStyleId,
                 String serviceInterfaceId,
                 ITransaction transaction)
                 throws ManagerException,
                        PortalException
Delete a Style.

Parameters:
sessionConfig -
serviceInterfaceStyleId -
serviceInterfaceId -
transaction -
Throws:
ManagerException
PortalException

getStyleByServiceInterfaceInstanceId

ServiceInterfaceStyleConfig getStyleByServiceInterfaceInstanceId(SessionConfig sessionConfig,
                                                                 String serviceInterfaceInstanceId,
                                                                 ITransaction transaction)
                                                                 throws ManagerException,
                                                                        PortalException
Get the Style given the ServiceInterfaceInstanceId.

Parameters:
sessionConfig -
serviceInterfaceInstanceId -
transaction -
Returns:
a ServiceInterfaceStyleConfig.
Throws:
ManagerException
PortalException

registerMenuGroupTypes

void registerMenuGroupTypes(SessionConfig sessionConfig,
                            String groupTypesConfigPath,
                            ITransaction transaction)
                            throws ManagerException,
                                   PortalException
Register the menu group types.

Parameters:
sessionConfig -
groupTypesConfigPath -
transaction -
Throws:
ManagerException
PortalException

registerMenuItemTypes

void registerMenuItemTypes(SessionConfig sessionConfig,
                           String itemTypesConfigPath,
                           ITransaction transaction)
                           throws ManagerException,
                                  PortalException
Register menu item type.

Parameters:
sessionConfig -
itemTypesConfigPath -
transaction -
Throws:
ManagerException
PortalException

getMenuGroupType

ServiceInterfaceMenuGroupTypeConfig getMenuGroupType(SessionConfig sessionConfig,
                                                     String menuGroupTypeId,
                                                     ITransaction transaction)
                                                     throws ManagerException,
                                                            PortalException
Get the menu group type.

Parameters:
sessionConfig -
menuGroupTypeId -
transaction -
Returns:
a ServiceInterfaceMenuGroupTypeConfig.
Throws:
ManagerException
PortalException

getMenuItemType

ServiceInterfaceMenuItemTypeConfig getMenuItemType(SessionConfig sessionConfig,
                                                   String menuItemTypeId,
                                                   ITransaction transaction)
                                                   throws ManagerException,
                                                          PortalException
Get the menu item type.

Parameters:
sessionConfig -
menuItemTypeId -
transaction -
Returns:
a ServiceInterfaceMenuItemConfig.
Throws:
ManagerException
PortalException

unregister

void unregister(SessionConfig sessionConfig,
                ServiceInterfaceConfig serviceInterfaceConfig,
                ITransaction transaction)
                throws ManagerException,
                       PortalException
Unregister the Service Interface.

Parameters:
sessionConfig -
serviceInterfaceConfig -
transaction -
Throws:
ManagerException
PortalException

getStyleIds

Collection<String> getStyleIds(SessionConfig sessionConfig,
                               String serviceInterfaceId,
                               ITransaction transaction)
                               throws ManagerException,
                                      PortalException
Get the Id of all styles associated with a service interface.

Parameters:
sessionConfig -
serviceInterfaceId -
transaction -
Returns:
Throws:
ManagerException
PortalException
Since:
4.0.3

serializeStyle

void serializeStyle(SessionConfig sessionConfig,
                    String serviceInterfaceStyleId,
                    String serviceInterfaceId,
                    OutputStream outputStream,
                    ITransaction transaction)
                    throws ManagerException,
                           PortalException
Serializes a ServiceInterfaceStyleConfig to the specified outputStream.

Parameters:
sessionConfig -
serviceInterfaceStyleId -
serviceInterfaceId -
transaction -
Throws:
ManagerException
PortalException
Since:
4.0.3

deserializeStyle

void deserializeStyle(SessionConfig sessionConfig,
                      Node interfaceStyleNode,
                      ITransaction transaction)
                      throws ManagerException,
                             PortalException
Deserializes a ServiceInterfaceStyleConfig contained in the interfaceStyleNode.

Parameters:
sessionConfig -
interfaceStyleNode -
transaction -
Throws:
ManagerException
PortalException

unregisterMenuItemType

void unregisterMenuItemType(SessionConfig sessionConfig,
                            String typeId,
                            ITransaction transaction)
                            throws ManagerException,
                                   PortalException
Unregisters a service menu item type.

Parameters:
sessionConfig -
typeId -
transaction -
Throws:
ManagerException
PortalException
Since:
4.0.6

unregisterMenuGroupType

void unregisterMenuGroupType(SessionConfig sessionConfig,
                             String typeId,
                             ITransaction transaction)
                             throws ManagerException,
                                    PortalException
Unregisters a service menu group type.

Parameters:
sessionConfig -
typeId -
transaction -
Throws:
ManagerException
PortalException
Since:
4.0.6

getStyleConfigKeyChecker

IConfigKeyChecker getStyleConfigKeyChecker()


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.