fr.paris.lutece.plugins.extend.service.extender.history
Class ResourceExtenderHistoryService

java.lang.Object
  extended by fr.paris.lutece.plugins.extend.service.extender.history.ResourceExtenderHistoryService
All Implemented Interfaces:
IResourceExtenderHistoryService

public class ResourceExtenderHistoryService
extends Object
implements IResourceExtenderHistoryService

ResourceExtenderHistoryService


Field Summary
static String BEAN_SERVICE
          The Constant BBEAN_SERVICE.
 
Constructor Summary
ResourceExtenderHistoryService()
           
 
Method Summary
 void create(ResourceExtenderHistory history)
          Insert.
 void create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, javax.servlet.http.HttpServletRequest request)
          Creates the history from the HTTP request.
 List<ResourceExtenderHistory> findByFilter(ResourceExtenderHistoryFilter filter)
          Load by filter.
 ResourceExtenderHistory findByPrimary(int nIdHistory)
          Load.
 void remove(int nIdHistory)
          Delete.
 void removeByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType)
          Delete.
 
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 String BEAN_SERVICE
The Constant BBEAN_SERVICE.

See Also:
Constant Field Values
Constructor Detail

ResourceExtenderHistoryService

public ResourceExtenderHistoryService()
Method Detail

create

public void create(String strExtenderType,
                   String strIdExtendableResource,
                   String strExtendableResourceType,
                   javax.servlet.http.HttpServletRequest request)
Creates the history from the HTTP request.

Specified by:
create in interface IResourceExtenderHistoryService
Parameters:
strExtenderType - the str extender type
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type
request - the request

create

@Transactional(value="extend.transactionManager")
public void create(ResourceExtenderHistory history)
Insert.

Specified by:
create in interface IResourceExtenderHistoryService
Parameters:
history - the history

remove

@Transactional(value="extend.transactionManager")
public void remove(int nIdHistory)
Delete.

Specified by:
remove in interface IResourceExtenderHistoryService
Parameters:
nIdHistory - the n id history

removeByResource

@Transactional(value="extend.transactionManager")
public void removeByResource(String strExtenderType,
                                           String strIdExtendableResource,
                                           String strExtendableResourceType)
Delete.

Specified by:
removeByResource in interface IResourceExtenderHistoryService
Parameters:
strExtenderType - the str extender type
strIdExtendableResource - the str id extendable resource
strExtendableResourceType - the str extendable resource type

findByPrimary

public ResourceExtenderHistory findByPrimary(int nIdHistory)
Load.

Specified by:
findByPrimary in interface IResourceExtenderHistoryService
Parameters:
nIdHistory - the n id history
Returns:
the history

findByFilter

public List<ResourceExtenderHistory> findByFilter(ResourceExtenderHistoryFilter filter)
Load by filter.

Specified by:
findByFilter in interface IResourceExtenderHistoryService
Parameters:
filter - the filter
Returns:
the list


Copyright © 2013 Mairie de Paris. All Rights Reserved.