@Service public class XBEXLineService extends XBEDefaultService<XBEXBlockLine> implements org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>, java.io.Serializable
catalog
Constructor and Description |
---|
XBEXLineService() |
XBEXLineService(XBECatalog catalog) |
Modifier and Type | Method and Description |
---|---|
XBEXBlockLine |
findById(long id) |
XBEXBlockLine |
findLineByPR(org.xbup.lib.xb.catalog.base.XBCBlockRev rev,
long priority) |
XBEXPlugLine |
findPlugLineById(long id) |
java.lang.Long |
getAllLinesCount() |
java.lang.Long |
getAllPlugLinesCount() |
java.lang.String |
getExtensionName() |
java.util.List<org.xbup.lib.xb.catalog.base.XBCXBlockLine> |
getLines(org.xbup.lib.xb.catalog.base.XBCBlockRev rev) |
long |
getLinesCount(org.xbup.lib.xb.catalog.base.XBCBlockRev rev) |
XBEXPlugLine |
getPlugLine(org.xbup.lib.xb.catalog.base.XBCXPlugin plugin,
long lineIndex) |
java.util.List<org.xbup.lib.xb.catalog.base.XBCXPlugLine> |
getPlugLines(org.xbup.lib.xb.catalog.base.XBCXPlugin plugin) |
long |
getPlugLinesCount(org.xbup.lib.xb.catalog.base.XBCXPlugin plugin) |
void |
init() |
void |
initializeExtension() |
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
public XBEXLineService()
public XBEXLineService(XBECatalog catalog)
@PostConstruct public void init()
public XBEXBlockLine findById(long id)
findById
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public XBEXBlockLine findLineByPR(org.xbup.lib.xb.catalog.base.XBCBlockRev rev, long priority)
findLineByPR
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public XBEXPlugLine findPlugLineById(long id)
findPlugLineById
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public java.lang.Long getAllLinesCount()
getAllLinesCount
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public java.lang.Long getAllPlugLinesCount()
getAllPlugLinesCount
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCXBlockLine> getLines(org.xbup.lib.xb.catalog.base.XBCBlockRev rev)
getLines
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public long getLinesCount(org.xbup.lib.xb.catalog.base.XBCBlockRev rev)
getLinesCount
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public XBEXPlugLine getPlugLine(org.xbup.lib.xb.catalog.base.XBCXPlugin plugin, long lineIndex)
getPlugLine
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public java.util.List<org.xbup.lib.xb.catalog.base.XBCXPlugLine> getPlugLines(org.xbup.lib.xb.catalog.base.XBCXPlugin plugin)
getPlugLines
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public long getPlugLinesCount(org.xbup.lib.xb.catalog.base.XBCXPlugin plugin)
getPlugLinesCount
in interface org.xbup.lib.xb.catalog.base.service.XBCXLineService<XBEXBlockLine>
public java.lang.String getExtensionName()
getExtensionName
in interface org.xbup.lib.xb.catalog.base.XBCExtension
public void initializeExtension()
initializeExtension
in interface org.xbup.lib.xb.catalog.base.XBCExtension