|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.xdbm.tools.StoreUtils
public class StoreUtils
A utility class for loading example LDIF data.
Constructor Summary | |
---|---|
StoreUtils()
|
Method Summary | |
---|---|
org.apache.directory.shared.ldap.entry.Entry |
getAttributes(Store store,
java.lang.Long id)
This is primarily a convenience method used to extract all the attributes associated with an entry. |
static void |
loadExampleData(Store<ServerEntry> store,
Registries registries)
Initializes and loads a store with the example data shown in Structure and Organization TODO might want to make this load an LDIF instead in the future TODO correct size of spaces in user provided DN |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StoreUtils()
Method Detail |
---|
public static void loadExampleData(Store<ServerEntry> store, Registries registries) throws java.lang.Exception
store
- the store object to be initializedregistries
- oid registries
java.lang.Exception
- on access exceptionspublic org.apache.directory.shared.ldap.entry.Entry getAttributes(Store store, java.lang.Long id) throws java.lang.Exception
store
- the store to get the attributes fromid
- the id of the entry to get index information for
java.lang.Exception
- if there are failures accessing the underlying store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |