Package com.day.cq.connector
Interface ConnectorResource
-
-
Field Summary
-
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Iterable<ConnectorResource>
executeQuery(java.lang.String fulltext)
Executes a fulltext query on this resource.java.lang.Iterable<ConnectorResource>
getChildren()
Lists the children of this resource.java.util.Calendar
getLastModified()
java.lang.String
getMimeType()
boolean
isContainer()
-
Methods inherited from interface org.apache.sling.api.resource.Resource
getChild, getName, getParent, getPath, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren
-
-
-
-
Method Detail
-
executeQuery
java.lang.Iterable<ConnectorResource> executeQuery(java.lang.String fulltext)
Executes a fulltext query on this resource. The scope of the query is limitted to the descendants of this resource.- Parameters:
fulltext
- the fulltext query statement.- Returns:
- an iterator over result set.
-
getChildren
java.lang.Iterable<ConnectorResource> getChildren()
Lists the children of this resource.- Specified by:
getChildren
in interfaceResource
- Returns:
- the children of this resource.
- See Also:
ResourceResolver.getChildren(Resource)
-
isContainer
boolean isContainer()
- Returns:
true
if this resource is a container that contains other resources;false
otherwise.
-
getLastModified
java.util.Calendar getLastModified()
- Returns:
- the date when this resource was last modified.
-
getMimeType
java.lang.String getMimeType()
- Returns:
- the mime type of this resource.
-
-