sample.contact
Class ContactManagerBackend
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
sample.contact.ContactManagerBackend
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, ContactManager
public class ContactManagerBackend
- extends org.springframework.context.support.ApplicationObjectSupport
- implements ContactManager, org.springframework.beans.factory.InitializingBean
Concrete implementation of ContactManager
.
- Version:
- $Id: ContactManagerBackend.java 1754 2006-11-17 02:01:21Z benalex $
- Author:
- Ben Alex
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContactManagerBackend
public ContactManagerBackend()
addPermission
public void addPermission(Contact contact,
Sid recipient,
Permission permission)
- Specified by:
addPermission
in interface ContactManager
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
create
public void create(Contact contact)
- Specified by:
create
in interface ContactManager
delete
public void delete(Contact contact)
- Specified by:
delete
in interface ContactManager
deletePermission
public void deletePermission(Contact contact,
Sid recipient,
Permission permission)
- Specified by:
deletePermission
in interface ContactManager
getAll
public List getAll()
- Specified by:
getAll
in interface ContactManager
getAllRecipients
public List getAllRecipients()
- Specified by:
getAllRecipients
in interface ContactManager
getById
public Contact getById(Long id)
- Specified by:
getById
in interface ContactManager
getRandomContact
public Contact getRandomContact()
- This is a public method.
- Specified by:
getRandomContact
in interface ContactManager
- Returns:
- DOCUMENT ME!
getUsername
protected String getUsername()
setContactDao
public void setContactDao(ContactDao contactDao)
setMutableAclService
public void setMutableAclService(MutableAclService mutableAclService)
update
public void update(Contact contact)
Copyright © 2004-2012 Interface21, Inc. All Rights Reserved.