org.benow.java.config
Interface ConfigurationService

All Superinterfaces:
org.benow.java.spec.Markup, org.benow.service.Service
All Known Implementing Classes:
ConfigurationServiceImpl

public interface ConfigurationService
extends org.benow.service.Service


Nested Class Summary
static class ConfigurationService.Customised
           
 
Nested classes/interfaces inherited from interface org.benow.java.spec.Markup
org.benow.java.spec.Markup.ParamName, org.benow.java.spec.Markup.ReturnDescription
 
Method Summary
 void extract(java.lang.String name)
           
 java.util.List<org.benow.java.config.ConfigurationEntry> getAllEntries()
           
 java.util.List<java.lang.String> getClassNamesWithEntries()
           
 java.util.List<org.benow.java.config.ConfigurationEntry> getEntries(ConfigurationService.Customised customised, org.benow.java.config.ConfigurationEntry.Relevance relevance)
           
 java.util.List<org.benow.java.config.ConfigurationEntry> getEntriesStartingWith(java.lang.String prefix)
           
 org.benow.java.config.ConfigurationEntry getEntry(java.lang.Class<?> declaringClass, java.lang.String name)
           
 org.benow.java.config.ConfigurationEntry getEntryByName(java.lang.String name)
           
 java.util.List<org.benow.java.config.ConfigurationEntry> searchEntries(java.lang.String term)
           
 void setEntry(java.lang.Class<?> declaringClass, java.lang.String name, java.lang.String value)
           
 void updateEntry(org.benow.java.config.ConfigurationEntry entry)
           
 

Method Detail

getAllEntries

java.util.List<org.benow.java.config.ConfigurationEntry> getAllEntries()

getClassNamesWithEntries

java.util.List<java.lang.String> getClassNamesWithEntries()

getEntriesStartingWith

java.util.List<org.benow.java.config.ConfigurationEntry> getEntriesStartingWith(java.lang.String prefix)

getEntryByName

org.benow.java.config.ConfigurationEntry getEntryByName(java.lang.String name)
                                                        throws org.benow.java.config.NoSuchEntryException
Throws:
org.benow.java.config.NoSuchEntryException

updateEntry

void updateEntry(org.benow.java.config.ConfigurationEntry entry)

extract

void extract(java.lang.String name)
             throws org.benow.java.config.NoSuchEntryException
Throws:
org.benow.java.config.NoSuchEntryException

getEntries

java.util.List<org.benow.java.config.ConfigurationEntry> getEntries(ConfigurationService.Customised customised,
                                                                    org.benow.java.config.ConfigurationEntry.Relevance relevance)

searchEntries

java.util.List<org.benow.java.config.ConfigurationEntry> searchEntries(java.lang.String term)

getEntry

org.benow.java.config.ConfigurationEntry getEntry(java.lang.Class<?> declaringClass,
                                                  java.lang.String name)
                                                  throws org.benow.java.config.NoSuchEntryException
Throws:
org.benow.java.config.NoSuchEntryException

setEntry

void setEntry(java.lang.Class<?> declaringClass,
              java.lang.String name,
              java.lang.String value)
              throws org.benow.security.PermissionDeniedException,
                     org.benow.java.config.NoSuchEntryException
Throws:
org.benow.security.PermissionDeniedException
org.benow.java.config.NoSuchEntryException