All Superinterfaces:
org.freedesktop.dbus.interfaces.DBusInterface
All Known Implementing Classes:
Item

public interface Item extends org.freedesktop.dbus.interfaces.DBusInterface
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The key of the D-Bus properties for the attributes of an item.
    static final String
    The key of of the D-Bus properties for the label of an item.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.freedesktop.dbus.types.UInt64
     
    org.freedesktop.dbus.ObjectPath
    Delete this item.
    The lookup attributes for this item.
    Label is a D-Bus Property.
    getSecret(org.freedesktop.dbus.ObjectPath session)
    Retrieve the secret for this item.
     
    boolean
     
    org.freedesktop.dbus.types.UInt64
     
    void
    The lookup attributes for this item.
    void
    Label is a D-Bus Property.
    void
    setSecret(Secret secret)
    Set the secret for this item.

    Methods inherited from interface org.freedesktop.dbus.interfaces.DBusInterface

    getObjectPath, isRemote
  • Field Details

  • 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

      Secret getSecret(org.freedesktop.dbus.ObjectPath session)
      Retrieve the secret for this item.
      Parameters:
      session - The session to use to encode the secret.
      Returns:
      secret — The secret retrieved.
    • setSecret

      void setSecret(Secret secret)
      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

      Map<String,String> getAttributes()
      The lookup attributes for this item. Attributes is a D-Bus Property.

      It is managed by using the org.freedesktop.DBus.Properties interface.

      Returns:
      The attributes of the item.
    • setAttributes

      void setAttributes(Map<String,String> attributes)
      The lookup attributes for this item. Attributes is a D-Bus Property.

      It is managed by using the org.freedesktop.DBus.Properties interface.

      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.Properties interface.

      Returns:
      The displayable label of this collection.

      Note: The displayable label can differ from the actual name of a collection.

    • setLabel

      void setLabel(String label)
      Label is a D-Bus Property.

      It is managed by using the org.freedesktop.DBus.Properties interface.

      Parameters:
      label - The displayable label of this collection.

      Note: The displayable label can differ from the actual name of 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.