eu.etaxonomy.cdm.remote.controller
Class AgentListController

java.lang.Object
  extended by eu.etaxonomy.cdm.remote.controller.AbstractController<T,SERVICE>
      extended by eu.etaxonomy.cdm.remote.controller.AbstractListController<T,SERVICE>
          extended by eu.etaxonomy.cdm.remote.controller.BaseListController<T,SERVICE>
              extended by eu.etaxonomy.cdm.remote.controller.IdentifiableListController<AgentBase,IAgentService>
                  extended by eu.etaxonomy.cdm.remote.controller.AgentListController

@Controller
@RequestMapping(value="/agent")
public class AgentListController
extends IdentifiableListController<AgentBase,IAgentService>

The AgentListController class is a Spring MVC Controller.

The syntax of the mapped service URIs contains the the {datasource-name} path element. The available {datasource-name}s are defined in a configuration file which is loaded by the UpdatableRoutingDataSource. If the UpdatableRoutingDataSource is not being used in the actual application context any arbitrary {datasource-name} may be used.

Methods mapped at type level, inherited from super classes (BaseController):

URI: /{datasource-name}/agent/ Depending on the URI parameters used this service returns either a Pager on or a List of the AgentBase entities identified by the {agent-uuid}. The returned AgentBase instances are initialized by the following strategy: AbstractController.DEFAULT_INIT_STRATEGY

URI Parameters to return a Pager:

URI Parameters to return a List:

Author:
a.kohlbecker

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.remote.controller.BaseListController
logger
 
Fields inherited from class eu.etaxonomy.cdm.remote.controller.AbstractController
DEFAULT_INIT_STRATEGY, DEFAULT_PAGE_SIZE, initializationStrategy, service
 
Constructor Summary
AgentListController()
           
 
Method Summary
 void setService(IAgentService service)
           
 
Methods inherited from class eu.etaxonomy.cdm.remote.controller.IdentifiableListController
doFindByTitle
 
Methods inherited from class eu.etaxonomy.cdm.remote.controller.BaseListController
doList, doPage, initBinder
 
Methods inherited from class eu.etaxonomy.cdm.remote.controller.AbstractController
requestPathAndQuery, setInitializationStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentListController

public AgentListController()
Method Detail

setService

@Autowired
public void setService(IAgentService service)
Specified by:
setService in class AbstractController<AgentBase,IAgentService>


Copyright © 2007-2013 EDIT. All Rights Reserved.