|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
If a PropertyProvider is passed to Search.createSearchQuery()
, the Search helper must not access any of the properties
supported by this PropertyProvider
directly (e.g.
by using the Content helper) but instead use getProperty()
on this provider to retrieve it.
Method Summary | |
NodeProperty |
getProperty(java.lang.String resourceUri,
java.lang.String propertyName,
java.lang.String propertyNamespace)
If the property specified by propertyNamespace and
propertyName is supported
by this PropertyProvider , the NodeProperty of the resource located
at the given resourceUri will be returned. |
java.util.Iterator |
getSupportedProperties(java.lang.String resourceUri)
Returns an Iterator of all NodeProperties supported by this PropertyProvider. |
java.util.Iterator |
getSupportedPropertiesNames(java.lang.String resourceUri)
Returns an Iterator of PropertyName of all properties supported by this PropertyProvider. |
boolean |
isSupportedProperty(java.lang.String resourceUri,
java.lang.String propertyName,
java.lang.String propertyNamespace)
Returns true if this PropertyProvider can provide the NodeProperty
specified by propertyNamespace and propertyName
for the resource with the given resourceUri . |
Method Detail |
public boolean isSupportedProperty(java.lang.String resourceUri, java.lang.String propertyName, java.lang.String propertyNamespace) throws SlideException
true
if this PropertyProvider can provide the NodeProperty
specified by propertyNamespace
and propertyName
for the resource with the given resourceUri
.
resourceUri
- the URI of the resource.propertyName
- the name of the property.propertyNamespace
- the namespace of the property.
true
if this PropertyProvider can provide the NodeProperty.
SlideException
public java.util.Iterator getSupportedPropertiesNames(java.lang.String resourceUri) throws SlideException
resourceUri
- the URI of the resource for which to return
the supported PropertyNames.
SlideException
public NodeProperty getProperty(java.lang.String resourceUri, java.lang.String propertyName, java.lang.String propertyNamespace) throws SlideException
propertyNamespace
and
propertyName
is supported
by this PropertyProvider
, the NodeProperty of the resource located
at the given resourceUri
will be returned. Otherwise
null
is returned.
resourceUri
- the URI of the resource for which to return
the NodeProperty.propertyName
- the name of the property to return.propertyNamespace
- the namespace of the property to return.
null
.
SlideException
public java.util.Iterator getSupportedProperties(java.lang.String resourceUri) throws SlideException
resourceUri
- the URI of the resource for which to return
the supported properties.
SlideException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |