@Service public class XBEXFileService extends XBEDefaultService<XBEXFile> implements org.xbup.lib.xb.catalog.base.service.XBCXFileService<XBEXFile>, java.io.Serializable
catalog| Constructor and Description |
|---|
XBEXFileService() |
XBEXFileService(XBECatalog catalog) |
| Modifier and Type | Method and Description |
|---|---|
XBEXFile |
findFile(org.xbup.lib.xb.catalog.base.XBCNode node,
java.lang.String fileName) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCXFile> |
findFilesForNode(org.xbup.lib.xb.catalog.base.XBCNode node) |
java.lang.String |
getExtensionName() |
java.io.InputStream |
getFile(org.xbup.lib.xb.catalog.base.XBCXFile file) |
javax.swing.ImageIcon |
getFileAsImageIcon(org.xbup.lib.xb.catalog.base.XBCXFile file) |
java.lang.Long[] |
getFileXBPath(org.xbup.lib.xb.catalog.base.XBCXFile file) |
void |
init() |
void |
initializeExtension() |
java.io.OutputStream |
setFile(org.xbup.lib.xb.catalog.base.XBCXFile file) |
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItempublic XBEXFileService()
public XBEXFileService(XBECatalog catalog)
@PostConstruct public void init()
public XBEXFile findFile(org.xbup.lib.xb.catalog.base.XBCNode node, java.lang.String fileName)
findFile in interface org.xbup.lib.xb.catalog.base.service.XBCXFileService<XBEXFile>public java.io.InputStream getFile(org.xbup.lib.xb.catalog.base.XBCXFile file)
getFile in interface org.xbup.lib.xb.catalog.base.service.XBCXFileService<XBEXFile>public javax.swing.ImageIcon getFileAsImageIcon(org.xbup.lib.xb.catalog.base.XBCXFile file)
getFileAsImageIcon in interface org.xbup.lib.xb.catalog.base.service.XBCXFileService<XBEXFile>public java.lang.Long[] getFileXBPath(org.xbup.lib.xb.catalog.base.XBCXFile file)
getFileXBPath in interface org.xbup.lib.xb.catalog.base.service.XBCXFileService<XBEXFile>public java.lang.String getExtensionName()
getExtensionName in interface org.xbup.lib.xb.catalog.base.XBCExtensionpublic void initializeExtension()
initializeExtension in interface org.xbup.lib.xb.catalog.base.XBCExtensionpublic java.io.OutputStream setFile(org.xbup.lib.xb.catalog.base.XBCXFile file)
public java.util.List<org.xbup.lib.xb.catalog.base.XBCXFile> findFilesForNode(org.xbup.lib.xb.catalog.base.XBCNode node)
findFilesForNode in interface org.xbup.lib.xb.catalog.base.service.XBCXFileService<XBEXFile>