public class SiteArchiver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AuthzGroupService |
m_authzGroupService
Dependency: AuthzService
|
protected ContentHostingService |
m_contentHostingService
Dependency: ContentHosting
|
protected EntityManager |
m_entityManager
Dependency: EntityManager.
|
protected ServerConfigurationService |
m_serverConfigurationService
Dependency: ServerConfigurationService.
|
protected SiteService |
m_siteService
Dependency: SiteService
|
protected TimeService |
m_timeService
Dependency: TimeService
|
protected UserDirectoryService |
m_userDirectoryService
Dependency: UserDirectoryService
|
| Constructor and Description |
|---|
SiteArchiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
archive(String siteId,
String m_storagePath,
String fromSystem) |
protected String |
archiveSite(Site site,
Document doc,
Stack stack,
String fromSystem)
Archive the site definition.
|
protected String |
archiveUsers(Site site,
Document doc,
Stack stack)
Archive the users defined in this site (internal users only).
|
void |
setAuthzGroupService(AuthzGroupService service) |
void |
setContentHostingService(ContentHostingService service) |
void |
setEntityManager(EntityManager service) |
void |
setServerConfigurationService(ServerConfigurationService service) |
void |
setSiteService(SiteService service) |
void |
setTimeService(TimeService service) |
void |
setUserDirectoryService(UserDirectoryService service) |
protected ServerConfigurationService m_serverConfigurationService
protected EntityManager m_entityManager
protected SiteService m_siteService
protected AuthzGroupService m_authzGroupService
protected UserDirectoryService m_userDirectoryService
protected TimeService m_timeService
protected ContentHostingService m_contentHostingService
public void setServerConfigurationService(ServerConfigurationService service)
public void setEntityManager(EntityManager service)
public void setSiteService(SiteService service)
public void setAuthzGroupService(AuthzGroupService service)
public void setUserDirectoryService(UserDirectoryService service)
public void setTimeService(TimeService service)
public void setContentHostingService(ContentHostingService service)
protected String archiveSite(Site site, Document doc, Stack stack, String fromSystem)
site - the site.doc - The document to contain the xml.stack - The stack of elements, the top of which will be the containing
element of the "site" element.protected String archiveUsers(Site site, Document doc, Stack stack)
site - the site.doc - The document to contain the xml.stack - The stack of elements, the top of which will be the containing
element of the "site" element.Copyright © 2006–2016 Sakai Project. All rights reserved.