com.acsinet_solutions.cetia4.test.controller
Class Topics12Servlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.acsinet_solutions.cetia4.controller.rest.AbstractRestServlet
              extended by com.acsinet_solutions.cetia4.controller.rest.RestServlet
                  extended by com.acsinet_solutions.cetia4.test.controller.Topics12Servlet
All Implemented Interfaces:
AttributeKeys, ControllerConstants, RestModule, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Topics12Servlet
extends RestServlet

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.acsinet_solutions.cetia4.controller.ControllerConstants
_METHOD_PARAM, _PAGE_PARAM, _ROOT_PARAM, DEFAULT_VIEW, ERROR_URL, ERROR_VIEW, LOAD_CANCEL, LOAD_CURRENT, LOAD_DEFAULT, LOAD_ERROR, LOAD_PREVIOUS
 
Fields inherited from interface com.acsinet_solutions.cetia4.controller.AttributeKeys
_BUNDLE_KEY, _CONFIGURATION_KEY, _DEFAULT_CONTROLLER_KEY, _FORM_ACTION_KEY, _FORM_ATTRIBUTE_KEY, _LOCALE_KEY, _MESSAGE_KEY, _NAVIGATION_FLOW_KEY, _PORTAL_PATH_KEY, _RENDER_PARAMETERS_KEY, _SERVICE_LOCATOR_KEY, _SESSION_KEY, _SYSTEM_EXCEPTION_KEY, _VALIDATION_EXCEPTION_KEY
 
Constructor Summary
Topics12Servlet()
           
 
Method Summary
 java.lang.String insert(ActionContext context, TopicDTO topic)
           
 java.lang.String update(ActionContext context, int id, TopicDTO topic)
           
 
Methods inherited from class com.acsinet_solutions.cetia4.controller.rest.RestServlet
getModuleName, getNestedIndex, getNestedModules, getParentModule, getRestModule, getRootModule, nest, nest
 
Methods inherited from class com.acsinet_solutions.cetia4.controller.rest.AbstractRestServlet
doDelete, doGet, doPost, doPut, getConfiguration, getLocator, getLogger, getUserSessionManager, init
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.acsinet_solutions.cetia4.controller.rest.RestModule
getConfiguration, getLocator, getLogger
 

Constructor Detail

Topics12Servlet

public Topics12Servlet()
Method Detail

insert

@Mapper(includes={"name","text"})
public java.lang.String insert(ActionContext context,
                                              TopicDTO topic)

update

@Mapper(excludes="id",
        checkbox={"status","topicType:4"},
        configurator=TopicMapperConfigurator.class)
public java.lang.String update(ActionContext context,
                                                                                               int id,
                                                                                               TopicDTO topic)