org.sakaiproject.metaobj.shared.control
Class ImportStructuredArtifactDefinitionController

java.lang.Object
  extended byorg.sakaiproject.metaobj.utils.mvc.impl.servlet.AbstractFormController
      extended byorg.sakaiproject.metaobj.shared.control.AbstractStructuredArtifactDefinitionController
          extended byorg.sakaiproject.metaobj.shared.control.AddStructuredArtifactDefinitionController
              extended byorg.sakaiproject.metaobj.shared.control.ImportStructuredArtifactDefinitionController
All Implemented Interfaces:
CancelableController, Controller, CustomCommandController, FormController, LoadObjectController, Validator

public class ImportStructuredArtifactDefinitionController
extends AddStructuredArtifactDefinitionController
implements Controller, Validator


Field Summary
 
Fields inherited from class org.sakaiproject.metaobj.shared.control.AddStructuredArtifactDefinitionController
SAD_SESSION_TAG
 
Fields inherited from class org.sakaiproject.metaobj.shared.control.AbstractStructuredArtifactDefinitionController
logger
 
Fields inherited from class org.sakaiproject.metaobj.utils.mvc.impl.servlet.AbstractFormController
PARAM_CANCEL
 
Constructor Summary
ImportStructuredArtifactDefinitionController()
           
 
Method Summary
 Object formBackingObject(Map request, Map session, Map application)
           
 ContentHostingService getContentHosting()
           
 EntityManager getEntityManager()
           
 SessionManager getSessionManager()
           
 ModelAndView handleRequest(Object requestModel, Map request, Map session, Map application, Errors errors)
           
 Map referenceData(Map request, Object command, Errors errors)
          Create a map of all data the form requries.
 void setContentHosting(ContentHostingService contentHosting)
           
 void setEntityManager(EntityManager entityManager)
           
 void setSessionManager(SessionManager sessionManager)
           
 boolean supports(Class clazz)
           
 void validate(Object obj, Errors errors)
           
 
Methods inherited from class org.sakaiproject.metaobj.shared.control.AddStructuredArtifactDefinitionController
fillBackingObject, save
 
Methods inherited from class org.sakaiproject.metaobj.shared.control.AbstractStructuredArtifactDefinitionController
checkPermission, getAuthManager, getAuthzManager, getHomeFactory, getIdManager, getListScrollIndexer, getStructuredArtifactDefinitionManager, getToolId, getTypeIndex, getUserSites, getWorksiteManager, isMaintainer, prepareListView, setAuthManager, setAuthzManager, setHomeFactory, setIdManager, setListScrollIndexer, setStructuredArtifactDefinitionManager, setToolId, setWorksiteManager
 
Methods inherited from class org.sakaiproject.metaobj.utils.mvc.impl.servlet.AbstractFormController
isCancel, processCancel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportStructuredArtifactDefinitionController

public ImportStructuredArtifactDefinitionController()
Method Detail

formBackingObject

public Object formBackingObject(Map request,
                                Map session,
                                Map application)
Specified by:
formBackingObject in interface CustomCommandController
Overrides:
formBackingObject in class AddStructuredArtifactDefinitionController

handleRequest

public ModelAndView handleRequest(Object requestModel,
                                  Map request,
                                  Map session,
                                  Map application,
                                  Errors errors)
Specified by:
handleRequest in interface Controller
Overrides:
handleRequest in class AddStructuredArtifactDefinitionController

referenceData

public Map referenceData(Map request,
                         Object command,
                         Errors errors)
Description copied from interface: FormController
Create a map of all data the form requries. Useful for building up drop down lists, etc.

Specified by:
referenceData in interface FormController
Overrides:
referenceData in class AddStructuredArtifactDefinitionController

supports

public boolean supports(Class clazz)
Specified by:
supports in interface Validator

validate

public void validate(Object obj,
                     Errors errors)
Specified by:
validate in interface Validator

getSessionManager

public SessionManager getSessionManager()
Overrides:
getSessionManager in class AddStructuredArtifactDefinitionController

setSessionManager

public void setSessionManager(SessionManager sessionManager)
Overrides:
setSessionManager in class AddStructuredArtifactDefinitionController

getContentHosting

public ContentHostingService getContentHosting()

setContentHosting

public void setContentHosting(ContentHostingService contentHosting)

getEntityManager

public EntityManager getEntityManager()

setEntityManager

public void setEntityManager(EntityManager entityManager)