com.sage.orion.sdata.servlet.accpac
Class FormlessReportService
java.lang.Object
com.sage.orion.sdata.servlet.BaseServiceOperation
com.sage.orion.sdata.servlet.accpac.BaseService
com.sage.orion.sdata.servlet.accpac.ReportService
com.sage.orion.sdata.servlet.accpac.FormlessReportService
- All Implemented Interfaces:
- ServiceOperation
- Direct Known Subclasses:
- AdvancedReportService
public class FormlessReportService
- extends ReportService
FormlessReportService overrides createTemplateFields of report service to
hide name override functionality from Sdata consumer. Only services that map
to this report service will be able to override report name
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormlessReportService
public FormlessReportService(ApplicationContext applicationContext,
ResourceContextImpl resourceContext,
Resource resource,
Service service,
SDataViewSet viewSet)
- Constructor which uses the report object created from the report name
defined for this service operation
- Parameters:
applicationContext
- the application context in which the service operation will be
runresourceContext
- the resource context in which the service operation will be runresource
- the resource on which the service operation will be performedservice
- the service operation to be performedviewSet
- the SDataViewSet associated with the resource
createTemplateFields
protected java.util.List<ServiceField> createTemplateFields(SDataRequest request)
- Create a list of fields for Template.
The list must be the same as (or a subset of) request fields and each
field has been initialized with default value
- Overrides:
createTemplateFields
in class ReportService
- Parameters:
request
- the SDataRequest
- Returns:
- a list of service fields for Template, or return null or
an empty list if there are no such fields.
Copyright © 2011 Sage Software, Inc. All rights reserved.