|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sakaiproject.archive.impl.SiteArchiver
public class SiteArchiver
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
SiteArchiver()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public SiteArchiver()
| Method Detail |
|---|
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)
public String archive(String siteId,
String m_storagePath,
String fromSystem)
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||