Class Contact

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

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

      • Contact

        public Contact()
    • Method Detail

      • init

        public static void init()
        Initialize the ContactList
      • getId

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

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

        public String getName()
        Returns the name of this contact.
        Returns:
        the contact name
      • setName

        public void setName​(String strName)
        Sets the name of the contact to the specified string.
        Parameters:
        strName - the new name
      • getEmail

        public String getEmail()
        Returns the email of this contact.
        Returns:
        the contact email
      • setEmail

        public void setEmail​(String strEmail)
        Sets the email of the contact to the specified string.
        Parameters:
        strEmail - the new email
      • getContactOrder

        public int getContactOrder()
        Returns the contact order of this contact.
        Returns:
        the contact order
      • setContactOrder

        public void setContactOrder​(int nContactOrder)
        Sets the contact order of the contact to the specified integer.
        Parameters:
        nContactOrder - the new contact order
      • 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
      • getHits

        public int getHits()
        gets the number of messages send to the contact
        Returns:
        number of hists
      • setHits

        public void setHits​(int nHits)
        Sets the number of messages send to the contact
        Parameters:
        nHits - the number of hits