Class Contact

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

    public class Contact
    extends java.lang.Object
    implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
    This class represents business object Contact
    • Field Summary

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

      Constructors 
      Constructor Description
      Contact()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getContactOrder()
      Returns the contact order of this contact.
      java.lang.String getEmail()
      Returns the email of this contact.
      int getHits()
      gets the number of messages send to the contact
      int getId()
      Returns the identifier of this contact.
      java.lang.String getName()
      Returns the name of this contact.
      java.lang.String getWorkgroup()
      Returns the workgroup
      static void init()
      Initialize the ContactList
      void setContactOrder​(int nContactOrder)
      Sets the contact order of the contact to the specified integer.
      void setEmail​(java.lang.String strEmail)
      Sets the email of the contact to the specified string.
      void setHits​(int nHits)
      Sets the number of messages send to the contact
      void setId​(int nId)
      Sets the identifier of the contact to the specified integer.
      void setName​(java.lang.String strName)
      Sets the name of the contact to the specified string.
      void setWorkgroup​(java.lang.String strAdminWorkgroup)
      Sets the workgroup
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.lang.String getName()
        Returns the name of this contact.
        Returns:
        the contact name
      • setName

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

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

        public void setEmail​(java.lang.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 java.lang.String getWorkgroup()
        Returns the workgroup
        Specified by:
        getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource
        Returns:
        The workgroup
      • setWorkgroup

        public void setWorkgroup​(java.lang.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