Class XBEXNameService

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCXName>, org.exbin.xbup.core.catalog.base.service.XBCXNameService, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Service
    public class XBEXNameService
    extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCXName>
    implements org.exbin.xbup.core.catalog.base.service.XBCXNameService, java.io.Serializable
    Interface for XBEXName items service.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService

        itemManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XBEXName getDefaultItemName​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      java.lang.String getDefaultText​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      java.lang.String getExtensionName()  
      XBEXName getItemName​(org.exbin.xbup.core.catalog.base.XBCItem item, org.exbin.xbup.core.catalog.base.XBCXLanguage language)  
      java.lang.String getItemNamePath​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      java.util.List<org.exbin.xbup.core.catalog.base.XBCXName> getItemNames​(org.exbin.xbup.core.catalog.base.XBCItem item)  
      void init()  
      void initializeExtension()  
      void setDefaultText​(org.exbin.xbup.core.catalog.base.XBCItem item, java.lang.String text)  
      • Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService

        createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.service.XBCService

        createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
    • Constructor Detail

      • XBEXNameService

        public XBEXNameService()
      • XBEXNameService

        public XBEXNameService​(XBECatalog catalog)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getDefaultItemName

        public XBEXName getDefaultItemName​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultItemName in interface org.exbin.xbup.core.catalog.base.service.XBCXNameService
      • getItemName

        public XBEXName getItemName​(org.exbin.xbup.core.catalog.base.XBCItem item,
                                    org.exbin.xbup.core.catalog.base.XBCXLanguage language)
        Specified by:
        getItemName in interface org.exbin.xbup.core.catalog.base.service.XBCXNameService
      • getItemNames

        public java.util.List<org.exbin.xbup.core.catalog.base.XBCXName> getItemNames​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getItemNames in interface org.exbin.xbup.core.catalog.base.service.XBCXNameService
      • getExtensionName

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

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

        public java.lang.String getDefaultText​(org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getDefaultText in interface org.exbin.xbup.core.catalog.base.service.XBCXNameService
      • setDefaultText

        public void setDefaultText​(org.exbin.xbup.core.catalog.base.XBCItem item,
                                   java.lang.String text)
      • getItemNamePath

        public java.lang.String getItemNamePath​(@Nullable
                                                org.exbin.xbup.core.catalog.base.XBCItem item)
        Specified by:
        getItemNamePath in interface org.exbin.xbup.core.catalog.base.service.XBCXNameService