Interface IResourceExtenderHistoryService

    • Method Detail

      • remove

        @Transactional("extend.transactionManager")
        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

        @Transactional("extend.transactionManager")
        void removeByResource​(java.lang.String strExtenderType,
                              java.lang.String strIdExtendableResource,
                              java.lang.String strExtendableResourceType)
        Delete.
        Parameters:
        strExtenderType - the str extender type
        strIdExtendableResource - the str id extendable resource
        strExtendableResourceType - the str extendable resource type
      • create

        @Deprecated
        ResourceExtenderHistory create​(java.lang.String strExtenderType,
                                       java.lang.String strIdExtendableResource,
                                       java.lang.String strExtendableResourceType,
                                       javax.servlet.http.HttpServletRequest request)
        Deprecated.
        Creates the history from the HTTP request.
        Parameters:
        strExtenderType - the str extender type
        strIdExtendableResource - the str id extendable resource
        strExtendableResourceType - the str extendable resource type
        request - the request
        Returns:
        The created history
      • create

        ResourceExtenderHistory create​(java.lang.String strExtenderType,
                                       java.lang.String strIdExtendableResource,
                                       java.lang.String strExtendableResourceType,
                                       java.lang.String strUserGuid)
        Creates the history from the HTTP request.
        Parameters:
        strExtenderType - the str extender type
        strIdExtendableResource - the str id extendable resource
        strExtendableResourceType - the str extendable resource type
        strUserGuid - the strUserGuid guid
        Returns:
        The created history
      • create

        @Transactional("extend.transactionManager")
        void create​(ResourceExtenderHistory history)
        Insert.
        Parameters:
        history - the history
      • findByPrimary

        ResourceExtenderHistory findByPrimary​(int nIdResourceExtenderHistory)
        Load.
        Parameters:
        nIdResourceExtenderHistory - the n id history
        Returns:
        the history
      • findByPrimary

        default ResourceExtenderHistory findByPrimary​(long nIdResourceExtenderHistory)
        Load.
        Parameters:
        nIdResourceExtenderHistory - the n id history
        Returns:
        the history
      • findByListIdResource

        java.util.List<ResourceExtenderHistory> findByListIdResource​(java.util.List<java.lang.String> listIdResourceExtender,
                                                                     java.lang.String strExtendableResourceType,
                                                                     java.lang.String strExtenderType)
        Load by list id resources and extender type
        Parameters:
        listIdResource - the ids resource list
        strExtendableResourceType - the extender resource type
        strExtenderType - the extender type
        plugin - the plugin
        Returns:
        list of ResourceExtenderHistory