|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.csp.CSPContentDefinition
public class CSPContentDefinition
This is a content provider which exposes index definitions based on a Content Definition id.
Constructor Summary | |
---|---|
CSPContentDefinition(String contentDefinitionId)
|
Method Summary | |
---|---|
String |
getContentDefinitionId()
|
CSPIndexDefinitionProvider |
getIndexDefinitionProvider()
|
Object[] |
getPropertyKeys()
Returns list of properties supported by this content provider. |
Class |
getType(Object contentDefinitionId)
Returns java type of the given property |
Object |
getValue(Object indexId)
Returns value of the given property |
boolean |
hasProperty(Object indexId)
Checks if the given property is supported by this content provider |
void |
setContentDefinitionId(String contentDefinitionId)
|
void |
setIndexDefinitionProvider(CSPIndexDefinitionProvider indexDefinitionProvider)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.webmethods.caf.faces.data.IContentProvider |
---|
toString |
Constructor Detail |
---|
public CSPContentDefinition(String contentDefinitionId)
Method Detail |
---|
public String getContentDefinitionId()
public void setContentDefinitionId(String contentDefinitionId)
public CSPIndexDefinitionProvider getIndexDefinitionProvider()
public void setIndexDefinitionProvider(CSPIndexDefinitionProvider indexDefinitionProvider)
public Object[] getPropertyKeys()
IContentProvider
Object[0]
,
never null.
getPropertyKeys
in interface IContentProvider
String
or Integer
public Class getType(Object contentDefinitionId) throws PropertyNotFoundException
IContentProvider
getType
in interface IContentProvider
contentDefinitionId
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supportedpublic Object getValue(Object indexId) throws EvaluationException, PropertyNotFoundException
IContentProvider
getValue
in interface IContentProvider
indexId
- the property key of type String
or Integer
null
EvaluationException
- if error during property evaluation
PropertyNotFoundException
- if property is not supportedpublic boolean hasProperty(Object indexId)
IContentProvider
hasProperty
in interface IContentProvider
indexId
- property key of type String
or Integer
true
if property is supported
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |