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.CalendargetLastModified()java.lang.StringgetMimeType()booleanisContainer()- 
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:
 getChildrenin interfaceResource- Returns:
 - the children of this resource.
 - See Also:
 ResourceResolver.getChildren(Resource)
 
- 
isContainer
boolean isContainer()
- Returns:
 trueif this resource is a container that contains other resources;falseotherwise.
 
- 
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.
 
 
 - 
 
 -