- All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
- All Known Implementing Classes:
Item
public interface Item
extends org.freedesktop.dbus.interfaces.DBusInterface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionorg.freedesktop.dbus.types.UInt64created()org.freedesktop.dbus.ObjectPathdelete()Delete this item.The lookup attributes for this item.getLabel()Label is a D-Bus Property.getSecret(org.freedesktop.dbus.ObjectPath session) Retrieve the secret for this item.getType()booleanisLocked()org.freedesktop.dbus.types.UInt64modified()voidsetAttributes(Map<String, String> attributes) The lookup attributes for this item.voidLabel is a D-Bus Property.voidSet the secret for this item.Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface
getObjectPath, isRemote
-
Field Details
-
LABEL
The key of of the D-Bus properties for the label of an item.- See Also:
-
ATTRIBUTES
The key of the D-Bus properties for the attributes of an item.- See Also:
-
-
Method Details
-
delete
org.freedesktop.dbus.ObjectPath delete()Delete this item.- Returns:
- Prompt — A prompt objectpath, or the special value '/' if no prompt is necessary.
-
getSecret
Retrieve the secret for this item.- Parameters:
session- The session to use to encode the secret.- Returns:
- secret — The secret retrieved.
-
setSecret
Set the secret for this item.- Parameters:
secret- The secret to set, encoded for the included session.
-
isLocked
boolean isLocked()- Returns:
- Whether the item is locked and requires authentication, or not.
-
getAttributes
The lookup attributes for this item. Attributes is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.- Returns:
- The attributes of the item.
-
setAttributes
The lookup attributes for this item. Attributes is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.- Parameters:
attributes- The attributes of the item.
-
getLabel
String getLabel()Label is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.- Returns:
- The displayable label of this collection.
Note: The displayable
labelcan differ from the actualnameof a collection.
-
setLabel
Label is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.- Parameters:
label- The displayable label of this collection.Note: The displayable
labelcan differ from the actualnameof a collection.
-
getType
String getType()- Returns:
- The "xdg:schema" of the item attributes.
-
created
org.freedesktop.dbus.types.UInt64 created()- Returns:
- The unix time when the item was created.
-
modified
org.freedesktop.dbus.types.UInt64 modified()- Returns:
- The unix time when the item was last modified.
-