Class XBEXIconManager
- java.lang.Object
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultManager<T>
-
- org.exbin.xbup.catalog.entity.manager.XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
-
- org.exbin.xbup.catalog.entity.manager.XBEXIconManager
-
- All Implemented Interfaces:
java.io.Serializable
,org.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
,org.exbin.xbup.core.catalog.base.manager.XBCXIconManager
,org.exbin.xbup.core.catalog.base.XBCExtension
@ParametersAreNonnullByDefault @Repository public class XBEXIconManager extends XBEDefaultCatalogManager<org.exbin.xbup.core.catalog.base.XBCXIcon> implements org.exbin.xbup.core.catalog.base.manager.XBCXIconManager, java.io.Serializable
XBUP catalog icon 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 XBEXIconManager()
XBEXIconManager(XBECatalog catalog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XBEXIcon
findById(java.lang.Long id)
java.lang.Long
getAllIconsCount()
org.exbin.xbup.core.catalog.base.XBCXIcon
getDefaultBigIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
byte[]
getDefaultBigIconData(org.exbin.xbup.core.catalog.base.XBCItem item)
XBEXIcon
getDefaultIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
javax.swing.ImageIcon
getDefaultImageIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
org.exbin.xbup.core.catalog.base.XBCXIcon
getDefaultSmallIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
byte[]
getDefaultSmallIconData(org.exbin.xbup.core.catalog.base.XBCItem item)
java.lang.Class
getEntityClass()
Returns entity class.java.lang.String
getExtensionName()
XBEXIconMode
getIconMode(java.lang.Long modeId)
java.util.List<org.exbin.xbup.core.catalog.base.XBCXIcon>
getItemIcons(org.exbin.xbup.core.catalog.base.XBCItem item)
boolean
initCatalog()
void
initializeExtension()
-
Methods inherited from class org.exbin.xbup.catalog.entity.manager.XBEDefaultManager
createItem, getAllItems, getItem, getItemsCount, getTableName, persistItem, removeItem, setItemId
-
-
-
-
Constructor Detail
-
XBEXIconManager
public XBEXIconManager()
-
XBEXIconManager
public XBEXIconManager(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.XBCXIcon>
- Returns:
- entity class
-
getAllIconsCount
public java.lang.Long getAllIconsCount()
-
findById
public XBEXIcon findById(java.lang.Long id)
-
initializeExtension
public void initializeExtension()
- Specified by:
initializeExtension
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
getDefaultIcon
public XBEXIcon getDefaultIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getDefaultIcon
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getItemIcons
@Nonnull public java.util.List<org.exbin.xbup.core.catalog.base.XBCXIcon> getItemIcons(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getItemIcons
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getExtensionName
public java.lang.String getExtensionName()
- Specified by:
getExtensionName
in interfaceorg.exbin.xbup.core.catalog.base.XBCExtension
-
getIconMode
public XBEXIconMode getIconMode(java.lang.Long modeId)
- Specified by:
getIconMode
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getDefaultImageIcon
public javax.swing.ImageIcon getDefaultImageIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getDefaultImageIcon
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getDefaultBigIcon
public org.exbin.xbup.core.catalog.base.XBCXIcon getDefaultBigIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getDefaultBigIcon
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getDefaultSmallIcon
public org.exbin.xbup.core.catalog.base.XBCXIcon getDefaultSmallIcon(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getDefaultSmallIcon
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getDefaultBigIconData
public byte[] getDefaultBigIconData(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getDefaultBigIconData
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
getDefaultSmallIconData
public byte[] getDefaultSmallIconData(org.exbin.xbup.core.catalog.base.XBCItem item)
- Specified by:
getDefaultSmallIconData
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCXIconManager
-
initCatalog
public boolean initCatalog()
- Specified by:
initCatalog
in interfaceorg.exbin.xbup.core.catalog.base.manager.XBCManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
- Overrides:
initCatalog
in classXBEDefaultManager<org.exbin.xbup.core.catalog.base.XBCXIcon>
-
-