|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sistematica.isharedoc.service.addressbook.AddressBookServerLdapImpl
public class AddressBookServerLdapImpl
Constructor Summary | |
---|---|
AddressBookServerLdapImpl(AddressBook addressBook)
|
Method Summary | |
---|---|
java.lang.Boolean |
canCreateRow()
Can create row. |
java.lang.Boolean |
canDeleteRow()
Can delete row. |
java.lang.Boolean |
canUpdateRow()
Can update row. |
void |
delete(AddressBookEntry entry)
Delete. |
AddressBook |
getAddressBook()
Gets the address book. |
java.lang.String |
getLastResultMessage()
Gets the last result message. |
java.util.Map<java.lang.String,java.lang.String> |
getServerProperties()
Gets the server properties. |
java.lang.Boolean |
isEnabled()
Checks if is enabled. |
AddressBookEntries |
listEntries(java.lang.String search,
int first,
int max)
List entries. |
AddressBookEntries |
listEntries(java.lang.String attributeName,
java.lang.String spotlight,
int first,
int max)
List entries. |
AddressBookEntry |
load(java.lang.String id)
Load. |
AddressBookEntry |
makeEmptyEntry()
Make empty entry. |
void |
save(AddressBookEntry entry)
Save. |
AddressBookEntries |
searchEntries(java.util.Map<java.lang.String,java.lang.Object> attributes)
Search entries. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddressBookServerLdapImpl(AddressBook addressBook)
Method Detail |
---|
public AddressBook getAddressBook()
AddressBookServer
getAddressBook
in interface AddressBookServer
public java.lang.String getLastResultMessage()
AddressBookServer
getLastResultMessage
in interface AddressBookServer
public java.util.Map<java.lang.String,java.lang.String> getServerProperties()
AddressBookServer
getServerProperties
in interface AddressBookServer
public java.lang.Boolean isEnabled()
AddressBookServer
isEnabled
in interface AddressBookServer
public java.lang.Boolean canCreateRow()
AddressBookServer
canCreateRow
in interface AddressBookServer
public java.lang.Boolean canUpdateRow()
AddressBookServer
canUpdateRow
in interface AddressBookServer
public java.lang.Boolean canDeleteRow()
AddressBookServer
canDeleteRow
in interface AddressBookServer
public AddressBookEntries listEntries(java.lang.String search, int first, int max)
AddressBookServer
listEntries
in interface AddressBookServer
search
- the spotlightfirst
- the firstmax
- the max
public AddressBookEntries listEntries(java.lang.String attributeName, java.lang.String spotlight, int first, int max)
AddressBookServer
listEntries
in interface AddressBookServer
attributeName
- the attribute namespotlight
- the spotlightfirst
- the firstmax
- the max
@Transactional public AddressBookEntries searchEntries(java.util.Map<java.lang.String,java.lang.Object> attributes)
AddressBookServer
searchEntries
in interface AddressBookServer
attributes
- the attributes
@Transactional public AddressBookEntry makeEmptyEntry()
AddressBookServer
makeEmptyEntry
in interface AddressBookServer
public AddressBookEntry load(java.lang.String id)
AddressBookServer
load
in interface AddressBookServer
id
- the id
public void save(AddressBookEntry entry)
AddressBookServer
save
in interface AddressBookServer
entry
- the entrypublic void delete(AddressBookEntry entry)
AddressBookServer
delete
in interface AddressBookServer
entry
- the entry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |