Class IwcmDocGroupFsVolume

java.lang.Object
sk.iway.iwcm.system.elfinder.IwcmDocGroupFsVolume
All Implemented Interfaces:
cn.bluejoe.elfinder.service.FsVolume

public class IwcmDocGroupFsVolume extends Object implements cn.bluejoe.elfinder.service.FsVolume
IwcmFsVolume.java - volume objekt pre elFinder (cn.bluejoe.elfinder) Zobrazuje strukturu web stranok
  • Field Details

  • Constructor Details

    • IwcmDocGroupFsVolume

      public IwcmDocGroupFsVolume(String name)
  • Method Details

    • asDocGroup

      protected IwcmDocGroupItem asDocGroup(cn.bluejoe.elfinder.service.FsItem fsi)
    • createFile

      public void createFile(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      createFile in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • createFolder

      public void createFolder(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      createFolder in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • deleteFile

      public boolean deleteFile(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      deleteFile in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • deleteFolder

      public boolean deleteFolder(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      deleteFolder in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • exists

      public boolean exists(cn.bluejoe.elfinder.service.FsItem newFile)
      Specified by:
      exists in interface cn.bluejoe.elfinder.service.FsVolume
    • fromDoc

      protected IwcmDocGroupItem fromDoc(String path)
    • fromGroup

      protected IwcmDocGroupItem fromGroup(String path)
    • fromPath

      public cn.bluejoe.elfinder.service.FsItem fromPath(String relativePath)
      Specified by:
      fromPath in interface cn.bluejoe.elfinder.service.FsVolume
    • getDimensions

      public String getDimensions(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getDimensions in interface cn.bluejoe.elfinder.service.FsVolume
    • getLastModified

      public long getLastModified(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getLastModified in interface cn.bluejoe.elfinder.service.FsVolume
    • getMimeType

      public String getMimeType(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getMimeType in interface cn.bluejoe.elfinder.service.FsVolume
    • getName

      public String getName()
      Specified by:
      getName in interface cn.bluejoe.elfinder.service.FsVolume
    • getName

      public String getName(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getName in interface cn.bluejoe.elfinder.service.FsVolume
    • getParent

      public cn.bluejoe.elfinder.service.FsItem getParent(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getParent in interface cn.bluejoe.elfinder.service.FsVolume
    • getPath

      public String getPath(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      getPath in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • getSortPriority

      public int getSortPriority(cn.bluejoe.elfinder.controller.executor.FsItemEx fsi) throws IOException
      Throws:
      IOException
    • getRoot

      public cn.bluejoe.elfinder.service.FsItem getRoot()
      Specified by:
      getRoot in interface cn.bluejoe.elfinder.service.FsVolume
    • getSize

      public long getSize(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getSize in interface cn.bluejoe.elfinder.service.FsVolume
    • getThumbnailFileName

      public String getThumbnailFileName(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      getThumbnailFileName in interface cn.bluejoe.elfinder.service.FsVolume
    • hasChildFolder

      public boolean hasChildFolder(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      hasChildFolder in interface cn.bluejoe.elfinder.service.FsVolume
    • isFolder

      public boolean isFolder(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      isFolder in interface cn.bluejoe.elfinder.service.FsVolume
    • isRoot

      public boolean isRoot(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      isRoot in interface cn.bluejoe.elfinder.service.FsVolume
    • listChildren

      public cn.bluejoe.elfinder.service.FsItem[] listChildren(cn.bluejoe.elfinder.service.FsItem fsi)
      Specified by:
      listChildren in interface cn.bluejoe.elfinder.service.FsVolume
    • openInputStream

      public IwcmInputStream openInputStream(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      openInputStream in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • openOutputStream

      public IwcmOutputStream openOutputStream(cn.bluejoe.elfinder.service.FsItem fsi) throws IOException
      Specified by:
      openOutputStream in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • rename

      public void rename(cn.bluejoe.elfinder.service.FsItem src, cn.bluejoe.elfinder.service.FsItem dst) throws IOException
      Specified by:
      rename in interface cn.bluejoe.elfinder.service.FsVolume
      Throws:
      IOException
    • setName

      public void setName(String name)
    • createAndCopyGroups

      protected void createAndCopyGroups(cn.bluejoe.elfinder.controller.executor.FsItemEx src, cn.bluejoe.elfinder.controller.executor.FsItemEx dst) throws IOException
      Throws:
      IOException
    • createAndCopyDocs

      protected void createAndCopyDocs(cn.bluejoe.elfinder.controller.executor.FsItemEx src, cn.bluejoe.elfinder.controller.executor.FsItemEx dst) throws IOException
      Throws:
      IOException
    • createAndCopy

      public void createAndCopy(cn.bluejoe.elfinder.controller.executor.FsItemEx src, cn.bluejoe.elfinder.controller.executor.FsItemEx dst, boolean cut) throws IOException
      JEEFF: doplnena metoda volana z pasteCommandExecutoru pre skopirovanie dat
      Parameters:
      src -
      dst -
      cut -
      Throws:
      IOException
    • getVirtualPath

      public String getVirtualPath(cn.bluejoe.elfinder.controller.executor.FsItemEx item) throws IOException
      Vrati URL adresu pre stranku / adresar
      Parameters:
      item -
      Returns:
      Throws:
      IOException