Class XBEXFileManager

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXFile>, org.exbin.xbup.core.catalog.base.manager.XBCXFileManager, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Repository
    public class XBEXFileManager
    extends XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXFile>
    implements org.exbin.xbup.core.catalog.base.manager.XBCXFileManager, java.io.Serializable
    XBUP catalog accessory files manager.
    See Also:
    Serialized Form
    • Constructor Detail

      • XBEXFileManager

        public XBEXFileManager()
      • XBEXFileManager

        public XBEXFileManager​(XBECatalog catalog)
    • Method Detail

      • getEntityClass

        @Nonnull
        public java.lang.Class getEntityClass()
        Description copied from class: XBEDefaultManager
        Returns entity class.
        Specified by:
        getEntityClass in class XBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXFile>
        Returns:
        entity class
      • getAllFilesCount

        public java.lang.Long getAllFilesCount()
      • findById

        public XBEXFile findById​(long id)
      • getFileXBPath

        public java.lang.Long[] getFileXBPath​(org.exbin.xbup.core.catalog.base.XBCXFile file)
        Specified by:
        getFileXBPath in interface org.exbin.xbup.core.catalog.base.manager.XBCXFileManager
      • initializeExtension

        public void initializeExtension()
        Specified by:
        initializeExtension in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • getExtensionName

        public java.lang.String getExtensionName()
        Specified by:
        getExtensionName in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • findFile

        public XBEXFile findFile​(org.exbin.xbup.core.catalog.base.XBCNode node,
                                 java.lang.String fileName)
        Specified by:
        findFile in interface org.exbin.xbup.core.catalog.base.manager.XBCXFileManager
      • getFileAsImageIcon

        public javax.swing.ImageIcon getFileAsImageIcon​(org.exbin.xbup.core.catalog.base.XBCXFile iconFile)
        Specified by:
        getFileAsImageIcon in interface org.exbin.xbup.core.catalog.base.manager.XBCXFileManager
      • getFile

        public java.io.InputStream getFile​(org.exbin.xbup.core.catalog.base.XBCXFile file)
        Specified by:
        getFile in interface org.exbin.xbup.core.catalog.base.manager.XBCXFileManager
      • setFile

        public java.io.OutputStream setFile​(org.exbin.xbup.core.catalog.base.XBCXFile file)
      • findFilesForNode

        public java.util.List<org.exbin.xbup.core.catalog.base.XBCXFile> findFilesForNode​(org.exbin.xbup.core.catalog.base.XBCNode node)
        Specified by:
        findFilesForNode in interface org.exbin.xbup.core.catalog.base.manager.XBCXFileManager