Interface IResourceExtenderHistoryService
- All Known Implementing Classes:
ResourceExtenderHistoryService
public interface IResourceExtenderHistoryService
IResourceExtenderHistoryService.
-
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.default ResourceExtenderHistorycreate(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, String strUserGuid, String strIpAddress) Creates the history of a user and the address the request came from.Load by filter.findByListIdResource(List<String> listIdResourceExtender, String strExtendableResourceType, String strExtenderType) Load by list id resources and extender typefindByPrimary(int nIdResourceExtenderHistory) Load.default ResourceExtenderHistoryfindByPrimary(long nIdResourceExtenderHistory) Load.voidremove(int nIdResourceExtenderHistory) Delete.default voidremove(long nIdResourceExtenderHistory) Delete.voidremoveByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType) Delete.
-
Method Details
-
remove
void remove(int nIdResourceExtenderHistory) Delete.- Parameters:
nIdResourceExtenderHistory- the n id history
-
remove
default void remove(long nIdResourceExtenderHistory) Delete.- Parameters:
nIdResourceExtenderHistory- the n id history
-
removeByResource
void removeByResource(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType) Delete.- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource type
-
create
@Deprecated ResourceExtenderHistory create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, jakarta.servlet.http.HttpServletRequest request) Deprecated.Creates the history from the HTTP request.- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource typerequest- the request- Returns:
- The created history
-
create
default ResourceExtenderHistory create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, String strUserGuid, String strIpAddress) Creates the history of a user and the address the request came from.- Parameters:
strExtenderType- the extender typestrIdExtendableResource- the id of the extendable resourcestrExtendableResourceType- the extendable resource typestrUserGuid- the guid of the user, empty for an anonymous onestrIpAddress- the address the request came from- Returns:
- The created history
-
create
ResourceExtenderHistory create(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType, String strUserGuid) Creates the history from the HTTP request.- 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.- Parameters:
history- the history
-
findByPrimary
Load.- Parameters:
nIdResourceExtenderHistory- the n id history- Returns:
- the history
-
findByPrimary
Load.- Parameters:
nIdResourceExtenderHistory- the n id history- Returns:
- the history
-
findByListIdResource
List<ResourceExtenderHistory> findByListIdResource(List<String> listIdResourceExtender, String strExtendableResourceType, String strExtenderType) Load by list id resources and extender type- Parameters:
listIdResource- the ids resource liststrExtendableResourceType- the extender resource typestrExtenderType- the extender typeplugin- the plugin- Returns:
- list of ResourceExtenderHistory
-
findByFilter
Load by filter.- Parameters:
filter- the filter- Returns:
- the list
-