|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.bean.BaseFacesBean
com.webmethods.caf.faces.bean.BaseFacesSessionBean
com.webmethods.caf.faces.data.csp.CSPBaseProvider
com.webmethods.caf.faces.data.csp.CSPIndexDefinitionProvider
public class CSPIndexDefinitionProvider
This is a Content Provider used for retrieving meta-data from CSP.It can be used to retrieve CSPIndexes based on either content id or contentDefinitionId.
Field Summary |
---|
Fields inherited from class com.webmethods.caf.faces.data.csp.CSPBaseProvider |
---|
fRetrievalModule, fSession |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
fExpireWithPageFlow |
Fields inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
DATA_BINDING_CLIENTS, OUTCOME_ERROR, OUTCOME_OK, resourcesProviders |
Constructor Summary | |
---|---|
CSPIndexDefinitionProvider()
|
Method Summary | |
---|---|
CSPIndex |
getDefinition(String indexId)
Returns the index definition for a index id |
List |
getIndexes(String contentId)
Returns indexes for a content id |
List |
getIndexesForContentDefinition(String contentDefinitionId)
Returns all indexes for a content definition |
List |
getIndexesForContentDefinitions(List contentDefinitions)
Returns indexes for specified content definitions and excludes the duplicates Example: Content definition id - ID1 Indexes for ID1 - index1, index2, indexID1 Content definition id - ID2 Indexes for ID2 - index1, indexID2 This method should return - index1, index2, indexID1, indexID2 |
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 contentDefinitionId)
Returns value of the given property |
boolean |
hasProperty(Object contentDefinitionId)
Checks if the given property is supported by this content provider |
Methods inherited from class com.webmethods.caf.faces.data.csp.CSPBaseProvider |
---|
checkState, getSession, release, setSession |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesSessionBean |
---|
getExpireWithPageFlow, setExpireWithPageFlow, valueBound, valueUnbound |
Methods inherited from class com.webmethods.caf.faces.bean.BaseFacesBean |
---|
createMethodBinding, createValueBinding, error, error, error, error, error, getBean, getFacesContext, getLocale, getResourceInputStream, getResources, getResourcesProvider, getRootCause, getStackTrace, getTreeAttribute, isUserInRole, log, log, log, putTreeAttribute, resetDataBindingClients, resolveDataBinding, resolveDataBinding, resolveExpression, setValue |
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 CSPIndexDefinitionProvider()
Method Detail |
---|
public CSPIndex getDefinition(String indexId) throws Exception
indexId
- whose definition should be returned
Exception
public List getIndexes(String contentId) throws Exception
contentId
- whose indexes to be returned
Exception
public List getIndexesForContentDefinition(String contentDefinitionId) throws Exception
contentDefinitionId
- whose indexes to be retrieved
Exception
public List getIndexesForContentDefinitions(List contentDefinitions) throws Exception
contentDefinitions
- whose indexes should be returned
Exception
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 contentDefinitionId)
IContentProvider
getValue
in interface IContentProvider
contentDefinitionId
- - the id of the Content Definition that keep information about selected node.
CSPContentDefinition
public boolean hasProperty(Object contentDefinitionId)
IContentProvider
hasProperty
in interface IContentProvider
contentDefinitionId
- 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 |