站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

Uses of Class org.drools.repository.AssetItem (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


Uses of Class
org.drools.repository.AssetItem

Packages that use AssetItem
org.drools.brms.server.builder This package contains utilities for building and validating rule assets in the BRMS. 
org.drools.brms.server.contenthandler This package is for content format handlers. 
org.drools.repository   
 

Uses of AssetItem in org.drools.brms.server.builder
 

Methods in org.drools.brms.server.builder with parameters of type AssetItem
 void BRMSPackageBuilder.DSLErrorEvent.recordError(AssetItem asset, String message)
           
 

Constructors in org.drools.brms.server.builder with parameters of type AssetItem
ContentPackageAssembler(AssetItem assetToBuild)
          Use this if you want to build and compile just the one asset.
 

Uses of AssetItem in org.drools.brms.server.contenthandler
 

Methods in org.drools.brms.server.contenthandler with parameters of type AssetItem
 void IRuleAsset.assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
          This will be called when a rule asset is to render itself to DRL source.
 void DSLRuleContentHandler.assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
           
 void DRLFileContentHandler.assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
           
 void DecisionTableXLSHandler.assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
           
 void BRXMLContentHandler.assembleDRL(BRMSPackageBuilder builder, AssetItem asset, StringBuffer buf)
           
 void IRuleAsset.compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
          This will be called when the asset is required to compile itself, in the context of the given builder.
 void DSLRuleContentHandler.compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
           
 void DRLFileContentHandler.compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
           
 void DecisionTableXLSHandler.compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
           
 void BRXMLContentHandler.compile(BRMSPackageBuilder builder, AssetItem asset, ContentPackageAssembler.ErrorLogger logger)
           
 void PlainTextContentHandler.retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item)
           
 void ModelContentHandler.retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item)
           
 void DSLRuleContentHandler.retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item)
           
 void DecisionTableXLSHandler.retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item)
           
abstract  void ContentHandler.retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item)
          When loading asset content.
 void BRXMLContentHandler.retrieveAssetContent(RuleAsset asset, PackageItem pkg, AssetItem item)
           
 void PlainTextContentHandler.storeAssetContent(RuleAsset asset, AssetItem repoAsset)
           
 void ModelContentHandler.storeAssetContent(RuleAsset asset, AssetItem repoAsset)
           
 void DSLRuleContentHandler.storeAssetContent(RuleAsset asset, AssetItem repoAsset)
           
 void DecisionTableXLSHandler.storeAssetContent(RuleAsset asset, AssetItem repoAsset)
           
abstract  void ContentHandler.storeAssetContent(RuleAsset asset, AssetItem repoAsset)
          For storing the asset content back into the repo node (any changes).
 void BRXMLContentHandler.storeAssetContent(RuleAsset asset, AssetItem repoAsset)
           
 

Uses of AssetItem in org.drools.repository
 

Methods in org.drools.repository that return AssetItem
 AssetItem PackageItem.addAsset(String assetName, String description)
          Adds a rule to the current package with no category (not recommended !).
 AssetItem PackageItem.addAsset(String assetName, String description, String initialCategory, String format)
          This adds a rule to the current physical package (you can move it later).
 AssetItem PackageItem.loadAsset(String name)
          Load a specific rule asset by name.
 AssetItem RulesRepository.loadAssetByUUID(String uuid)
          Loads a rule by its UUID (generally the fastest way to load something).
 AssetItem AssetItem.updateBinaryContentAttachment(InputStream data)
          If the asset is a binary asset, then use this to update the content (do NOT use text).
 AssetItem AssetItem.updateContent(String newRuleContent)
          This will update the asset's content (checking it out if it is not already).
 

Methods in org.drools.repository with parameters of type AssetItem
 void RulesRepository.restoreHistoricalAsset(AssetItem versionToRestore, AssetItem headVersion, String comment)
          This will restore the historical version, save, and check it in as a new version with the given comment.
 



Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.