Class Contact
- java.lang.Object
-
- fr.paris.lutece.plugins.contact.business.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.AdminWorkgroupResourceThis class represents business object Contact
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESOURCE_TYPE
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetContactOrder()Returns the contact order of this contact.java.lang.StringgetEmail()Returns the email of this contact.intgetHits()gets the number of messages send to the contactintgetId()Returns the identifier of this contact.java.lang.StringgetName()Returns the name of this contact.java.lang.StringgetWorkgroup()Returns the workgroupstatic voidinit()Initialize the ContactListvoidsetContactOrder(int nContactOrder)Sets the contact order of the contact to the specified integer.voidsetEmail(java.lang.String strEmail)Sets the email of the contact to the specified string.voidsetHits(int nHits)Sets the number of messages send to the contactvoidsetId(int nId)Sets the identifier of the contact to the specified integer.voidsetName(java.lang.String strName)Sets the name of the contact to the specified string.voidsetWorkgroup(java.lang.String strAdminWorkgroup)Sets the workgroup
-
-
-
Field Detail
-
RESOURCE_TYPE
public static final java.lang.String RESOURCE_TYPE
- See Also:
- Constant Field Values
-
-
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:
getWorkgroupin interfacefr.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
-
-