|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.model.AbstractModel
portlets.compoze.groupware.model.addressbook.AddressBookModel
portlets.compoze.groupware.model.addressbook.AddContactModel
This class represents the data model for the add contact view (add_contact.jsp
).
Constructor Summary | |
AddContactModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
AddressBookPreferences addressBookPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
boolean |
getAddAnother()
Gets the flag for add another contact. |
Contact |
getContact()
Gets the contact. |
java.lang.String |
getImage()
Gets the image i18n resource. |
void |
setAddAnother(boolean bAddAnother)
Sets the flag for add another contact. |
void |
setContact(Contact contact)
Sets the contact. |
void |
setImage(java.lang.String sImage)
Sets the image i18n resource. |
void |
setSupportsAllContactProperties(boolean bSupportsAllContactProperties)
Sets the flag for support all contact properties. |
boolean |
supportsAllContactProperties()
Gets the flag for support all contact properties. |
Methods inherited from class portlets.compoze.groupware.model.addressbook.AddressBookModel |
getAddressBookPreferences |
Methods inherited from class portlets.compoze.groupware.model.AbstractModel |
getAccounts, getActualTitle, getFeatureGroup, getGroupwarePreferences, getImAccount, getProviderCapabilities, getTitle, getTitleArgs, getTitleCrumbTrailKeys, isImAvailable, setActualTitle, setImAccount, setImAvailable, setTitle, setTitleArgs, setTitleCrumbTrailKeys |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AddContactModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, AddressBookPreferences addressBookPrefs, Accounts accounts)
capabilities
- the capabilities of the provider (may not be null
)featureGroup
- the feature group (may not be null
)groupwarePrefs
- the groupware preferences (may not be null
)addressBookPrefs
- the address book preferences (may not be null
)Method Detail |
public Contact getContact()
public void setContact(Contact contact)
contact
- the contact (may not be null
)public java.lang.String getImage()
public void setImage(java.lang.String sImage)
sImage
- the image i18n resource (may not be null
)public boolean getAddAnother()
false
otherwisepublic void setAddAnother(boolean bAddAnother)
public boolean supportsAllContactProperties()
true
if all contact properties could be set on a contact, or false
otherwise.public void setSupportsAllContactProperties(boolean bSupportsAllContactProperties)
bSupportsAllContactProperties
- true
if all contact properties could be set on a contact, or false
otherwise.
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |