public class ConfCollection extends ResourceCollection<EntityCollection<Entity>>
ConfCollection
class represents a collection of configuration
files.itemClass, items
Modifier and Type | Method and Description |
---|---|
EntityCollection<Entity> |
create(java.lang.String name)
Creates a new stanza in the current configuration file.
|
EntityCollection<Entity> |
create(java.lang.String name,
java.util.Map args)
Creates a new stanza in the current configuration file with attributes.
|
protected java.lang.String |
itemPath(AtomEntry entry)
Returns the endpoint path for this configuration stanza.
|
clear, containsKey, containsKey, containsValue, createItem, createItem, entrySet, equals, get, get, hashCode, isEmpty, itemKey, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize
getName, getPath, getService, getTitle, getUpdated, invalidate
public EntityCollection<Entity> create(java.lang.String name)
name
- The name of the stanza to create.public EntityCollection<Entity> create(java.lang.String name, java.util.Map args)
name
- The name of the stanza to create.args
- Optional. A set of attributes as key-value pairs to put in
the new stanza.protected java.lang.String itemPath(AtomEntry entry)
itemPath
in class ResourceCollection<EntityCollection<Entity>>
entry
- The AtomEntry
representation of this entry.