Skip navigation links
A C D G M O R S 

A

add(Resource, Map<String, Object>) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Creates a new entry in the collection at the last position and add a reference to resource in the entry.
add(Resource) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Creates a new entry in the collection at the last position and add a reference to resource in the entry.
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 class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Returns true if resource reference is part of the collection.
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 class org.apache.sling.resource.collection.impl.ResourceCollectionManagerImpl
This method creates a resource collection with a given name under the parentResource.
createCollection(Resource, String, Map<String, Object>) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionManagerImpl
This method creates a resource collection with a given name under the parentResource.
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 class org.apache.sling.resource.collection.impl.ResourceCollectionManagerImpl
Removes the ResourceCollection corresponding to the collection represented by resource.
deleteCollection(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollectionManager
Removes the ResourceCollection corresponding to the collection represented by resource.

G

getAdapter(Object, Class<AdapterType>) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionAdapterFactory
 
getCollection(Resource) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionManagerImpl
This method returns a resource collection for the given resource that represents a ResourceCollection.
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 class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Returns name of the collection.
getName() - Method in interface org.apache.sling.resource.collection.ResourceCollection
Returns name of the collection.
getPath() - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Returns path of the collection.
getPath() - Method in interface org.apache.sling.resource.collection.ResourceCollection
Returns path of the collection.
getProperties(Resource) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
 
getProperties(Resource) - Method in interface org.apache.sling.resource.collection.ResourceCollection
Returns additional properties for a particular resource in Collection entry.
getResources() - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Returns an iterator over resources referred in the collection in the specified order.
getResources() - Method in interface org.apache.sling.resource.collection.ResourceCollection
Returns an iterator over resources referred in the collection in the specified order.
getType() - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Returns the sling resource type on content node of collection

M

MEMBERS_NODE_NAME - Static variable in interface org.apache.sling.resource.collection.impl.ResourceCollectionConstants
node name for the collection members

O

orderBefore(Resource, Resource) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
 
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 - package org.apache.sling.resource.collection.impl
 
org.apache.sling.resource.collection.impl.util - package org.apache.sling.resource.collection.impl.util
 

R

REF_PROPERTY - Static variable in interface org.apache.sling.resource.collection.impl.ResourceCollectionConstants
property name to store resource reference in collection entry
REFERENCES_PROP - Static variable in interface org.apache.sling.resource.collection.impl.ResourceCollectionConstants
property name to store list of references in a collection
remove(Resource) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Removes a entry of resource from collection & returns true if successful.
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.
ResourceCollectionAdapterFactory - Class in org.apache.sling.resource.collection.impl
AdapterFactory that adapts Resources to: ResourceCollection And ResourceResolver to: {@link ResourceCollectionManager)
ResourceCollectionAdapterFactory() - Constructor for class org.apache.sling.resource.collection.impl.ResourceCollectionAdapterFactory
 
ResourceCollectionConstants - Interface in org.apache.sling.resource.collection.impl
 
ResourceCollectionImpl - Class in org.apache.sling.resource.collection.impl
Implements ResourceCollection
ResourceCollectionImpl(Resource) - Constructor for class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Creates a new collection from the given resource
ResourceCollectionManager - Interface in org.apache.sling.resource.collection
The ResourceCollectionManager defines the API to get, create and delete resource collections ResourceCollection.
ResourceCollectionManagerImpl - Class in org.apache.sling.resource.collection.impl
Implements ResourceCollectionManger interface.
ResourceCollectionManagerImpl() - Constructor for class org.apache.sling.resource.collection.impl.ResourceCollectionManagerImpl
 
ResourceCollectionUtil - Class in org.apache.sling.resource.collection.impl.util
 
ResourceCollectionUtil() - Constructor for class org.apache.sling.resource.collection.impl.util.ResourceCollectionUtil
 

S

setType(String) - Method in class org.apache.sling.resource.collection.impl.ResourceCollectionImpl
Sets the sling resource type on content node of collection
A C D G M O R S 

Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.