|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sistematica.isharedoc.service.addressbook.AddressBookServiceImpl
public class AddressBookServiceImpl
Field Summary | |
---|---|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) it.neverworks.application.service.UserInfo |
userInfo
|
Constructor Summary | |
---|---|
AddressBookServiceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
AddressBook |
getAddressBook(java.lang.String addressBookId)
Gets the address book. |
AddressBookServer |
getConnection(AddressBook addressBook)
Gets the connection. |
AddressBookEntries |
listEntries(AddressBook addressBook,
java.lang.String spotlight,
int first,
int max)
List entries. |
AddressBookEntries |
listEntries(AddressBook addressBook,
java.lang.String attributeName,
java.lang.String spotlight,
int first,
int max)
List entries. |
void |
setAddressbooks(java.util.List<AddressBookServer> addressbooks)
|
void |
setDataSourceFile(java.lang.String dataSourceFile)
|
java.util.List<AddressBook> |
sources(java.lang.Boolean enabledOnly)
Sources. |
java.util.List<AddressBook> |
sources(java.lang.Boolean enabledOnly,
AddressBook.AddressBookType... types)
Sources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
it.neverworks.data.EntityManager entities
it.neverworks.application.service.UserInfo userInfo
Constructor Detail |
---|
public AddressBookServiceImpl()
Method Detail |
---|
public void setDataSourceFile(java.lang.String dataSourceFile)
public void setAddressbooks(java.util.List<AddressBookServer> addressbooks)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
public AddressBook getAddressBook(java.lang.String addressBookId)
AddressBookService
getAddressBook
in interface AddressBookService
addressBookId
- the address book id
public AddressBookServer getConnection(AddressBook addressBook)
AddressBookService
getConnection
in interface AddressBookService
addressBook
- the address book
@Transactional public java.util.List<AddressBook> sources(java.lang.Boolean enabledOnly)
AddressBookService
sources
in interface AddressBookService
enabledOnly
- the enabled only
@Transactional public java.util.List<AddressBook> sources(java.lang.Boolean enabledOnly, AddressBook.AddressBookType... types)
AddressBookService
sources
in interface AddressBookService
enabledOnly
- the enabled onlytypes
- the types
public AddressBookEntries listEntries(AddressBook addressBook, java.lang.String spotlight, int first, int max)
AddressBookService
listEntries
in interface AddressBookService
addressBook
- the address bookspotlight
- the spotlightfirst
- the firstmax
- the max
public AddressBookEntries listEntries(AddressBook addressBook, java.lang.String attributeName, java.lang.String spotlight, int first, int max)
AddressBookService
listEntries
in interface AddressBookService
addressBook
- the address bookattributeName
- the attribute namespotlight
- the spotlightfirst
- the firstmax
- the max
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |