Class AbstractEntryTypeGroup

    • Constructor Detail

      • AbstractEntryTypeGroup

        public AbstractEntryTypeGroup()
    • Method Detail

      • getTemplateCreate

        public java.lang.String getTemplateCreate​(Entry entry,
                                                  boolean bDisplayFront)
        Get template create URL of the entry
        Parameters:
        entry - The entry
        bDisplayFront - True if the template will be used to display content in Front Office, false if it will be used to display content in back office
        Returns:
        template create URL of the entry
      • getRequestData

        public java.lang.String getRequestData​(Entry entry,
                                               javax.servlet.http.HttpServletRequest request,
                                               java.util.Locale locale)
        Get the request data
        Specified by:
        getRequestData in interface IEntryTypeService
        Overrides:
        getRequestData in class EntryTypeService
        Parameters:
        entry - The entry
        request - HttpRequest
        locale - the locale
        Returns:
        null if all data required are in the request else the url of jsp error
      • getRequestData

        public java.lang.String getRequestData​(Entry entry,
                                               javax.servlet.http.HttpServletRequest request,
                                               java.util.Locale locale,
                                               java.lang.String errorReturnUrl)
        Get the request data
        Specified by:
        getRequestData in interface IEntryTypeService
        Overrides:
        getRequestData in class EntryTypeService
        Parameters:
        entry - The entry
        request - HttpRequest
        locale - the locale
        errorReturnUrl - url to go to after displaying a message when an error occurs
        Returns:
        null if all data required are in the request else the url of jsp error