org.sakaiproject.archive.api
Interface ImportMetadataService


public interface ImportMetadataService

...


Field Summary
static String SERVICE_NAME
           
 
Method Summary
 ImportMetadata getImportMapById(String id)
           
 List getImportMetadataElements(Document doc)
           
 boolean hasMaintainRole(String username, Document siteDoc)
           
 

Field Detail

SERVICE_NAME

static final String SERVICE_NAME
Method Detail

getImportMetadataElements

List getImportMetadataElements(Document doc)
Parameters:
Document - doc containing import_config.xml
Returns:
List containing ImportMetadata

getImportMapById

ImportMetadata getImportMapById(String id)
Parameters:
String - id of the MapEntry requested
Returns:
ImportMetada map entry

hasMaintainRole

boolean hasMaintainRole(String username,
                        Document siteDoc)
Parameters:
username - to compare if it has maintain role in site.xml
siteDoc - - site.xml in document format
Returns:
true / false


Copyright © 2003-2012 Sakai Foundation. All Rights Reserved.