public class ResourcesHandler extends Object implements org.sakaiproject.importer.api.HandlesImportable
| Constructor and Description |
|---|
ResourcesHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAllResources(InputStream archive,
String path,
int notifyOption) |
protected void |
addContentCollection(String path,
Map properties) |
protected org.sakaiproject.content.api.ContentResource |
addContentResource(String id,
String contentType,
InputStream contents,
Map properties,
int notifyOption) |
boolean |
canHandleType(String typeName) |
protected boolean |
existsDirectory(String path) |
org.sakaiproject.content.api.ContentHostingService |
getContentHostingService() |
org.sakaiproject.authz.api.SecurityService |
getSecurityService() |
org.sakaiproject.component.api.ServerConfigurationService |
getServerConfigurationService() |
org.sakaiproject.tool.api.SessionManager |
getSessionManager() |
void |
handle(org.sakaiproject.importer.api.Importable thing,
String siteId) |
void |
setContentHostingService(org.sakaiproject.content.api.ContentHostingService chs) |
void |
setSecurityService(org.sakaiproject.authz.api.SecurityService securityService) |
void |
setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService) |
void |
setSessionManager(org.sakaiproject.tool.api.SessionManager sessionManager) |
public boolean canHandleType(String typeName)
canHandleType in interface org.sakaiproject.importer.api.HandlesImportablepublic void handle(org.sakaiproject.importer.api.Importable thing,
String siteId)
handle in interface org.sakaiproject.importer.api.HandlesImportableprotected void addAllResources(InputStream archive, String path, int notifyOption)
protected org.sakaiproject.content.api.ContentResource addContentResource(String id, String contentType, InputStream contents, Map properties, int notifyOption)
protected boolean existsDirectory(String path)
public org.sakaiproject.content.api.ContentHostingService getContentHostingService()
public void setContentHostingService(org.sakaiproject.content.api.ContentHostingService chs)
public org.sakaiproject.tool.api.SessionManager getSessionManager()
public void setSessionManager(org.sakaiproject.tool.api.SessionManager sessionManager)
public org.sakaiproject.authz.api.SecurityService getSecurityService()
public void setSecurityService(org.sakaiproject.authz.api.SecurityService securityService)
public org.sakaiproject.component.api.ServerConfigurationService getServerConfigurationService()
public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
Copyright © 2005-2015 Sakai Foundation. All Rights Reserved.