Tabnine Logo
RulesRepository.loadLinkedAssets
Code IndexAdd Tabnine to your IDE (free)

How to use
loadLinkedAssets
method
in
org.drools.repository.RulesRepository

Best Java code snippets using org.drools.repository.RulesRepository.loadLinkedAssets (Showing top 4 results out of 315)

origin: org.drools/guvnor-repository

/**
 * Finds the AssetItem's linked to the requested state. Similar to finding
 * by category.
 *
 * @param filter an AssetItem filter
 */
public AssetItemPageResult findAssetsByState(String stateName,
                       boolean seekArchivedAsset,
                       int skip,
                       int numRowsToReturn,
                       RepositoryFilter filter) throws RulesRepositoryException {
  StateItem item = this.getState(stateName);
  try {
    return loadLinkedAssets(seekArchivedAsset,
        skip,
        numRowsToReturn,
        item.getNode(),
        filter);
  } catch (RepositoryException e) {
    throw new RulesRepositoryException(e);
  }
}
origin: org.chtijbug.drools/guvnor-repository

/**
 * Finds the AssetItem's linked to the requested state. Similar to finding
 * by category.
 *
 * @param filter an AssetItem filter
 */
public AssetItemPageResult findAssetsByState(String stateName,
                       boolean seekArchivedAsset,
                       int skip,
                       int numRowsToReturn,
                       RepositoryFilter filter) throws RulesRepositoryException {
  StateItem item = this.getState(stateName);
  try {
    return loadLinkedAssets(seekArchivedAsset,
        skip,
        numRowsToReturn,
        item.getNode(),
        filter);
  } catch (RepositoryException e) {
    throw new RulesRepositoryException(e);
  }
}
origin: org.chtijbug.drools/guvnor-repository

/**
 * This will retrieve a list of RuleItem objects - that are allocated to the
 * provided category. Only the latest versions of each RuleItem will be
 * returned (you will have to delve into the assets deepest darkest history
 * yourself... mahahahaha).
 * <p/>
 * Pass in startRow of 0 to start at zero, numRowsToReturn can be set to -1
 * should you want it all.
 *
 * @param filter an AssetItem filter
 */
public AssetItemPageResult findAssetsByCategory(String categoryTag,
                        boolean seekArchivedAsset,
                        int skip,
                        int numRowsToReturn,
                        RepositoryFilter filter) throws RulesRepositoryException {
  CategoryItem item = this.loadCategory(categoryTag);
  try {
    return loadLinkedAssets(seekArchivedAsset,
        skip,
        numRowsToReturn,
        item.getNode(),
        filter);
  } catch (RepositoryException e) {
    throw new RulesRepositoryException(e);
  }
}
origin: org.drools/guvnor-repository

/**
 * This will retrieve a list of RuleItem objects - that are allocated to the
 * provided category. Only the latest versions of each RuleItem will be
 * returned (you will have to delve into the assets deepest darkest history
 * yourself... mahahahaha).
 * <p/>
 * Pass in startRow of 0 to start at zero, numRowsToReturn can be set to -1
 * should you want it all.
 *
 * @param filter an AssetItem filter
 */
public AssetItemPageResult findAssetsByCategory(String categoryTag,
                        boolean seekArchivedAsset,
                        int skip,
                        int numRowsToReturn,
                        RepositoryFilter filter) throws RulesRepositoryException {
  CategoryItem item = this.loadCategory(categoryTag);
  try {
    return loadLinkedAssets(seekArchivedAsset,
        skip,
        numRowsToReturn,
        item.getNode(),
        filter);
  } catch (RepositoryException e) {
    throw new RulesRepositoryException(e);
  }
}
org.drools.repositoryRulesRepositoryloadLinkedAssets

Popular methods of RulesRepository

  • createModule
    Adds a module to the repository.
  • loadModule
    Loads a Module for the specified module name and version. Will throw an exception if the specified m
  • save
    Save any pending changes.
  • <init>
    This requires a JCR session be setup, and the repository be configured.
  • findAssetsByCategory
    This will retrieve a list of RuleItem objects - that are allocated to the provided category. Only th
  • findAssetsByName
    This will search assets, looking for matches against the name.
  • findAssetsByState
    Finds the AssetItem's linked to the requested state. Similar to finding by category.
  • getAreaNode
  • getSession
  • getState
    Gets a StateItem for the specified state name. If a node for the specified state does not yet exist,
  • listModuleSnapshots
    Return a list of the snapshots available for the given module name.
  • listModules
  • listModuleSnapshots,
  • listModules,
  • loadAssetByUUID,
  • loadCategory,
  • loadGlobalArea,
  • loadModuleByUUID,
  • loadModuleSnapshot,
  • loadState,
  • addNodeIfNew,
  • checkForDataMigration

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now