Package org.opencms.jlan
Class CmsJlanShareMapper
java.lang.Object
org.opencms.jlan.CmsJlanShareMapper
- All Implemented Interfaces:
org.alfresco.jlan.server.core.ShareMapper
Implementation of the JLAN ShareMapper interface which is used to generate the list
of available shares based on the OpenCms repository configuration in opencms-importexport.xml instead
of jlanConfig.xml.
-
Field Summary
Modifier and TypeFieldDescriptionorg.alfresco.jlan.server.core.ShareMapper
An instance of the default share mapper. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteShares
(org.alfresco.jlan.server.SrvSession session) org.alfresco.jlan.server.core.SharedDevice
findShare
(String host, String name, int type, org.alfresco.jlan.server.SrvSession session, boolean create) org.alfresco.jlan.server.core.SharedDeviceList
getShareList
(String host, org.alfresco.jlan.server.SrvSession sess, boolean allShares) void
initializeMapper
(org.alfresco.jlan.server.config.ServerConfiguration config, org.springframework.extensions.config.ConfigElement configElement)
-
Field Details
-
m_defaultMapper
An instance of the default share mapper.
-
-
Constructor Details
-
CmsJlanShareMapper
public CmsJlanShareMapper()
-
-
Method Details
-
closeMapper
- Specified by:
closeMapper
in interfaceorg.alfresco.jlan.server.core.ShareMapper
- See Also:
-
ShareMapper.closeMapper()
-
initializeMapper
public void initializeMapper(org.alfresco.jlan.server.config.ServerConfiguration config, org.springframework.extensions.config.ConfigElement configElement) throws org.alfresco.jlan.server.config.InvalidConfigurationException - Specified by:
initializeMapper
in interfaceorg.alfresco.jlan.server.core.ShareMapper
- Throws:
org.alfresco.jlan.server.config.InvalidConfigurationException
- See Also:
-
ShareMapper.initializeMapper(org.alfresco.jlan.server.config.ServerConfiguration, org.springframework.extensions.config.ConfigElement)
-