lumis.service.doui.fields
Class FieldsInterface

Package class diagram package FieldsInterface
java.lang.Object
  extended by lumis.portal.serviceinterface.GenericServiceInterface
      extended by lumis.doui.service.DouiServiceInterface
          extended by lumis.service.doui.fields.FieldsInterface
All Implemented Interfaces:
IDouiServiceInterface, IServiceInterface, IServiceInterfaceMenu

public class FieldsInterface
extends DouiServiceInterface

DouiServiceInterface extension that validates user permissions on page that is going to be altered.

Since:
6.0.0

Field Summary
 
Fields inherited from class lumis.doui.service.DouiServiceInterface
VALIDATE_RENDER_PARAMETER
 
Constructor Summary
FieldsInterface()
           
 
Method Summary
 void processAction(IServiceInterfaceActionRequest request, IServiceInterfaceActionResponse response)
          Called by the service interface container to allow the service interface to process an action request.
 void render(IServiceInterfaceRenderRequest request, IServiceInterfaceRenderResponse response)
          Called by the service interface container to allow the service interface to generate the content of the response based on its current state.
 
Methods inherited from class lumis.doui.service.DouiServiceInterface
addDefaultControls, addDefaultDouiDefinitionValues, addDefaultFields, addDefaultFilters, addDefaultHyperLinks, addDefaultInterfaceDouiDefinitionNode, addDefaultMaxRows, addDefaultOrderBy, addDefaultPostLoadProcessors, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getCustomMenu, getDefaultStyle, getInterfaceSourceFieldsNode, getMenu, getRepositoryMenus, initDouiContext, loadFromRequest, loadSources, processActions, register, renderBefore, renderData, validate
 
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, load, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldsInterface

public FieldsInterface()
Method Detail

render

public void render(IServiceInterfaceRenderRequest request,
                   IServiceInterfaceRenderResponse response)
            throws ServiceInterfaceException,
                   PortalException
Description copied from class: DouiServiceInterface
Called by the service interface container to allow the service interface to generate the content of the response based on its current state.

Executes the following steps (implemented by the referenced methods):

Specified by:
render in interface IServiceInterface
Overrides:
render in class DouiServiceInterface
Parameters:
request - the render request
response - the render response
Throws:
ServiceInterfaceException - if the service interface has problems fulfilling the rendering request
PortalException - if the service interface is unavailable to perform render at this time

processAction

public void processAction(IServiceInterfaceActionRequest request,
                          IServiceInterfaceActionResponse response)
                   throws ServiceInterfaceException,
                          PortalException
Description copied from class: DouiServiceInterface
Called by the service interface container to allow the service interface to process an action request. This method is called if the client request was originated by a URL created (by the service interface) with the RenderResponse.createActionURL() method.

Typically, in response to an action request, a service interface updates state based on the information sent in the action request parameters. In an action the service interface may:

A client request triggered by an action URL translates into one action request and many render requests, one per service interface in the portal page. The action processing must be finished before the render requests can be issued.

Execute the following steps (implemented by the referenced methods):

Specified by:
processAction in interface IServiceInterface
Overrides:
processAction in class DouiServiceInterface
Parameters:
request - the action request
response - the action response
Throws:
ServiceInterfaceException - if the service interface has problems fulfilling the request
PortalException - if the service interface is unavailable to process the action at this time


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.