fr.paris.lutece.plugins.workflow.modules.notifycrm.service
Class TaskNotifyCRMConfigService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.notifycrm.service.TaskNotifyCRMConfigService

public final class TaskNotifyCRMConfigService
extends java.lang.Object

TaskNotifyCRMConfigService


Method Summary
 void create(TaskNotifyCRMConfig config)
          Create a new config
 java.util.List<TaskNotifyCRMConfig> findAll()
          Get all configs
 TaskNotifyCRMConfig findByPrimaryKey(int nIdTask)
          Find a config
static TaskNotifyCRMConfigService getService()
          Get the instance of TaskNotifyCRMConfigService
 void remove(int nIdTask)
          Remove a config
 void update(TaskNotifyCRMConfig 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 TaskNotifyCRMConfigService getService()
Get the instance of TaskNotifyCRMConfigService

Returns:
the instance of TaskNotifyCRMConfigService

create

public void create(TaskNotifyCRMConfig config)
Create a new config

Parameters:
config - the config

update

public void update(TaskNotifyCRMConfig config)
Update a config

Parameters:
config - the config

remove

public void remove(int nIdTask)
Remove a config

Parameters:
nIdTask - the task id

findByPrimaryKey

public TaskNotifyCRMConfig findByPrimaryKey(int nIdTask)
Find a config

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

findAll

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

Returns:
a list of TaskNotifyCRMConfig


Copyright © 2012 Mairie de Paris. All Rights Reserved.