Class CmsJlanShareMapper

java.lang.Object
org.opencms.jlan.CmsJlanShareMapper
All Implemented Interfaces:
org.alfresco.jlan.server.core.ShareMapper

public class CmsJlanShareMapper extends Object implements 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

    Fields
    Modifier and Type
    Field
    Description
    org.alfresco.jlan.server.core.ShareMapper
    An instance of the default share mapper.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • m_defaultMapper

      public org.alfresco.jlan.server.core.ShareMapper m_defaultMapper
      An instance of the default share mapper.
  • Constructor Details

  • Method Details

    • closeMapper

      public void closeMapper()
      Specified by:
      closeMapper in interface org.alfresco.jlan.server.core.ShareMapper
      See Also:
      • ShareMapper.closeMapper()
    • deleteShares

      public void deleteShares(org.alfresco.jlan.server.SrvSession session)
      Specified by:
      deleteShares in interface org.alfresco.jlan.server.core.ShareMapper
      See Also:
      • ShareMapper.deleteShares(org.alfresco.jlan.server.SrvSession)
    • findShare

      public org.alfresco.jlan.server.core.SharedDevice findShare(String host, String name, int type, org.alfresco.jlan.server.SrvSession session, boolean create) throws Exception
      Specified by:
      findShare in interface org.alfresco.jlan.server.core.ShareMapper
      Throws:
      Exception
      See Also:
      • ShareMapper.findShare(java.lang.String, java.lang.String, int, org.alfresco.jlan.server.SrvSession, boolean)
    • getShareList

      public org.alfresco.jlan.server.core.SharedDeviceList getShareList(String host, org.alfresco.jlan.server.SrvSession sess, boolean allShares)
      Specified by:
      getShareList in interface org.alfresco.jlan.server.core.ShareMapper
      See Also:
      • ShareMapper.getShareList(java.lang.String, org.alfresco.jlan.server.SrvSession, boolean)
    • 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 interface org.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)