public interface ArchiveService
ArchiveService takes care of exporting and importing entities.
| Modifier and Type | Field and Description |
|---|---|
static String |
FROM_CT
A tag for the input system.
|
static String |
FROM_SAKAI |
static String |
FROM_SAKAI_2_8 |
static String |
FROM_WT |
static boolean |
SAKAI_assign_draft_import |
static boolean |
SAKAI_msg_draft_import |
static boolean |
SAKAI_rsc_draft_import |
static boolean |
SAKAI_schedule_draft_import |
static String |
SERVICE_NAME
This string can be used to find the service in the service manager.
|
| Modifier and Type | Method and Description |
|---|---|
String |
archive(String siteId)
Create an archive for the resources of a site.
|
String |
merge(String archiveUrl,
String siteId,
String siteCreatorId)
Read in an archived set of resources, and merge the entries into the specified site, and set site creator name
|
static final String SERVICE_NAME
static final String FROM_CT
static final String FROM_WT
static final String FROM_SAKAI
static final String FROM_SAKAI_2_8
static final boolean SAKAI_msg_draft_import
static final boolean SAKAI_assign_draft_import
static final boolean SAKAI_rsc_draft_import
static final boolean SAKAI_schedule_draft_import
String archive(String siteId)
siteId - The id of the site to archive.String merge(String archiveUrl, String siteId, String siteCreatorId)
archiveUrl - The archive xml file Url.siteId - The id of the site to merge the content into.siteCreatorId - the site creator IdCopyright © 2003-2015 Sakai Foundation. All Rights Reserved.