Uses of Class
org.drools.repository.AssetItem

Packages that use AssetItem
org.drools.repository   
org.drools.repository.events   
 

Uses of AssetItem in org.drools.repository
 

Fields in org.drools.repository with type parameters of type AssetItem
 List<AssetItem> AssetItemPageResult.assets
           
 

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.addAssetImportedFromGlobalArea(String sharedAssetName)
          This adds a rule which is imported from global area.
 AssetItem PackageItem.loadAsset(String name)
          Load a specific rule asset by name.
 AssetItem PackageItem.loadAsset(String name, long versionNumber)
          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).
protected  AssetItem VersionedAssetItemIterator.loadAssetWithVersion(AssetItem assetItem, String version)
           
 AssetItem VersionedAssetItemIterator.next()
           
 AssetItem AssetItemIterator.next()
           
 AssetItem AssetHistoryIterator.next()
           
 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 that return types with arguments of type AssetItem
 Iterator<AssetItem> PackageItem.getAssets()
          Return an iterator for the rules in this package
 Iterator<AssetItem> PackageItem.getAssetsWithStatus(StateItem state)
          This will return a list of assets for a given state.
 Iterator<AssetItem> PackageItem.getAssetsWithStatus(StateItem state, StateItem ignoreState)
          This will return a list of assets for a given state.
 

Methods in org.drools.repository with parameters of type AssetItem
static void PackageItem.ensureMixinType(AssetItem assetItem, String mixin)
           
protected  AssetItem VersionedAssetItemIterator.loadAssetWithVersion(AssetItem assetItem, String version)
           
 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.
 

Constructor parameters in org.drools.repository with type arguments of type AssetItem
AssetItemPageResult(List<AssetItem> categories, long currentPosition, boolean hasNext)
           
 

Uses of AssetItem in org.drools.repository.events
 

Methods in org.drools.repository.events with parameters of type AssetItem
 void CheckinEvent.afterCheckin(AssetItem item)
           
 InputStream LoadEvent.loadContent(AssetItem item)
           
 void SaveEvent.onAssetCheckin(AssetItem item)
          When the content of the asset changes, or some meta data.
 void SaveEvent.onAssetDelete(AssetItem item)
          When it is hard deleted.
 



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.