Class ResourceExtenderHistoryService

    • Field Detail

      • BEAN_SERVICE

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

      • ResourceExtenderHistoryService

        public ResourceExtenderHistoryService()
    • Method Detail

      • create

        public ResourceExtenderHistory create​(java.lang.String strExtenderType,
                                              java.lang.String strIdExtendableResource,
                                              java.lang.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
        Returns:
        The created history
      • create

        public 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.
        Specified by:
        create in interface IResourceExtenderHistoryService
        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
      • remove

        @Transactional("extend.transactionManager")
        public void remove​(int nIdHistory)
        Delete.
        Specified by:
        remove in interface IResourceExtenderHistoryService
        Parameters:
        nIdHistory - the n id history
      • removeByResource

        @Transactional("extend.transactionManager")
        public void removeByResource​(java.lang.String strExtenderType,
                                     java.lang.String strIdExtendableResource,
                                     java.lang.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
      • findByListIdResource

        public java.util.List<ResourceExtenderHistory> findByListIdResource​(java.util.List<java.lang.String> listIdResourceExtender,
                                                                            java.lang.String strExtendableResourceType,
                                                                            java.lang.String strExtenderType)
        Description copied from interface: IResourceExtenderHistoryService
        Load by list id resources and extender type
        Specified by:
        findByListIdResource in interface IResourceExtenderHistoryService
        strExtendableResourceType - the extender resource type
        strExtenderType - the extender type
        Returns:
        list of ResourceExtenderHistory