A C D G O R

## A

add(Resource, Map<String, Object>) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Creates a new entry in the collection at the last position and add a reference to resource in the entry.
add(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Creates a new entry in the collection at the last position and add a reference to resource in the entry.

## C

contains(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Returns true if resource reference is part of the collection.
createCollection(Resource, String) - Method in interface org.apache.sling.resource.collection.ResourceCollectionManager
  This method creates a resource collection with a given name under the `parentResource`.
createCollection(Resource, String, Map<String, Object>) - Method in interface org.apache.sling.resource.collection.ResourceCollectionManager
  This method creates a resource collection with a given name under the `parentResource`.
createUniqueChildName(Resource, String) - Static method in class org.apache.sling.resource.collection.impl.util.ResourceCollectionUtil
  Create a unique name for a child of the `resource`.

## D

deleteCollection(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollectionManager
  Removes the `ResourceCollection` corresponding to the collection represented by `resource`.

## G

getCollection(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollectionManager
  This method returns a resource collection for the given `resource` that represents a `ResourceCollection`.
getName() - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Returns name of the collection.
getPath() - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Returns path of the collection.
getProperties(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Returns additional properties for a particular resource in Collection entry.
getResources() - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Returns an iterator over resources referred in the collection in the specified order.
getValueMap(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Returns additional properties for a particular resource in Collection entry.

## O

orderBefore(Resource, Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  This method inserts the referenced resource `srcResource` into the collection entry at the position immediately before the referenced resource `destResource`.
org.apache.sling.resource.collection - package org.apache.sling.resource.collection
org.apache.sling.resource.collection.impl.util - package org.apache.sling.resource.collection.impl.util

## R

remove(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
  Removes a entry of resource from collection & returns true if successful.
RESOURCE_TYPE - Static variable in interface org.apache.sling.resource.collection.ResourceCollection
  Sling resource type for resource representing a `ResourceCollection`
ResourceCollection - Interface in org.apache.sling.resource.collection
  ResourceCollection is an ordered collection of `Resource`.
ResourceCollectionManager - Interface in org.apache.sling.resource.collection
  The `ResourceCollectionManager` defines the API to get, create and delete resource collections `ResourceCollection`.
ResourceCollectionUtil - Class in org.apache.sling.resource.collection.impl.util
ResourceCollectionUtil() - Constructor for class org.apache.sling.resource.collection.impl.util.ResourceCollectionUtil

A C D G O R