public class ResourcesHandler extends Object implements 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 ContentResource |
addContentResource(String id,
String contentType,
InputStream contents,
Map properties,
int notifyOption) |
boolean |
canHandleType(String typeName) |
protected boolean |
existsDirectory(String path) |
ContentHostingService |
getContentHostingService() |
SecurityService |
getSecurityService() |
ServerConfigurationService |
getServerConfigurationService() |
SessionManager |
getSessionManager() |
void |
handle(Importable thing,
String siteId) |
void |
setContentHostingService(ContentHostingService chs) |
void |
setSecurityService(SecurityService securityService) |
void |
setServerConfigurationService(ServerConfigurationService serverConfigurationService) |
void |
setSessionManager(SessionManager sessionManager) |
public boolean canHandleType(String typeName)
canHandleType in interface HandlesImportablepublic void handle(Importable thing, String siteId)
handle in interface HandlesImportableprotected void addAllResources(InputStream archive, String path, int notifyOption)
protected ContentResource addContentResource(String id, String contentType, InputStream contents, Map properties, int notifyOption)
protected boolean existsDirectory(String path)
public ContentHostingService getContentHostingService()
public void setContentHostingService(ContentHostingService chs)
public SessionManager getSessionManager()
public void setSessionManager(SessionManager sessionManager)
public SecurityService getSecurityService()
public void setSecurityService(SecurityService securityService)
public ServerConfigurationService getServerConfigurationService()
public void setServerConfigurationService(ServerConfigurationService serverConfigurationService)
Copyright © 2005–2016 Sakai Foundation. All rights reserved.