fr.paris.lutece.plugins.workflow.modules.alert.service
Class TaskAlertConfigService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.alert.service.TaskAlertConfigService

public final class TaskAlertConfigService
extends java.lang.Object

TaskAlertConfigService


Method Summary
 void create(TaskAlertConfig config)
          Create a new config
 java.util.List<TaskAlertConfig> findAll()
          Get all configs
 TaskAlertConfig findByPrimaryKey(int nIdTask)
          Find a config
static TaskAlertConfigService getService()
          Get the instance of TaskAlertConfigService
 void remove(int nIdTask)
          Remove a config
 void update(TaskAlertConfig config)
          Update a config
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getService

public static TaskAlertConfigService getService()
Get the instance of TaskAlertConfigService

Returns:
the instance of TaskAlertConfigService

create

public void create(TaskAlertConfig config)
Create a new config

Parameters:
config - the config

update

public void update(TaskAlertConfig config)
Update a config

Parameters:
config - the config

remove

public void remove(int nIdTask)
Remove a config

Parameters:
nIdTask - the task id

findByPrimaryKey

public TaskAlertConfig findByPrimaryKey(int nIdTask)
Find a config

Parameters:
nIdTask - the id task
Returns:
an instance of TaskAlertConfig

findAll

public java.util.List<TaskAlertConfig> findAll()
Get all configs

Returns:
a list of TaskAlertConfig


Copyright © 2012 Mairie de Paris. All Rights Reserved.