Class XBEXFileService
- java.lang.Object
-
- org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService<T>
-
- org.exbin.xbup.catalog.entity.service.XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCXFile>
-
- org.exbin.xbup.catalog.entity.service.XBEXFileService
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCXFile>
,org.exbin.xbup.core.catalog.base.service.XBCXFileService
,org.exbin.xbup.core.catalog.base.XBCExtension
@ParametersAreNonnullByDefault @Service public class XBEXFileService extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCXFile> implements org.exbin.xbup.core.catalog.base.service.XBCXFileService, java.io.Serializable
Interface for XBEXFile items service.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.exbin.xbup.catalog.entity.service.XBEDefaultService
catalog
-
-
Constructor Summary
Constructors Constructor Description XBEXFileService()
XBEXFileService(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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 file)
java.lang.Long[]
getFileXBPath(org.exbin.xbup.core.catalog.base.XBCXFile file)
void
init()
void
initializeExtension()
java.io.OutputStream
setFile(org.exbin.xbup.core.catalog.base.XBCXFile file)
-
Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
-
-
-
-
Constructor Detail
-
XBEXFileService
public XBEXFileService()
-
XBEXFileService
public XBEXFileService(XBECatalog catalog)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
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.service.XBCXFileService
-
getFile
public java.io.InputStream getFile(org.exbin.xbup.core.catalog.base.XBCXFile file)
- Specified by:
getFile
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCXFileService
-
getFileAsImageIcon
public javax.swing.ImageIcon getFileAsImageIcon(org.exbin.xbup.core.catalog.base.XBCXFile file)
- Specified by:
getFileAsImageIcon
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCXFileService
-
getFileXBPath
public java.lang.Long[] getFileXBPath(org.exbin.xbup.core.catalog.base.XBCXFile file)
- Specified by:
getFileXBPath
in interfaceorg.exbin.xbup.core.catalog.base.service.XBCXFileService
-
getExtensionName
public java.lang.String getExtensionName()
- Specified by:
getExtensionName
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
initializeExtension
public void initializeExtension()
- Specified by:
initializeExtension
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
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.service.XBCXFileService
-
-