Entry.MatcherSTANDARD_PROPERTY_NAME_NOTES, STANDARD_PROPERTY_NAME_PASSWORD, STANDARD_PROPERTY_NAME_TITLE, STANDARD_PROPERTY_NAME_URL, STANDARD_PROPERTY_NAME_USER_NAME, STANDARD_PROPERTY_NAMES| Constructor and Description |
|---|
AbstractEntry() |
| Modifier and Type | Method and Description |
|---|---|
String |
getNotes()
Gets the notes field for this entry.
|
String |
getPassword()
Gets the (unencrypted) password field for this entry.
|
String |
getPath()
Returns an XPath-like representation of this
entry's ancestor groups and the title of this entry.
|
PropertyValue |
getPropertyValue(String name)
Gets the value of a property as a PropertyValue.
|
String |
getTitle()
Gets the title of this entry.
|
String |
getUrl()
Gets the URL for this entry.
|
String |
getUsername()
Get the username field of this entry
|
boolean |
match(Entry.Matcher matcher)
Returns the result of applying the matcher to this Entry
|
boolean |
match(String text)
Determines if an entry matches the text supplied.
|
boolean |
matchNotes(String text)
Returns true if the notes to lowercase contains the passed string to lowercase.
|
boolean |
matchTitle(String text)
Returns true if this title to lowercase contains the passed title to lowercase.
|
boolean |
matchUrl(String text)
Returns true if this url to lowercase contains the passed url to lowercase.
|
boolean |
matchUsername(String text)
Returns true if this username to lowercase contains the passed username to lowercase.
|
void |
setNotes(String notes)
Sets the notes for this Entry.
|
void |
setPassword(String pass)
Sets the plaintext password for this Entry.
|
void |
setPropertyValue(String name,
PropertyValue value)
Sets the value of a property as a property value.
|
void |
setTitle(String title)
Sets the title for this Entry.
|
void |
setUrl(String url)
Sets the url for this Entry.
|
void |
setUsername(String username)
set the username
|
String |
toString() |
protected abstract void |
touch() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBinaryProperty, getBinaryPropertyNames, getCreationTime, getExpires, getExpiryTime, getIcon, getLastAccessTime, getLastModificationTime, getParent, getProperty, getPropertyNames, getUuid, removeBinaryProperty, removeProperty, setBinaryProperty, setExpires, setExpiryTime, setIcon, setPropertypublic boolean matchTitle(String text)
Entrypublic boolean matchNotes(String text)
Entrypublic boolean matchUsername(String text)
Entrypublic boolean matchUrl(String text)
Entrypublic boolean match(String text)
Entrypublic boolean match(Entry.Matcher matcher)
Entrypublic String getPath()
Entrypublic String getUsername()
Entrypublic void setUsername(String username)
Entrypublic String getPassword()
EntryImplementations should Touch LastAccessedTime when this method is called.
public void setPassword(String pass)
EntryImplementations should Touch LastModifiedTime when this method is called.
public String getUrl()
EntryImplementations should Touch LastAccessedTime when this method is called.
public void setUrl(String url)
EntryImplementations should Touch LastModifiedTime when this method is called.
public String getTitle()
EntryImplementations should Touch LastAccessedTime when this method is called.
public void setTitle(String title)
EntryImplementations should Touch LastModifiedTime when this method is called.
public String getNotes()
EntryImplementations should Touch LastAccessedTime when this method is called.
public void setNotes(String notes)
EntryImplementations should Touch LastModifiedTime when this method is called.
public PropertyValue getPropertyValue(String name)
EntryAll implementations of Entry are required to support reading and writing of
Entry.STANDARD_PROPERTY_NAMES.
getPropertyValue in interface Entry<D extends Database<D,G,E,I>,G extends Group<D,G,E,I>,E extends Entry<D,G,E,I>,I extends Icon>name - the name of the property to getDatabase.supportsNonStandardPropertyNames()public void setPropertyValue(String name, PropertyValue value)
EntryDatabase.shouldProtect(String)
Other than the Entry.STANDARD_PROPERTY_NAMES support for this method is optional.
protected abstract void touch()
Copyright © 2025. All rights reserved.