Class XMLTestData
java.lang.Object
org.alfresco.utility.data.provider.XMLCollection
org.alfresco.utility.data.provider.XMLTestData
XML structure for Test Data
- Author:
- Paul Brodner
-
Field Summary
Fields inherited from class org.alfresco.utility.data.provider.XMLCollection
entireStructure -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup(DataContent dataContent) Calling this method will delete entire test data structure from your alfresco repositoryvoidcreateSitesStructure(DataSite dataSite, DataContent dataContent, DataUser dataUser) Calling this method will create entire test data structure in your alfresco repositoryvoidcreateUsers(DataUser dataUser) Calling this method will create entire test data structure in your alfresco repositoryprotected List<XMLDataItem>getSites()getUsers()voidvoidsetQueries(List<QueryModel> queries) voidsetSites(List<XMLSiteData> sites) voidsetUsers(List<XMLUserData> users) toString()Methods inherited from class org.alfresco.utility.data.provider.XMLCollection
bulkAddToCollection, getEntireStructure, getParent, setParent
-
Constructor Details
-
XMLTestData
public XMLTestData()
-
-
Method Details
-
getQueries
-
setQueries
-
getSites
-
setSites
-
getUsers
-
setUsers
-
createUsers
Calling this method will create entire test data structure in your alfresco repository- Throws:
DataPreparationException
-
createSitesStructure
Calling this method will create entire test data structure in your alfresco repository -
cleanup
Calling this method will delete entire test data structure from your alfresco repository- Throws:
TestConfigurationException
-
toString
-
getImbricatedData
- Specified by:
getImbricatedDatain classXMLCollection
-
logEntireStructure
public void logEntireStructure() -
getTestDataItemWithId
- Parameters:
id-- Returns:
XMLDataItembased on the id of the object
-