lumis.content.service
Class ContentServiceInterface

Package class diagram package ContentServiceInterface
java.lang.Object
  extended by lumis.portal.serviceinterface.GenericServiceInterface
      extended by lumis.doui.service.DouiServiceInterface
          extended by lumis.content.service.ContentServiceInterface
All Implemented Interfaces:
IDouiServiceInterface, IServiceInterface, IServiceInterfaceMenu
Direct Known Subclasses:
ChatRoomParticipateInterface, ContentAdministrationPropertyPageServiceInterface, ContentDetailsServiceInterface, ContentGenericListServiceInterface

@StableMinor(version="5.5",
             sinceVersion="4.0")
public class ContentServiceInterface
extends DouiServiceInterface

Interface for content service interfaces

Since:
4.0.0

Field Summary
 
Fields inherited from class lumis.doui.service.DouiServiceInterface
VALIDATE_RENDER_PARAMETER
 
Constructor Summary
ContentServiceInterface()
           
 
Method Summary
protected  boolean addDefaultControls(Node serviceInterfaceDouiDefinitionNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode)
           
protected  boolean addDefaultOrderBy(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode)
           
protected  String getCustomMenu(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction)
           
protected  String getDefaultStyle()
           
 String getRepositoryMenus(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction)
           
 void load(ServiceInterfaceConfig config)
          Called by the service interface container to indicate to a service interface that the service interface is being placed into service.
 
Methods inherited from class lumis.doui.service.DouiServiceInterface
addDefaultDouiDefinitionValues, addDefaultFields, addDefaultFilters, addDefaultHyperLinks, addDefaultInterfaceDouiDefinitionNode, addDefaultMaxRows, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getInterfaceSourceFieldsNode, getMenu, processAction, register, render, renderBefore, renderData
 
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentServiceInterface

public ContentServiceInterface()
Method Detail

load

public void load(ServiceInterfaceConfig config)
          throws ServiceInterfaceException,
                 PortalException
Description copied from interface: IServiceInterface
Called by the service interface container to indicate to a service interface that the service interface is being placed into service.

The service interface container calls the init method exactly once after instantiating the service interface. The init method must complete successfully before the service interface can receive any requests.

The service interface container cannot place the service interface into service if the init method

  1. Throws a ServiceInterfaceException
  2. Does not return within a time period defined by the service interface container.

Specified by:
load in interface IServiceInterface
Overrides:
load in class GenericServiceInterface
Parameters:
config - a ServiceInterfaceConfig object containing the service interface's configuration and initialization parameters
Throws:
ServiceInterfaceException - if an exception has occurred that interferes with the service interface's normal operation.
PortalException - if the service interface cannot perform the initialization at this time.

getDefaultStyle

protected String getDefaultStyle()
Overrides:
getDefaultStyle in class DouiServiceInterface

getCustomMenu

protected String getCustomMenu(SessionConfig sessionConfig,
                               ServiceInterfaceInstanceConfig config,
                               ITransaction transaction)
                        throws PortalException
Overrides:
getCustomMenu in class DouiServiceInterface
Throws:
PortalException

getRepositoryMenus

public String getRepositoryMenus(SessionConfig sessionConfig,
                                 ServiceInterfaceInstanceConfig config,
                                 ITransaction transaction)
                          throws PortalException
Overrides:
getRepositoryMenus in class DouiServiceInterface
Throws:
PortalException

addDefaultControls

protected boolean addDefaultControls(Node serviceInterfaceDouiDefinitionNode,
                                     Node serviceDouiDefinitionNode,
                                     Node serviceInterfaceXmlNode)
                              throws PortalException
Overrides:
addDefaultControls in class DouiServiceInterface
Throws:
PortalException

addDefaultOrderBy

protected boolean addDefaultOrderBy(Node serviceInterfaceSourceNode,
                                    Node serviceDouiDefinitionNode,
                                    Node serviceInterfaceXmlNode)
                             throws PortalException
Overrides:
addDefaultOrderBy in class DouiServiceInterface
Throws:
PortalException


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