public class SiteArchiver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.sakaiproject.authz.api.AuthzGroupService |
m_authzGroupService
Dependency: AuthzService
|
protected org.sakaiproject.content.api.ContentHostingService |
m_contentHostingService
Dependency: ContentHosting
|
protected org.sakaiproject.entity.api.EntityManager |
m_entityManager
Dependency: EntityManager.
|
protected org.sakaiproject.component.api.ServerConfigurationService |
m_serverConfigurationService
Dependency: ServerConfigurationService.
|
protected org.sakaiproject.site.api.SiteService |
m_siteService
Dependency: SiteService
|
protected org.sakaiproject.time.api.TimeService |
m_timeService
Dependency: TimeService
|
protected org.sakaiproject.user.api.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(org.sakaiproject.site.api.Site site,
Document doc,
Stack stack,
String fromSystem)
Archive the site definition.
|
protected String |
archiveUsers(org.sakaiproject.site.api.Site site,
Document doc,
Stack stack)
Archive the users defined in this site (internal users only).
|
void |
setAuthzGroupService(org.sakaiproject.authz.api.AuthzGroupService service) |
void |
setContentHostingService(org.sakaiproject.content.api.ContentHostingService service) |
void |
setEntityManager(org.sakaiproject.entity.api.EntityManager service) |
void |
setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService service) |
void |
setSiteService(org.sakaiproject.site.api.SiteService service) |
void |
setTimeService(org.sakaiproject.time.api.TimeService service) |
void |
setUserDirectoryService(org.sakaiproject.user.api.UserDirectoryService service) |
protected org.sakaiproject.component.api.ServerConfigurationService m_serverConfigurationService
protected org.sakaiproject.entity.api.EntityManager m_entityManager
protected org.sakaiproject.site.api.SiteService m_siteService
protected org.sakaiproject.authz.api.AuthzGroupService m_authzGroupService
protected org.sakaiproject.user.api.UserDirectoryService m_userDirectoryService
protected org.sakaiproject.time.api.TimeService m_timeService
protected org.sakaiproject.content.api.ContentHostingService m_contentHostingService
public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService service)
public void setEntityManager(org.sakaiproject.entity.api.EntityManager service)
public void setSiteService(org.sakaiproject.site.api.SiteService service)
public void setAuthzGroupService(org.sakaiproject.authz.api.AuthzGroupService service)
public void setUserDirectoryService(org.sakaiproject.user.api.UserDirectoryService service)
public void setTimeService(org.sakaiproject.time.api.TimeService service)
public void setContentHostingService(org.sakaiproject.content.api.ContentHostingService service)
protected String archiveSite(org.sakaiproject.site.api.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(org.sakaiproject.site.api.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-2015 Sakai Project. All Rights Reserved.