Class InsertService

  • All Implemented Interfaces:
    Localizable, fr.paris.lutece.portal.service.rbac.RBACResource

    public class InsertService
    extends Object
    implements fr.paris.lutece.portal.service.rbac.RBACResource, Localizable
    The insert Service
    • Constructor Detail

      • InsertService

        public InsertService()
    • Method Detail

      • getId

        public String getId()
        Returns the insert service Id
        Returns:
        The Id as a String
      • setId

        public void setId​(String strId)
        Set the Id of the insert service
        Parameters:
        strId - the id
      • getNameKey

        public String getNameKey()
        Returns the insert service name
        Returns:
        The name key as a String
      • getName

        public String getName()
        Returns the insert service name
        Returns:
        The name as a String
      • setNameKey

        public void setNameKey​(String strNameKey)
        Set the name of the insert service
        Parameters:
        strNameKey - the label
      • getLabelKey

        public String getLabelKey()
        Returns the insert service label
        Returns:
        The label key as a String
      • getLabel

        public String getLabel()
        Returns the insert service label
        Returns:
        The label as a String
      • setLabelKey

        public void setLabelKey​(String strLabelKey)
        Set the name of the insert service
        Parameters:
        strLabelKey - the label
      • getActionBeanString

        public String getActionBeanString()
        Returns the ActionBean
        Returns:
        The ActionBean as a String
      • setActionBeanString

        public void setActionBeanString​(String strActionBean)
        Set the ActionBean of the insert service
        Parameters:
        strActionBean - the ActionBean
      • setActionBeanClassName

        public void setActionBeanClassName​(String strSelectionBean)
        Register the name of the Action Bean associated with the service
        Parameters:
        strSelectionBean - The ActionBean to use
      • getPluginName

        public String getPluginName()
        Return the name of the plugin
        Returns:
        The name of the plugin
      • setPluginName

        public void setPluginName​(String strPluginName)
        Set the plugin name of the insert service
        Parameters:
        strPluginName - the plugin name
      • getSelectorUI

        public String getSelectorUI​(javax.servlet.http.HttpServletRequest request)
        Get the UI to select an object
        Parameters:
        request - The Http request.
        Returns:
        HTML code of the page as string
      • isEnabled

        public boolean isEnabled()
        Tells if the insertservice is enable (plugin activated).
        Returns:
        Returns the state of the insert service : enable or disable
      • getResourceTypeCode

        public String getResourceTypeCode()
        Returns the Resource Type Code that identify the resource type
        Specified by:
        getResourceTypeCode in interface fr.paris.lutece.portal.service.rbac.RBACResource
        Returns:
        The Resource Type Code
      • getResourceId

        public String getResourceId()
        Returns the resource Id of the current object
        Specified by:
        getResourceId in interface fr.paris.lutece.portal.service.rbac.RBACResource
        Returns:
        The resource Id of the current object
      • setLocale

        public void setLocale​(Locale locale)
        Implements Localizable
        Specified by:
        setLocale in interface Localizable
        Parameters:
        locale - The current locale