Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.server.request.idcService
Class IdcServiceLogic

java.lang.Object
  extended by oracle.stellent.wcm.server.request.SiteRequestLogic<IdcServiceRequest>
      extended by oracle.stellent.wcm.server.request.idcService.IdcServiceLogic

Direct Known Subclasses:
ProxyLogic

public class IdcServiceLogic
extends SiteRequestLogic<IdcServiceRequest>

Logic for the IdcService command


Constructor Summary
IdcServiceLogic(ClientApplication clientApplication)
           

 

Method Summary
 oracle.stellent.ridc.protocol.ServiceResponse executeService(IdcServiceRequest request)
          Execute the service
 oracle.stellent.ridc.model.DataBinder getBinder(IdcServiceRequest request)
           
 ServiceAdapter getServiceAdapter()
           
protected  void populateBinder(IdcServiceRequest request, oracle.stellent.ridc.model.DataBinder binder)
          Populate the binder
protected  void populateBinderFromJson(IdcServiceRequest request, oracle.stellent.ridc.model.DataBinder binder)
          Populate this binder from the Json encoded binder
protected  void populateBinderFromParams(IdcServiceRequest request, oracle.stellent.ridc.model.DataBinder binder)
          Populate the binder from the explicitly defined parameters
protected  void populateBinderFromString(IdcServiceRequest request, oracle.stellent.ridc.model.DataBinder binder)
          Populate the binder from the serialized binder
 void validateSiteRequest(IdcServiceRequest request)
          Verify the request parameters

 

Methods inherited from class oracle.stellent.wcm.server.request.SiteRequestLogic
checkSecurity, checkSecurity, getClientApplication, getProject, getProject, getSection, getSection, getStructure, isSectionAvailable, setRequestSiteID

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

IdcServiceLogic

public IdcServiceLogic(ClientApplication clientApplication)

Method Detail

validateSiteRequest

public void validateSiteRequest(IdcServiceRequest request)
                         throws SiteRequestException
Description copied from class: SiteRequestLogic
Verify the request parameters
Overrides:
validateSiteRequest in class SiteRequestLogic<IdcServiceRequest>
Parameters:
request - the request
Throws:
SiteRequestException - if the parameters are not valid

getServiceAdapter

public ServiceAdapter getServiceAdapter()
Returns:
the service api

getBinder

public oracle.stellent.ridc.model.DataBinder getBinder(IdcServiceRequest request)
Parameters:
request - the idcservice command
Returns:
the binder for this request

executeService

public oracle.stellent.ridc.protocol.ServiceResponse executeService(IdcServiceRequest request)
                                                             throws SiteRequestException
Execute the service
Parameters:
request - the idcservice command
Returns:
the service response
Throws:
SiteRequestException

populateBinder

protected void populateBinder(IdcServiceRequest request,
                              oracle.stellent.ridc.model.DataBinder binder)
                       throws java.lang.Exception
Populate the binder
Parameters:
request - the idcservice command
binder - the default binder
Throws:
java.lang.Exception

populateBinderFromString

protected void populateBinderFromString(IdcServiceRequest request,
                                        oracle.stellent.ridc.model.DataBinder binder)
                                 throws java.lang.Exception
Populate the binder from the serialized binder
Parameters:
request - the idcservice command
binder - the current binder
Throws:
java.lang.Exception

populateBinderFromJson

protected void populateBinderFromJson(IdcServiceRequest request,
                                      oracle.stellent.ridc.model.DataBinder binder)
                               throws org.json.JSONException
Populate this binder from the Json encoded binder
Parameters:
request - the idcservice command
binder - the current binder
Throws:
org.json.JSONException

populateBinderFromParams

protected void populateBinderFromParams(IdcServiceRequest request,
                                        oracle.stellent.ridc.model.DataBinder binder)
                                 throws java.io.IOException
Populate the binder from the explicitly defined parameters
Parameters:
request - the idcservice command
binder - the current binder
Throws:
java.io.IOException

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.