Class ResourceExtenderHistoryService
java.lang.Object
fr.paris.lutece.plugins.extend.service.extender.history.ResourceExtenderHistoryService
- All Implemented Interfaces:
IResourceExtenderHistoryService
@ApplicationScoped
@Named("extend.resourceExtenderHistoryService")
public class ResourceExtenderHistoryService
extends Object
implements IResourceExtenderHistoryService
ResourceExtenderHistoryService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(ResourceExtenderHistory history) Insert.create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, jakarta.servlet.http.HttpServletRequest request) Deprecated.create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, String strUserGuid) Creates the history from the HTTP request.Load by filter.findByListIdResource(List<String> listIdResourceExtender, String strExtendableResourceType, String strExtenderType) Load by list id resources and extender typefindByPrimary(int nIdHistory) Load.voidremove(int nIdHistory) Delete.voidremoveByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType) Delete.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.plugins.extend.service.extender.history.IResourceExtenderHistoryService
create, findByPrimary, remove
-
Field Details
-
BEAN_SERVICE
The Constant BBEAN_SERVICE.- See Also:
-
-
Constructor Details
-
ResourceExtenderHistoryService
public ResourceExtenderHistoryService()
-
-
Method Details
-
create
@Deprecated public ResourceExtenderHistory create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, jakarta.servlet.http.HttpServletRequest request) Deprecated.Creates the history from the HTTP request.- Specified by:
createin interfaceIResourceExtenderHistoryService- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typerequest- the request- Returns:
- The created history
-
create
public ResourceExtenderHistory create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, String strUserGuid) Creates the history from the HTTP request.- Specified by:
createin interfaceIResourceExtenderHistoryService- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typestrUserGuid- the strUserGuid guid- Returns:
- The created history
-
create
Insert.- Specified by:
createin interfaceIResourceExtenderHistoryService- Parameters:
history- the history
-
remove
public void remove(int nIdHistory) Delete.- Specified by:
removein interfaceIResourceExtenderHistoryService- Parameters:
nIdHistory- the n id history
-
removeByResource
public void removeByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType) Delete.- Specified by:
removeByResourcein interfaceIResourceExtenderHistoryService- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource type
-
findByPrimary
Load.- Specified by:
findByPrimaryin interfaceIResourceExtenderHistoryService- Parameters:
nIdHistory- the n id history- Returns:
- the history
-
findByFilter
Load by filter.- Specified by:
findByFilterin interfaceIResourceExtenderHistoryService- Parameters:
filter- the filter- Returns:
- the list
-
findByListIdResource
public List<ResourceExtenderHistory> findByListIdResource(List<String> listIdResourceExtender, String strExtendableResourceType, String strExtenderType) Load by list id resources and extender type- Specified by:
findByListIdResourcein interfaceIResourceExtenderHistoryServicestrExtendableResourceType- the extender resource typestrExtenderType- the extender type- Returns:
- list of ResourceExtenderHistory
-