fr.paris.lutece.plugins.workflow.modules.notifymylutece.service.retrieval
Class RetrievalTypeService

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.notifymylutece.service.retrieval.RetrievalTypeService
All Implemented Interfaces:
IRetrievalTypeService

public class RetrievalTypeService
extends java.lang.Object
implements IRetrievalTypeService

RetrievalTypeService


Field Summary
static java.lang.String BEAN_SERVICE
           
 
Constructor Summary
RetrievalTypeService()
           
 
Method Summary
 void create(int nIdTask, int nIdRetrievalType)
          Create an association retrieval type - task
 java.util.List<java.lang.Integer> find(int nIdTask)
          Find the list of id retrieval type associated to the task
 void remove(int nIdTask)
          Remove the associations retrieval type - task
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final java.lang.String BEAN_SERVICE
See Also:
Constant Field Values
Constructor Detail

RetrievalTypeService

public RetrievalTypeService()
Method Detail

find

public java.util.List<java.lang.Integer> find(int nIdTask)
Find the list of id retrieval type associated to the task

Specified by:
find in interface IRetrievalTypeService
Parameters:
nIdTask - the id task
Returns:
a list of id retrieval type

create

@Transactional(value="workflow-notifymylutece.transactionManager")
public void create(int nIdTask,
                                 int nIdRetrievalType)
Create an association retrieval type - task

Specified by:
create in interface IRetrievalTypeService
Parameters:
nIdTask - the id task
nIdRetrievalType - the id retrieval type

remove

@Transactional(value="workflow-notifymylutece.transactionManager")
public void remove(int nIdTask)
Remove the associations retrieval type - task

Specified by:
remove in interface IRetrievalTypeService
Parameters:
nIdTask - the id task


Copyright © 2012 Mairie de Paris. All Rights Reserved.