fr.cnes.sitools.tasks.model
Class TaskResourceModel

java.lang.Object
  extended by org.restlet.engine.Helper
      extended by fr.cnes.sitools.common.model.ExtensionModel<ResourceParameter>
          extended by fr.cnes.sitools.plugins.resources.model.ResourceModel
              extended by fr.cnes.sitools.tasks.model.TaskResourceModel
All Implemented Interfaces:
IResource, Validable
Direct Known Subclasses:
AbstractCartOrderResourceModel, OrderResourceModel, ServiceDatasetSearchResourceModel

public class TaskResourceModel
extends ResourceModel

The Model for TaskResource

Author:
m.gond

Field Summary
static java.lang.String RESOURCE_IMPL_PARAM_NAME
          Resource implementation class name
static java.lang.String RUN_TYPE_PARAM_NAME_ADMINISTATION
          RunType parameter name Administration
static java.lang.String RUN_TYPE_PARAM_NAME_USER_INPUT
          RunType parameter name Client
 
Constructor Summary
TaskResourceModel()
          Default constructor
 
Method Summary
 java.lang.String getResourceImplClassName()
          Gets the the name of the class used as implementation of the task resource
 TaskRunTypeAdministration getRunTypeAdministration()
          Gets the runTypeAdministration value
 TaskRunTypeAdministration getRunTypeClient()
          Gets the runTypeClient value
 void setResourceImplClassName(java.lang.String resourceImplClassName)
          Sets the name of the class used as implementation of the task resource
 void setRunTypeAdministration(TaskRunTypeAdministration runType)
          Sets the value of runTypeAdministration
 void setRunTypeClient(TaskRunTypeAdministration runType)
          Sets the value of runTypeClient
 
Methods inherited from class fr.cnes.sitools.plugins.resources.model.ResourceModel
addParam, completeAttachUrlWith, getApplicationClassName, getBehavior, getDataSetSelection, getImage, getParameterByName, getParent, getResourceClassName, getValidator, initParametersForAdmin, setApplicationClassName, setBehavior, setDataSetSelection, setImage, setParent, setResourceClassName
 
Methods inherited from class fr.cnes.sitools.common.model.ExtensionModel
getClassAuthor, getClassName, getClassOwner, getClassVersion, getDescription, getDescriptionAction, getId, getName, getParametersMap, setClassAuthor, setClassName, setClassOwner, setClassVersion, setDescription, setDescriptionAction, setId, setName, setParametersMap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RUN_TYPE_PARAM_NAME_ADMINISTATION

public static final java.lang.String RUN_TYPE_PARAM_NAME_ADMINISTATION
RunType parameter name Administration

See Also:
Constant Field Values

RUN_TYPE_PARAM_NAME_USER_INPUT

public static final java.lang.String RUN_TYPE_PARAM_NAME_USER_INPUT
RunType parameter name Client

See Also:
Constant Field Values

RESOURCE_IMPL_PARAM_NAME

public static final java.lang.String RESOURCE_IMPL_PARAM_NAME
Resource implementation class name

See Also:
Constant Field Values
Constructor Detail

TaskResourceModel

public TaskResourceModel()
Default constructor

Method Detail

getRunTypeAdministration

public TaskRunTypeAdministration getRunTypeAdministration()
Gets the runTypeAdministration value

Returns:
the runType

setRunTypeAdministration

public void setRunTypeAdministration(TaskRunTypeAdministration runType)
Sets the value of runTypeAdministration

Parameters:
runType - the runType to set

getRunTypeClient

public TaskRunTypeAdministration getRunTypeClient()
Gets the runTypeClient value

Returns:
the runType

setRunTypeClient

public void setRunTypeClient(TaskRunTypeAdministration runType)
Sets the value of runTypeClient

Parameters:
runType - the runType to set

getResourceImplClassName

public java.lang.String getResourceImplClassName()
Gets the the name of the class used as implementation of the task resource

Returns:
the name of the class used as implementation of the task resource

setResourceImplClassName

public void setResourceImplClassName(java.lang.String resourceImplClassName)
Sets the name of the class used as implementation of the task resource

Parameters:
resourceImplClassName - the name of the class to set


Copyright © 2010-2013 CNES. All Rights Reserved.