| Modifier and Type | Field and Description |
|---|---|
| private String | |
| public static final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UInt64 | |
| public Pair | createItem(Map<String, Variant<T>>
The properties for the new item.
properties, Secret This allows setting the new item's properties upon its creation. All READWRITE properties
are useable. Specify the property names in full
Example 13.2. Example for properties of an item: Note Please note that there is a distinction between the terms Property, which refers to D-Bus properties of an object, and Attribute, which refers to one of a secret item's string-valued attributes. The secret to store in the item, encoded with the included session. secret, boolean Whether to replace an item with the same attributes or not. replace)Implements org. Create an item with the given attributes, secret and label. |
| public static Map | Returns: properties — The propterties for a collection.
Note Properties for a collection and properties for an item are not the same. See Also: Collection#createItem(Map properties, Secret secret, boolean replace)Service#createCollection(Map properties)Service#createCollection(Map properties, String alias)Item#createProperties(String label, Map attributes)The displayable label of this collection. label)Note The displayable Create propterties for a new collection. |
| public ObjectPath | delete()
Implements org.
References Deprecated
ObjectPath is deprecated or references (maybe indirectly) at least one deprecated element.
Delete this collection. |
| public String | |
| public List | getItems()
Implements org. Items is a D-Bus Property. |
| public String | getLabel()
Implements org. Label is a D-Bus Property. |
| public String | getObjectPath()
Overrides org. Implements org. Returns the path of this object. |
| public boolean | |
| public boolean | isRemote()
Overrides default org. Returns true on remote objects. |
| public UInt64 | |
| public List | searchItems(Map<String, String>
Attributes to match. attributes)Implements org. Search for items in this collection matching the lookup attributes. |
| public void | setLabel(String
The displayable label of this collection. label)Note The displayable Implements org. Label is a D-Bus Property. |
| id | back to summary |
|---|---|
| private String id | |
| signals | back to summary |
|---|---|
| public static final List<Class<? extends DBusSignal>> signals | |
| Collection | back to summary |
|---|---|
| public Collection(DBusPath path, Service service) | |
| Collection | back to summary |
|---|---|
| public Collection(DBusPath path, Service service, List<Class<? extends DBusSignal>> signals) | |
| Collection | back to summary |
|---|---|
| public Collection(String id, Service service) | |
| created | back to summary |
|---|---|
| public UInt64 created() Implements org.
| |
| createItem | back to summary |
|---|---|
| public Pair Implements org. Doc from org. Create an item with the given attributes, secret and label. If replace is set, then it replaces an item already present with the same values for the attributes.
| |
| createProperties | back to summary |
|---|---|
| public static Map Create propterties for a new collection.
| |
| delete | back to summary |
|---|---|
| public ObjectPath delete() Implements org. Doc from org. References Deprecated
See corresponding docs for further information. Delete this collection.
| |
| getId | back to summary |
|---|---|
| public String getId() | |
| getItems | back to summary |
|---|---|
| public List Implements org. Doc from org. Items is a D-Bus Property. It is managed by using the
| |
| getLabel | back to summary |
|---|---|
| public String getLabel() Implements org. Doc from org. Label is a D-Bus Property. It is managed by using the | |
| getObjectPath | back to summary |
|---|---|
| public String getObjectPath() Overrides org. Implements org. Doc from org. Returns the path of this object. | |
| isLocked | back to summary |
|---|---|
| public boolean isLocked() Implements org.
| |
| isRemote | back to summary |
|---|---|
| public boolean isRemote() Overrides default org. Doc from org. Returns true on remote objects. Local objects implementing this interface MUST return false.
| |
| modified | back to summary |
|---|---|
| public UInt64 modified() Implements org.
| |
| searchItems | back to summary |
|---|---|
| public List Implements org. Doc from org. Search for items in this collection matching the lookup attributes. | |
| setLabel | back to summary |
|---|---|
| public void setLabel(String label) Implements org. Doc from org. Label is a D-Bus Property. It is managed by using the | |