Class ContactList

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

    public class ContactList
    extends Object
    implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
    This class represents business object Contact
    • Constructor Detail

      • ContactList

        public ContactList()
    • Method Detail

      • init

        public static void init()
        Initialize the ContactList
      • getId

        public int getId()
        Returns the identifier of this contactList.
        Returns:
        the contact identifier
      • setId

        public void setId​(int nId)
        Sets the identifier of the contactList to the specified integer.
        Parameters:
        nId - the new identifier
      • getLabel

        public String getLabel()
        Returns the label of this list.
        Returns:
        the contact name
      • setLabel

        public void setLabel​(String strContactListLabel)
        Sets the label of the contact List to the specified string.
        Parameters:
        strContactListLabel - the new name
      • getDescription

        public String getDescription()
        Returns the description of this contact list.
        Returns:
        the contact name
      • setDescription

        public void setDescription​(String strContactListDescription)
        Sets the name of the contact to the specified string.
        Parameters:
        strContactListDescription - the description of the contact list
      • getContactsNumber

        public int getContactsNumber()
        gets the number of contacts assigned to list
        Returns:
        returns the number of contacts assigned to this list
      • setContactsNumber

        public void setContactsNumber​(int nContactsNumber)
        sets to the specified integer the number of contacts assigned to list
        Parameters:
        nContactsNumber - the number of contacts to set
      • getWorkgroup

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

        public void setWorkgroup​(String strAdminWorkgroup)
        Sets the workgroup
        Parameters:
        strAdminWorkgroup - The workgroup
      • getRole

        public String getRole()
        Gets the contactList role
        Returns:
        contactList's role as a String
        Since:
        v1.1
      • setRole

        public void setRole​(String strRole)
        allows the contact List to be saw by a role
        Parameters:
        strRole - The role that can see the contact list
      • getContactListOrder

        public int getContactListOrder()
        Returns the order
        Returns:
        The order
      • setContactListOrder

        public void setContactListOrder​(int nContactListOrder)
        Sets the workgroup
        Parameters:
        nContactListOrder - the contact list
      • getTos

        public boolean getTos()
      • setTos

        public void setTos​(boolean bActiveTos)
      • getTosMessage

        public String getTosMessage()
      • setTosMessage

        public void setTosMessage​(String strTosMessage)