Uses of Class
org.drools.repository.AssetItem

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

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 ModuleItem.addAsset(String assetName, String description)
          Adds an asset to the current module with no category (not recommended !).
 AssetItem ModuleItem.addAsset(String assetName, String description, String initialCategory, String format)
          This adds an asset to the current physical module (you can move it later).
 AssetItem ModuleItem.addAssetImportedFromGlobalArea(String sharedAssetName)
          This adds an asset which is imported from global area.
 AssetItem ModuleItem.loadAsset(String name)
          Load a specific asset by name.
 AssetItem ModuleItem.loadAsset(String name, long versionNumber)
          Load a specific asset by name.
 AssetItem RulesRepository.loadAssetByUUID(String uuid)
          Loads an asset by its UUID (generally the fastest way to load something).
protected  AssetItem VersionedAssetItemIterator.loadAssetWithVersion(AssetItem assetItem, String version)
           
 AssetItem VersionedAssetItemIterator.next()
           
 AssetItem AssetHistoryIterator.next()
           
 AssetItem AssetItemIterator.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> ModuleItem.getAssets()
          Return an iterator for the rules in this module
 Iterator<AssetItem> ModuleItem.getAssetsWithStatus(StateItem state)
          This will return a list of assets for a given state.
 Iterator<AssetItem> ModuleItem.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 ModuleItem.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.
 

Uses of AssetItem in org.drools.repository.utils
 

Methods in org.drools.repository.utils with parameters of type AssetItem
 boolean Validator.validate(AssetItem assetItem)
           
 boolean AssetValidator.validate(AssetItem assetItem)
           
 



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