java.lang.Object
fr.paris.lutece.plugins.contact.business.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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the contact order of this contact.
    Returns the email of this contact.
    int
    gets the number of messages send to the contact
    int
    Returns the identifier of this contact.
    Returns the name of this contact.
    Returns the workgroup
    static void
    Initialize the ContactList
    void
    setContactOrder(int nContactOrder)
    Sets the contact order of the contact to the specified integer.
    void
    setEmail(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(String strName)
    Sets the name of the contact to the specified string.
    void
    setWorkgroup(String strAdminWorkgroup)
    Sets the workgroup

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • 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