|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jhu.cs.oose.group3.intelligentbook.backingbeans.SuperBackingBean
edu.jhu.cs.oose.group3.intelligentbook.backingbeans.SessionBackingBean
edu.jhu.cs.oose.group3.intelligentbook.backingbeans.AddContactBackingBean
public abstract class AddContactBackingBean
This class is the superclass for all AddContact backing beans. It provides contact service for updating contact in the database as well as miscellaneous information for filling a form.
Field Summary | |
---|---|
private ContactItemKeys |
contactItemKeys
Set the implementation of ContactItemKeys, used for identifying ContactItems |
private ContactService |
contactService
allows save/update contact |
private static java.util.List<javax.faces.model.SelectItem> |
states
|
Constructor Summary | |
---|---|
AddContactBackingBean()
|
Method Summary | |
---|---|
java.util.List<javax.faces.model.SelectItem> |
getAllContactGroups()
Get all the visibility contact groups from the current user |
java.util.List<javax.faces.model.SelectItem> |
getAllStates()
Get all states as a list of Select Items to be used in the form |
ContactItemKeys |
getContactItemKeys()
Get the implementation of ContactItemKeys, used for identifying ContactItems |
ContactService |
getContactService()
Get the current contact service, used to update contacts in the database |
void |
setContactItemKeys(ContactItemKeys contactItemKeys)
Set the implementation of ContactItemKeys, used for identifying ContactItems |
void |
setContactService(ContactService contactService)
Set the current contact service, used to update contacts in the database |
abstract java.lang.String |
updateContact()
Update/save the contact information |
Methods inherited from class edu.jhu.cs.oose.group3.intelligentbook.backingbeans.SessionBackingBean |
---|
getAllEnumeratedGroups, getCurrentUser, setCurrentUser |
Methods inherited from class edu.jhu.cs.oose.group3.intelligentbook.backingbeans.SuperBackingBean |
---|
getErrors, getNotices, setErrors, setNotices |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ContactItemKeys contactItemKeys
private ContactService contactService
private static java.util.List<javax.faces.model.SelectItem> states
Constructor Detail |
---|
public AddContactBackingBean()
Method Detail |
---|
public abstract java.lang.String updateContact()
public ContactItemKeys getContactItemKeys()
public void setContactItemKeys(ContactItemKeys contactItemKeys)
contactItemKeys
- the implementation of ContactItemKeys, used for identifying ContactItemspublic ContactService getContactService()
public void setContactService(ContactService contactService)
contactService
- the contact servicepublic java.util.List<javax.faces.model.SelectItem> getAllContactGroups()
public java.util.List<javax.faces.model.SelectItem> getAllStates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |