|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.contact.business.ContactList
public class ContactList
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 |
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 |
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 |
|---|
public static final java.lang.String RESOURCE_TYPE
public static final java.lang.String ROLE_NONE
| Constructor Detail |
|---|
public ContactList()
| Method Detail |
|---|
public static void init()
public int getId()
public void setId(int nId)
nId - the new identifierpublic java.lang.String getLabel()
public void setLabel(java.lang.String strContactListLabel)
strContactListLabel - the new namepublic java.lang.String getDescription()
public void setDescription(java.lang.String strContactListDescription)
strContactListDescription - the description of the contact listpublic int getContactsNumber()
public void setContactsNumber(int nContactsNumber)
nContactsNumber - the number of contacts to setpublic java.lang.String getWorkgroup()
getWorkgroup in interface fr.paris.lutece.portal.service.workgroup.AdminWorkgroupResourcepublic void setWorkgroup(java.lang.String strAdminWorkgroup)
strAdminWorkgroup - The workgrouppublic java.lang.String getRole()
public void setRole(java.lang.String strRole)
strRole - The role that can see the contact list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||