public class NamingServiceBean extends AddressbookBean
beginIndex, book, category, deletionMarks, destination, endIndex, entries, filter, hostname, search, sorter_context, action, lastSerial, method, PROP_PW_ENABLE, properties, serial| Constructor and Description |
|---|
NamingServiceBean() |
| Modifier and Type | Method and Description |
|---|---|
void | export(Writer out)Export address book entries to a writer. |
String | getDisplayName()Returns the display name for the address book. |
AddressBean[] | getEntries()Returns the address entries. |
String | getFileName()Returns the file name for the address book. |
String | getLoadBookMessages()Load addressbook and apply filter, returning messages about this. |
AddressBean | getLookup()Lookup a single destination by hostname. |
List<AddressBean> | getLookupAll()Lookup all destinations for a hostname. |
String | getMessages()Perform actions, returning messages about this. |
protected int | getTotalFilteredCount()Gets the total count of filtered results for pagination display. |
boolean | haveImagegen()Check if the imagegen service is available. |
String | importFile(RequestWrapper wrequest)Import entries from a file upload. |
boolean | isNotEmpty()Returns whether the address book is not empty. |
protected boolean | isPrefiltered()Checks if entries are pre-filtered. |
protected int | resultSize()Gets the size of the lookup result. |
void | saveNotes()Save notes for a destination. |
void | setH(String h)Sets the hostname for lookup. |
void | setNofilter_notes(String n)Sets the notes for the destination. |
protected int | totalSize()Gets the total size of the address book. |
generateLoadMessage, getBegin, getBeginInt, getBook, getCategoryFilter, getDestination, getEnd, getEndInt, getFilter, getHostname, getPageBegin, getResultBegin, getResultEnd, getSearch, getTrClass, isHasFilter, isIsEmpty, isValidBook, setBegin, setBook, setDestination, setEnd, setFilter, setHostname, setMarkedForDeletion, setResetDeletionMarks, setSearch, setTrClass_t, _t, _t, addressbookDir, configFile, debug, getAction, getSerial, getTheme, getThemeName, getThemes, isOverrideCssActive, loadConfig, ngettext, reload, setAction, setSerial, storeMethod, useSoraFont, warnpublic void export(Writer out) throws IOException
out - the writer to export toIOException - if an I/O error occurspublic String getDisplayName()
getDisplayName in class AddressbookBeanpublic AddressBean[] getEntries()
getEntries in class AddressbookBeanpublic String getFileName()
getFileName in class AddressbookBeanpublic String getLoadBookMessages()
getLoadBookMessages in class AddressbookBeanpublic AddressBean getLookup()
public List<AddressBean> getLookupAll()
public String getMessages()
getMessages in class AddressbookBeanprotected int getTotalFilteredCount()
getTotalFilteredCount in class AddressbookBeanpublic boolean haveImagegen()
public String importFile(RequestWrapper wrequest) throws IOException
wrequest - the request wrapper containing the fileIOException - if an I/O error occurspublic boolean isNotEmpty()
isNotEmpty in class AddressbookBeanprotected boolean isPrefiltered()
isPrefiltered in class AddressbookBeanprotected int resultSize()
resultSize in class AddressbookBeanpublic void saveNotes()
public void setH(String h)
h - the hostname to setpublic void setNofilter_notes(String n)
n - the notes to setprotected int totalSize()
totalSize in class AddressbookBean