Class PortletType

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

    public class PortletType
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.rbac.RBACResource, Localizable
    This class represents business objects PortletType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String RESOURCE_TYPE  
    • Constructor Summary

      Constructors 
      Constructor Description
      PortletType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCreateScriptTemplate()
      Return a script to include in the create form
      java.lang.String getCreateSpecificFormTemplate()
      Return html code to add another form to the create page
      java.lang.String getCreateSpecificTemplate()
      Return html code to include in the create form
      java.lang.String getDoCreateUrl()
      Return the DoCreate Url
      java.lang.String getDoModifyUrl()
      Return the Modify Url
      java.lang.String getHomeClass()
      Returns the path of the home class which manages the update of this portlet type
      java.lang.String getIconName()
      Returns the plugin name of the Portlet Type
      java.lang.String getId()
      Returns the identifier of the Portlet type
      java.lang.String getModifyScriptTemplate()
      Return a script to include in the modify form
      java.lang.String getModifySpecificFormTemplate()
      Return html code to add another form to the modify page
      java.lang.String getModifySpecificTemplate()
      Return html code to include in the modify form
      java.lang.String getName()
      Returns the name of the Portlet Type
      java.lang.String getNameKey()
      Returns the name key of the Portlet Type
      java.lang.String getPluginName()
      Returns the plugin name of the Portlet Type
      java.lang.String getResourceId()
      Returns the resource Id of the current object
      java.lang.String getResourceTypeCode()
      Returns the Resource Type Code that identify the resource type
      java.lang.String getUrlCreation()
      Returns the url of the program which manages the creation of this portlet type
      java.lang.String getUrlUpdate()
      Returns the url of the program which manages the update of this portlet type
      void setCreateScriptTemplate​(java.lang.String strCreateScript)
      Sets the CreateScript
      void setCreateSpecificFormTemplate​(java.lang.String strCreateSpecificForm)
      Sets the CreateSpecificForm
      void setCreateSpecificTemplate​(java.lang.String strCreateSpecific)
      Sets the CreateSpecific
      void setDoCreateUrl​(java.lang.String strDoCreateUrl)
      Sets the DoCreate Url
      void setDoModifyUrl​(java.lang.String strDoModifyUrl)
      Sets the DoModify Url
      void setHomeClass​(java.lang.String strHomeClass)
      Sets the home class path of the program which manages the update of this portlet type
      void setIconName​(java.lang.String strIconName)
      Sets the icon name of the Portlet Type
      void setId​(java.lang.String strId)
      Sets the identifier of the portlet type
      void setLocale​(java.util.Locale locale)
      Implements Localizable
      void setModifyScriptTemplate​(java.lang.String strModifyScript)
      Sets the ModifyScript
      void setModifySpecificFormTemplate​(java.lang.String strModifySpecificForm)
      Sets the ModifySpecificForm
      void setModifySpecificTemplate​(java.lang.String strModifySpecific)
      Sets the ModifySpecific
      void setNameKey​(java.lang.String strNameKey)
      Sets the name key of the Portlet Type
      void setPluginName​(java.lang.String strPluginName)
      Sets the plugin name of the Portlet Type
      void setUrlCreation​(java.lang.String strUrlCreation)
      Sets the url of the program which manages the creation of this portlet type
      void setUrlUpdate​(java.lang.String strUrlUpdate)
      Sets the url of the program which manages the update of this portlet type
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PortletType

        public PortletType()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the identifier of the Portlet type
        Returns:
        the Portlet Type identifier
      • setId

        public void setId​(java.lang.String strId)
        Sets the identifier of the portlet type
        Parameters:
        strId - the Portlet Type identifier
      • setNameKey

        public void setNameKey​(java.lang.String strNameKey)
        Sets the name key of the Portlet Type
        Parameters:
        strNameKey - the Portlet type Name key
      • getNameKey

        public java.lang.String getNameKey()
        Returns the name key of the Portlet Type
        Returns:
        the Portlet type name key
      • getName

        public java.lang.String getName()
        Returns the name of the Portlet Type
        Returns:
        the Portlet type name
      • setUrlCreation

        public void setUrlCreation​(java.lang.String strUrlCreation)
        Sets the url of the program which manages the creation of this portlet type
        Parameters:
        strUrlCreation - the url to create the current portlet type
      • getUrlCreation

        public java.lang.String getUrlCreation()
        Returns the url of the program which manages the creation of this portlet type
        Returns:
        the url of creation
      • setUrlUpdate

        public void setUrlUpdate​(java.lang.String strUrlUpdate)
        Sets the url of the program which manages the update of this portlet type
        Parameters:
        strUrlUpdate - the url to update the current portlet type
      • getUrlUpdate

        public java.lang.String getUrlUpdate()
        Returns the url of the program which manages the update of this portlet type
        Returns:
        the url of update
      • setHomeClass

        public void setHomeClass​(java.lang.String strHomeClass)
        Sets the home class path of the program which manages the update of this portlet type
        Parameters:
        strHomeClass - the path to update the current portlet type
      • getHomeClass

        public java.lang.String getHomeClass()
        Returns the path of the home class which manages the update of this portlet type
        Returns:
        the home class path of update
      • setPluginName

        public void setPluginName​(java.lang.String strPluginName)
        Sets the plugin name of the Portlet Type
        Parameters:
        strPluginName - the Portlet type Plugin Name
      • getPluginName

        public java.lang.String getPluginName()
        Returns the plugin name of the Portlet Type
        Returns:
        the Portlet type plugin name
      • setIconName

        public void setIconName​(java.lang.String strIconName)
        Sets the icon name of the Portlet Type
        Parameters:
        strIconName - the Portlet type Plugin Name
      • getIconName

        public java.lang.String getIconName()
        Returns the plugin name of the Portlet Type
        Returns:
        the Portlet type plugin name
      • getResourceTypeCode

        public java.lang.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 java.lang.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
      • getDoCreateUrl

        public java.lang.String getDoCreateUrl()
        Return the DoCreate Url
        Returns:
        The DoCreate Url
      • setDoCreateUrl

        public void setDoCreateUrl​(java.lang.String strDoCreateUrl)
        Sets the DoCreate Url
        Parameters:
        strDoCreateUrl - The DoCreate Url
      • setCreateScriptTemplate

        public void setCreateScriptTemplate​(java.lang.String strCreateScript)
        Sets the CreateScript
        Parameters:
        strCreateScript - The CreateScript
      • setCreateSpecificTemplate

        public void setCreateSpecificTemplate​(java.lang.String strCreateSpecific)
        Sets the CreateSpecific
        Parameters:
        strCreateSpecific - The CreateSpecific
      • setCreateSpecificFormTemplate

        public void setCreateSpecificFormTemplate​(java.lang.String strCreateSpecificForm)
        Sets the CreateSpecificForm
        Parameters:
        strCreateSpecificForm - The CreateSpecificForm
      • getCreateScriptTemplate

        public java.lang.String getCreateScriptTemplate()
        Return a script to include in the create form
        Returns:
        the script to include in the create form
      • getCreateSpecificTemplate

        public java.lang.String getCreateSpecificTemplate()
        Return html code to include in the create form
        Returns:
        html code to include in the create form
      • getCreateSpecificFormTemplate

        public java.lang.String getCreateSpecificFormTemplate()
        Return html code to add another form to the create page
        Returns:
        html code to add another form to the create page
      • getDoModifyUrl

        public java.lang.String getDoModifyUrl()
        Return the Modify Url
        Returns:
        The Modify Url
      • getModifyScriptTemplate

        public java.lang.String getModifyScriptTemplate()
        Return a script to include in the modify form
        Returns:
        the script to include in the modify form
      • getModifySpecificTemplate

        public java.lang.String getModifySpecificTemplate()
        Return html code to include in the modify form
        Returns:
        html code to include in the modify form
      • getModifySpecificFormTemplate

        public java.lang.String getModifySpecificFormTemplate()
        Return html code to add another form to the modify page
        Returns:
        html code to add another form to the modify page
      • setDoModifyUrl

        public void setDoModifyUrl​(java.lang.String strDoModifyUrl)
        Sets the DoModify Url
        Parameters:
        strDoModifyUrl - The DoModify Url
      • setModifyScriptTemplate

        public void setModifyScriptTemplate​(java.lang.String strModifyScript)
        Sets the ModifyScript
        Parameters:
        strModifyScript - The ModifyScript
      • setModifySpecificTemplate

        public void setModifySpecificTemplate​(java.lang.String strModifySpecific)
        Sets the ModifySpecific
        Parameters:
        strModifySpecific - The ModifySpecific
      • setModifySpecificFormTemplate

        public void setModifySpecificFormTemplate​(java.lang.String strModifySpecificForm)
        Sets the ModifySpecificForm
        Parameters:
        strModifySpecificForm - The ModifySpecificForm
      • setLocale

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