Package org.freedesktop.secret
Class Item
- java.lang.Object
-
- org.freedesktop.secret.handlers.Messaging
-
- org.freedesktop.secret.interfaces.Item
-
- org.freedesktop.secret.Item
-
- All Implemented Interfaces:
org.freedesktop.dbus.interfaces.DBusInterface
public class Item extends Item
-
-
Field Summary
-
Fields inherited from class org.freedesktop.secret.interfaces.Item
ATTRIBUTES, LABEL
-
Fields inherited from class org.freedesktop.secret.handlers.Messaging
connection, interfaceName, msg, objectPath, serviceName, sh
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.freedesktop.dbus.types.UInt64created()org.freedesktop.dbus.ObjectPathdelete()Delete this item.Map<String,String>getAttributes()The lookup attributes for this item.StringgetId()StringgetLabel()Label is a D-Bus Property.StringgetObjectPath()SecretgetSecret(org.freedesktop.dbus.ObjectPath session)Retrieve the secret for this item.StringgetType()booleanisLocked()booleanisRemote()org.freedesktop.dbus.types.UInt64modified()voidsetAttributes(Map<String,String> attributes)The lookup attributes for this item.voidsetLabel(String label)Label is a D-Bus Property.voidsetSecret(Secret secret)Set the secret for this item.-
Methods inherited from class org.freedesktop.secret.interfaces.Item
createProperties
-
Methods inherited from class org.freedesktop.secret.handlers.Messaging
getAllProperties, getConnection, getInterfaceName, getMessageHandler, getPath, getProperty, getServiceName, getSignalHandler, send, send, setProperty
-
-
-
-
Method Detail
-
delete
public org.freedesktop.dbus.ObjectPath delete()
Description copied from class:ItemDelete this item.
-
getSecret
public Secret getSecret(org.freedesktop.dbus.ObjectPath session)
Description copied from class:ItemRetrieve the secret for this item.
-
setSecret
public void setSecret(Secret secret)
Description copied from class:ItemSet the secret for this item.
-
isLocked
public boolean isLocked()
-
getAttributes
public Map<String,String> getAttributes()
Description copied from class:ItemThe lookup attributes for this item. Attributes is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.- Specified by:
getAttributesin classItem- Returns:
- The attributes of the item.
-
setAttributes
public void setAttributes(Map<String,String> attributes)
Description copied from class:ItemThe lookup attributes for this item. Attributes is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.- Specified by:
setAttributesin classItem- Parameters:
attributes- The attributes of the item.
-
getLabel
public String getLabel()
Description copied from class:ItemLabel is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.
-
setLabel
public void setLabel(String label)
Description copied from class:ItemLabel is a D-Bus Property.It is managed by using the
org.freedesktop.DBus.Propertiesinterface.
-
getType
public String getType()
-
created
public org.freedesktop.dbus.types.UInt64 created()
-
modified
public org.freedesktop.dbus.types.UInt64 modified()
-
isRemote
public boolean isRemote()
-
getObjectPath
public String getObjectPath()
- Specified by:
getObjectPathin interfaceorg.freedesktop.dbus.interfaces.DBusInterface- Overrides:
getObjectPathin classMessaging
-
getId
public String getId()
-
-