Class DemandType

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

    public class DemandType
    extends Object
    implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
    DemandType
    • Constructor Detail

      • DemandType

        public DemandType()
        Constructor
    • Method Detail

      • getIdDemandType

        public int getIdDemandType()
        Get the id demand type
        Returns:
        the id demand type
      • setIdDemandType

        public void setIdDemandType​(int nIdDemandType)
        Set the id demand type
        Parameters:
        nIdDemandType - the id deman type
      • getLabel

        public String getLabel()
        Get the label
        Returns:
        the label
      • setLabel

        public void setLabel​(String strLabel)
        Set the label
        Parameters:
        strLabel - the label
      • getUrlResource

        public String getUrlResource()
        Get the url of the resource
        Returns:
        the url of the resource
      • setUrlResource

        public void setUrlResource​(String strUrlResource)
        Set the url of the form
        Parameters:
        strUrlResource - the url of the form
      • getUrlInfo

        public String getUrlInfo()
        Get the url of the information
        Returns:
        the url of the information
      • setUrlInfo

        public void setUrlInfo​(String strUrlInfo)
        Set the url of the information
        Parameters:
        strUrlInfo - the url of the information
      • getUrlContact

        public String getUrlContact()
        Get the url of the contact
        Returns:
        the url of the contact
      • setUrlContact

        public void setUrlContact​(String strUrlContact)
        Set the url of the contact
        Parameters:
        strUrlContact - the url of the contact
      • getOrder

        public int getOrder()
        Get the order
        Returns:
        the order
      • setOrder

        public void setOrder​(int nOrder)
        Set the order
        Parameters:
        nOrder - the order
      • getIdCategory

        public int getIdCategory()
        Get the id category
        Returns:
        the ID category
      • setIdCategory

        public void setIdCategory​(int nIdCategory)
        Set the ID category
        Parameters:
        nIdCategory - the id category
      • getDateBegin

        public Date getDateBegin()
        Get the beginning date
        Returns:
        the beginning date
      • setDateBegin

        public void setDateBegin​(Date dateBegin)
        Set the beginning date
        Parameters:
        dateBegin - the beginning date
      • getDateEnd

        public Date getDateEnd()
        Get the closing date
        Returns:
        the closing date
      • setDateEnd

        public void setDateEnd​(Date dateEnd)
        Set the closing date
        Parameters:
        dateEnd - the closing date
      • setWorkgroup

        public void setWorkgroup​(String strWorkgroupKey)
        Set the workgroup
        Parameters:
        strWorkgroupKey - the workgroup key
      • getWorkgroup

        public String getWorkgroup()
        Get the workgroup key
        Specified by:
        getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
        Returns:
        the workgroup key
      • setRole

        public void setRole​(String strRoleKey)
        Set the role
        Parameters:
        strRoleKey - the role key
      • getRole

        public String getRole()
        Get the role
        Returns:
        the role key
      • isOpen

        public boolean isOpen()
        Check if the demand type is open or not
        Returns:
        true if it is open, false otherwise
      • isClosed

        public boolean isClosed()
        Check if the demand type is closed
        Returns:
        true if it is closed, false otherwise
      • setTarget

        public void setTarget​(TargetEnum target)
        Set target
        Parameters:
        target - the target
      • getTarget

        public TargetEnum getTarget()
        Get target
        Returns:
        the target
      • getUrlDelete

        public String getUrlDelete()
        Get the url to delete the demand
        Returns:
        the url to delete the demand
      • setUrlDelete

        public void setUrlDelete​(String strUrlDelete)
        Set the url to delete the demand
        Parameters:
        strUrlDelete - the url to delete the demand
      • getXml

        public String getXml​(javax.servlet.http.HttpServletRequest request,
                             Locale locale)
        Returns the xml of this Demande Type
        Parameters:
        request - The HTTP Servlet request
        locale - the Locale
        Returns:
        the xml of this Demande Type
      • isIncludeIdCrmUser

        public boolean isIncludeIdCrmUser()
        Returns:
        true if the crm user id must be added to the list of _strUrlResource parameters
      • setIncludeIdCrmUser

        public void setIncludeIdCrmUser​(boolean _bUseIdCrmUser)
        Parameters:
        _bUseIdCrmUser - true if the crm user id must be added to the list of _strUrlResource parameters
      • isNeedAuthentication

        public boolean isNeedAuthentication()
        Returns:
        true if the demand type need authentication access
      • setNeedAuthentication

        public void setNeedAuthentication​(boolean _bNeedAuthentication)
        Parameters:
        _bNeedAuthentication - true if the demand type need authentication access
      • isNeedValidation

        public boolean isNeedValidation()
        Returns:
        true if the demand type need validation access
      • setNeedValidation

        public void setNeedValidation​(boolean _bNeedValidation)
        Parameters:
        _bNeedAuthentication - true if the demand type need validation access