fr.paris.lutece.plugins.contact.business
Class ContactList

java.lang.Object
  extended by fr.paris.lutece.plugins.contact.business.ContactList
All Implemented Interfaces:
fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

public class ContactList
extends java.lang.Object
implements fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResource

This class represents business object Contact


Field Summary
static java.lang.String RESOURCE_TYPE
           
static java.lang.String ROLE_NONE
           
 
Constructor Summary
ContactList()
           
 
Method Summary
 int getContactListOrder()
          Returns the order
 int getContactsNumber()
          gets the number of contacts assigned to list
 java.lang.String getDescription()
          Returns the description of this contact list.
 int getId()
          Returns the identifier of this contactList.
 java.lang.String getLabel()
          Returns the label of this list.
 java.lang.String getRole()
          Gets the contactList role
 java.lang.String getWorkgroup()
          Returns the workgroup
static void init()
          Initialize the ContactList
 void setContactListOrder(int nContactListOrder)
          Sets the workgroup
 void setContactsNumber(int nContactsNumber)
          sets to the specified integer the number of contacts assigned to list
 void setDescription(java.lang.String strContactListDescription)
          Sets the name of the contact to the specified string.
 void setId(int nId)
          Sets the identifier of the contactList to the specified integer.
 void setLabel(java.lang.String strContactListLabel)
          Sets the label of the contact List to the specified string.
 void setRole(java.lang.String strRole)
          allows the contact List to be saw by a role
 void setWorkgroup(java.lang.String strAdminWorkgroup)
          Sets the workgroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_TYPE

public static final java.lang.String RESOURCE_TYPE
See Also:
Constant Field Values

ROLE_NONE

public static final java.lang.String ROLE_NONE
See Also:
Constant Field Values
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 java.lang.String getLabel()
Returns the label of this list.

Returns:
the contact name

setLabel

public void setLabel(java.lang.String strContactListLabel)
Sets the label of the contact List to the specified string.

Parameters:
strContactListLabel - the new name

getDescription

public java.lang.String getDescription()
Returns the description of this contact list.

Returns:
the contact name

setDescription

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

getRole

public java.lang.String getRole()
Gets the contactList role

Returns:
contactList's role as a String
Since:
v1.1

setRole

public void setRole(java.lang.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:
strAdminWorkgroup - The workgroup


Copyright © 2009 Mairie de Paris. All Rights Reserved.