public class KdbDatabase extends AbstractDatabase<KdbDatabase,KdbGroup,KdbEntry,KdbIcon>
| Constructor and Description |
|---|
KdbDatabase() |
| Modifier and Type | Method and Description |
|---|---|
KdbGroup |
findGroup(UUID uuid)
Primarily intended for finding the parent of an Entry, when deserializing KDB data.
|
String |
getDescription() |
String |
getName() |
KdbGroup |
getRootGroup() |
static KdbDatabase |
load(Credentials credentials,
InputStream inputStream) |
KdbEntry |
newEntry() |
KdbGroup |
newGroup() |
KdbIcon |
newIcon() |
KdbIcon |
newIcon(Integer i) |
void |
save(Credentials credentials,
OutputStream outputStream) |
void |
setDescription(String description) |
void |
setName(String s) |
boolean |
shouldProtect(String propertyName) |
findEntries, findEntries, isDirty, newEntry, newEntry, newGroup, newGroup, setDirty, visit, visitpublic static KdbDatabase load(Credentials credentials, InputStream inputStream) throws IOException
IOExceptionpublic KdbGroup findGroup(UUID uuid)
uuid - the UUID of the group to find (these are a
simple transposition of the groupId int on deserialization)public KdbGroup getRootGroup()
public KdbGroup newGroup()
public KdbEntry newEntry()
public KdbIcon newIcon()
public String getDescription()
public void setDescription(String description)
public void save(Credentials credentials, OutputStream outputStream) throws IOException
IOExceptionpublic boolean shouldProtect(String propertyName)
public String getName()
public void setName(String s)
Copyright © 2016. All rights reserved.