public class WebSiteRandomGenerator extends Object implements WebSiteGenerator, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static String |
WEB_SITE_HOME_NAME |
| Constructor and Description |
|---|
WebSiteRandomGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.alfresco.service.cmr.repository.NodeRef |
generateWebSite(String siteName) |
File |
generateWebSiteAcp(String location) |
void |
setMaxSectionCount(int maxSectionCount) |
void |
setMaxSectionDepth(int maxSectionDepth) |
void |
setMinSectionCount(int minSectionCount) |
void |
setMinSectionDepth(int minSectionDepth) |
void |
setNodeLocatorService(org.alfresco.repo.nodelocator.NodeLocatorService nodeLocatorService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setShareSiteName(String shareSiteName) |
void |
setSiteService(org.alfresco.service.cmr.site.SiteService siteService) |
void |
setTextGenerator(TextGenerator textGenerator) |
void |
setWebSiteBuilder(WebSiteBuilder siteBuilder) |
public static final String WEB_SITE_HOME_NAME
public File generateWebSiteAcp(String location) throws Exception
Exceptionpublic org.alfresco.service.cmr.repository.NodeRef generateWebSite(String siteName)
generateWebSite in interface WebSiteGeneratorpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setWebSiteBuilder(WebSiteBuilder siteBuilder)
siteBuilder - the siteBuilder to setpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - the nodeService to setpublic void setNodeLocatorService(org.alfresco.repo.nodelocator.NodeLocatorService nodeLocatorService)
nodeLocatorService - the nodeLocatorService to setpublic void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
siteService - the siteService to setpublic void setTextGenerator(TextGenerator textGenerator)
textGenerator - the textGenerator to setpublic void setShareSiteName(String shareSiteName)
shareSiteName - the shareSiteName to setpublic void setMinSectionCount(int minSectionCount)
minSectionCount - the minSectionCount to setpublic void setMaxSectionCount(int maxSectionCount)
maxSectionCount - the maxSectionCount to setpublic void setMinSectionDepth(int minSectionDepth)
minSectionDepth - the minSectionDepth to setpublic void setMaxSectionDepth(int maxSectionDepth)
maxSectionDepth - the maxSectionDepth to setCopyright © 2005–2014 Alfresco Software. All rights reserved.