com.silverpeas.whitePages.test
Class DataSourceAccessor
java.lang.Object
com.silverpeas.whitePages.test.DataSourceAccessor
public class DataSourceAccessor
- extends Object
An object providing an access to the data in the underlying data source used in the tests.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAccessorOnDataSource
public static DataSourceAccessor getAccessorOnDataSource(DataSource dataSource)
initDataSourceWithData
public DataSourceAccessor initDataSourceWithData(String xmlDataFile)
throws Exception
- Throws:
Exception
cleanUpDataSource
public void cleanUpDataSource()
throws Exception
- Throws:
Exception
fetchSearchFieldById
public SearchField fetchSearchFieldById(String id)
throws Exception
- Throws:
Exception
fetchSearchFieldByInstanceId
public List<SearchField> fetchSearchFieldByInstanceId(String id)
throws Exception
- Throws:
Exception
isExists
public boolean isExists(String searchFieldId)
throws Exception
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.