| Constructor and Description |
|---|
AbstractDatabase() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends E> |
findEntries(Entry.Matcher matcher)
Find all entries that match the criteria
|
List<? extends E> |
findEntries(String find)
Find all entries that match
Entry.match(String) |
boolean |
isDirty()
True if database been modified
|
E |
newEntry(Entry<?,?,?,?> entry)
Create a new Entry copying the details of the supplied entry
|
E |
newEntry(String title)
Create a new Entry with a title
|
G |
newGroup(Group group)
Create a new Group copying the details of the supplied group, but not copying its children
|
G |
newGroup(String name)
Create a new named Group
|
void |
setDirty(boolean dirty) |
void |
visit(G group,
Visitor visitor)
Visit all entries starting from a group
|
void |
visit(Visitor visitor)
Visit all entries
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, getRootGroup, newEntry, newGroup, newIcon, newIcon, save, setDescription, setName, shouldProtectpublic boolean isDirty()
Databasepublic void setDirty(boolean dirty)
public void visit(Visitor visitor)
Databasepublic void visit(G group, Visitor visitor)
Databasepublic List<? extends E> findEntries(Entry.Matcher matcher)
Databasepublic List<? extends E> findEntries(String find)
DatabaseEntry.match(String)public G newGroup(String name)
Databasepublic G newGroup(Group group)
DatabaseUsed for copying a group from one database to another
public E newEntry(String title)
DatabaseCopyright © 2016. All rights reserved.