Class XBEXFileManager
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultManager<T>
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXFile>
-
- org.exbin.xbup.catalog.entity.manager.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
-
-
Field Summary
-
Fields inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager
catalog
-
Fields inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
em
-
-
Constructor Summary
Constructors Constructor Description XBEXFileManager()
XBEXFileManager(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XBEXFile
findById(long id)
XBEXFile
findFile(org.exbin.xbup.core.catalog.base.XBCNode node, java.lang.String fileName)
java.util.List<org.exbin.xbup.core.catalog.base.XBCXFile>
findFilesForNode(org.exbin.xbup.core.catalog.base.XBCNode node)
java.lang.Long
getAllFilesCount()
java.lang.Class
getEntityClass()
Returns entity class.java.lang.String
getExtensionName()
java.io.InputStream
getFile(org.exbin.xbup.core.catalog.base.XBCXFile file)
javax.swing.ImageIcon
getFileAsImageIcon(org.exbin.xbup.core.catalog.base.XBCXFile iconFile)
java.lang.Long[]
getFileXBPath(org.exbin.xbup.core.catalog.base.XBCXFile file)
void
initializeExtension()
java.io.OutputStream
setFile(org.exbin.xbup.core.catalog.base.XBCXFile file)
-
Methods inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
createItem, getAllItems, getItem, getItemsCount, getTableName, initCatalog, persistItem, removeItem, setItemId
-
-
-
-
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 classXBEDefaultManager<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 interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXFileManager
-
initializeExtension
public void initializeExtension()
- Specified by:
initializeExtension
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
getExtensionName
public java.lang.String getExtensionName()
- Specified by:
getExtensionName
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXFileManager
-
-