org.sakaiproject.importer.impl.handlers
Class ResourcesHandler
java.lang.Object
org.sakaiproject.importer.impl.handlers.ResourcesHandler
- All Implemented Interfaces:
- HandlesImportable
public class ResourcesHandler
- extends Object
- implements HandlesImportable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourcesHandler
public ResourcesHandler()
canHandleType
public boolean canHandleType(String typeName)
- Specified by:
canHandleType in interface HandlesImportable
handle
public void handle(Importable thing,
String siteId)
- Specified by:
handle in interface HandlesImportable
addAllResources
protected void addAllResources(byte[] archive,
String path,
int notifyOption)
addContentResource
protected org.sakaiproject.content.api.ContentResource addContentResource(String id,
String contentType,
byte[] contents,
Map properties,
int notifyOption)
existsDirectory
protected boolean existsDirectory(String path)
addContentCollection
protected void addContentCollection(String path,
Map properties)
getContentHostingService
public org.sakaiproject.content.api.ContentHostingService getContentHostingService()
setContentHostingService
public void setContentHostingService(org.sakaiproject.content.api.ContentHostingService chs)
getSessionManager
public org.sakaiproject.tool.api.SessionManager getSessionManager()
setSessionManager
public void setSessionManager(org.sakaiproject.tool.api.SessionManager sessionManager)
getSecurityService
public org.sakaiproject.authz.api.SecurityService getSecurityService()
setSecurityService
public void setSecurityService(org.sakaiproject.authz.api.SecurityService securityService)
getServerConfigurationService
public org.sakaiproject.component.api.ServerConfigurationService getServerConfigurationService()
setServerConfigurationService
public void setServerConfigurationService(org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
Copyright © 2005-2012 Sakai Foundation. All Rights Reserved.