A B C D E F G H I L M N O P Q R S T U V W

A

accept(Object, String) - Method in interface org.drools.repository.RepositoryFilter
 
addAsset(String, String) - Method in class org.drools.repository.ModuleItem
Adds an asset to the current module with no category (not recommended !).
addAsset(String, String, String, String) - Method in class org.drools.repository.ModuleItem
This adds an asset to the current physical module (you can move it later).
addAssetImportedFromGlobalArea(String) - Method in class org.drools.repository.ModuleItem
This adds an asset which is imported from global area.
addCategory(String) - Method in class org.drools.repository.CategorisableItem
Adds the specified tag to this object's node.
addCategory(String, String) - Method in class org.drools.repository.CategoryItem
This will create a child category under this one
addNodeIfNew(Node, String, String) - Static method in class org.drools.repository.RulesRepository
Will add a node named 'nodeName' of type 'type' to 'parent' if such a node does not already exist.
addWorkspace(String) - Method in class org.drools.repository.ModuleItem
This adds a workspace
afterCheckin(AssetItem) - Method in interface org.drools.repository.events.CheckinEvent
 
archiveItem(boolean) - Method in class org.drools.repository.VersionableItem
 
ASSET_FOLDER_NAME - Static variable in class org.drools.repository.ModuleItem
This is the name of the asset "subfolder" where assets are kept for this package.
ASSET_NODE_TYPE_NAME - Static variable in class org.drools.repository.AssetItem
The name of the asset node type
AssetHistoryIterator - Class in org.drools.repository
A lazy iterator for walking back through history.
AssetHistoryIterator(RulesRepository, Node) - Constructor for class org.drools.repository.AssetHistoryIterator
 
AssetItem - Class in org.drools.repository
The AssetItem class is used to abstract away the details of the underlying JCR repository.
AssetItem(RulesRepository, Node) - Constructor for class org.drools.repository.AssetItem
Constructs a AssetItem object, setting its node attribute to the specified node.
AssetItem() - Constructor for class org.drools.repository.AssetItem
 
AssetItemIterator - Class in org.drools.repository
This iterates over nodes and produces AssetItem's.
AssetItemIterator(NodeIterator, RulesRepository) - Constructor for class org.drools.repository.AssetItemIterator
 
AssetItemIterator(AssetItemIterator) - Constructor for class org.drools.repository.AssetItemIterator
 
AssetItemPageResult - Class in org.drools.repository
Used for holding a page of asset data.
AssetItemPageResult(List<AssetItem>, long, boolean) - Constructor for class org.drools.repository.AssetItemPageResult
 
AssetItemPageResult() - Constructor for class org.drools.repository.AssetItemPageResult
 
assets - Variable in class org.drools.repository.AssetItemPageResult
 
AssetType - Class in org.drools.repository
 
AssetType() - Constructor for class org.drools.repository.AssetType
 
assetUUID - Variable in class org.drools.repository.UserInfo.InboxEntry
 
AssetValidator - Class in org.drools.repository.utils
 
AssetValidator() - Constructor for class org.drools.repository.utils.AssetValidator
 

B

ByteArrayOutputStream - Class in org.drools.repository.utils
This class implements an output stream in which the data is written into a byte array.
ByteArrayOutputStream() - Constructor for class org.drools.repository.utils.ByteArrayOutputStream
Creates a new byte array output stream.
ByteArrayOutputStream(int) - Constructor for class org.drools.repository.utils.ByteArrayOutputStream
Creates a new byte array output stream, with a buffer capacity of the specified size, in bytes.

C

CategorisableItem - Class in org.drools.repository
This contains logic for categorisable items (not all versionably items are categorisable).
CategorisableItem(RulesRepository, Node) - Constructor for class org.drools.repository.CategorisableItem
 
CATEGORY_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
The name of the tag property on the rule node type
CATEGORY_RULE_KEYS_PROPERTY_NAME - Static variable in class org.drools.repository.ModuleItem
 
CATEGORY_RULE_VALUES_PROPERTY_NAME - Static variable in class org.drools.repository.ModuleItem
 
CategoryItem - Class in org.drools.repository
The TagItem class abstracts away details of the underlying JCR repository.
CategoryItem(RulesRepository, Node) - Constructor for class org.drools.repository.CategoryItem
Constructs an object of type TagItem corresponding the specified node
changeStatus(String) - Method in class org.drools.repository.ModuleItem
This will change the status of this module, and all the contained assets.
checkin(String) - Method in class org.drools.repository.VersionableItem
This will save the content (if it hasn't been already) and then check it in to create a new version.
CHECKIN_COMMENT - Static variable in class org.drools.repository.VersionableItem
 
CheckinEvent - Interface in org.drools.repository.events
To be called after an asset is checked in.
checkIsUpdateable() - Method in class org.drools.repository.VersionableItem
This will check to see if the node is the "head" and so can be updated (you can't update historical nodes ).
checkout() - Method in class org.drools.repository.VersionableItem
This will check out the node prior to editing.
checkout(Node) - Static method in class org.drools.repository.VersionableItem
This will check out the node prior to editing.
ClassUtil - Class in org.drools.repository
Utility methods to aid in class/resource loading.
ClassUtil() - Constructor for class org.drools.repository.ClassUtil
 
clear(String, String) - Method in class org.drools.repository.UserInfo
 
clearRulesRepository() - Method in class org.drools.repository.RulesRepositoryAdministrator
Clears out the entire tree below the rules repository node of the JCR repository.
close() - Method in class org.drools.repository.utils.ByteArrayOutputStream
Closing a ByteArrayOutputStream has no effect.
closeQuietly(Reader) - Static method in class org.drools.repository.utils.IOUtils
Unconditionally close an Reader.
closeQuietly(Writer) - Static method in class org.drools.repository.utils.IOUtils
Unconditionally close a Writer.
closeQuietly(InputStream) - Static method in class org.drools.repository.utils.IOUtils
Unconditionally close an InputStream.
closeQuietly(OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Unconditionally close an OutputStream.
CONFIGURATION_AREA - Static variable in class org.drools.repository.RulesRepository
 
CONFIGURATOR_CLASS - Static variable in class org.drools.repository.RulesRepositoryConfigurator
 
containsAsset(String) - Method in class org.drools.repository.ModuleItem
Returns true if this module contains an asset of the given name.
containsModule(String) - Method in class org.drools.repository.RulesRepository
This returns true if the repository contains the specified module name.
containsSnapshot(String, String) - Method in class org.drools.repository.RulesRepository
 
CONTENT_PROPERTY_ARCHIVE_FLAG - Static variable in class org.drools.repository.VersionableItem
 
CONTENT_PROPERTY_ATTACHMENT_FILENAME - Static variable in class org.drools.repository.AssetItem
 
CONTENT_PROPERTY_BINARY_NAME - Static variable in class org.drools.repository.AssetItem
 
CONTENT_PROPERTY_NAME - Static variable in class org.drools.repository.AssetItem
 
contentEquals(InputStream, InputStream) - Static method in class org.drools.repository.utils.IOUtils
Compare the contents of two Streams to determine if they are equal or not.
contentEquals(Reader, Reader) - Static method in class org.drools.repository.utils.IOUtils
Compare the contents of two Readers to determine if they are equal or not.
convertStringToArray(String) - Method in class org.drools.repository.ModuleItem
 
copy(InputStream, OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Copy bytes from an InputStream to an OutputStream.
copy(InputStream, Writer) - Static method in class org.drools.repository.utils.IOUtils
Copy bytes from an InputStream to chars on a Writer using the default character encoding of the platform.
copy(InputStream, Writer, String) - Static method in class org.drools.repository.utils.IOUtils
Copy bytes from an InputStream to chars on a Writer using the specified character encoding.
copy(Reader, Writer) - Static method in class org.drools.repository.utils.IOUtils
Copy chars from a Reader to a Writer.
copy(Reader, OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Copy chars from a Reader to bytes on an OutputStream using the default character encoding of the platform, and calling flush.
copy(Reader, OutputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Copy chars from a Reader to bytes on an OutputStream using the specified character encoding, and calling flush.
copyAsset(String, String, String) - Method in class org.drools.repository.RulesRepository
This will copy an assets content to the new location.
copyLarge(InputStream, OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Copy bytes from a large (over 2GB) InputStream to an OutputStream.
copyLarge(Reader, Writer) - Static method in class org.drools.repository.utils.IOUtils
Copy chars from a large (over 2GB) Reader to a Writer.
copyModule(String, String) - Method in class org.drools.repository.RulesRepository
Copy a package to the target name.
copyModuleSnapshot(String, String, String) - Method in class org.drools.repository.RulesRepository
Copies a snapshot to the new location/label.
COVERAGE_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
createModule(String, String) - Method in class org.drools.repository.RulesRepository
Adds a module to the repository.
createModule(String, String, String) - Method in class org.drools.repository.RulesRepository
Adds a module to the repository.
createModule(String, String, String, String[], String) - Method in class org.drools.repository.RulesRepository
Adds a module to the repository.
createModuleSnapshot(String, String) - Method in class org.drools.repository.RulesRepository
This will copy the module to the snapshot area.
createState(String) - Method in class org.drools.repository.RulesRepository
Create a status node of the given name.
createSubModule(String) - Method in class org.drools.repository.ModuleItem
Creates a nested package.
createSubModule(String, String, String) - Method in class org.drools.repository.RulesRepository
Adds a Sub module to the repository.
createUser(String) - Method in class org.drools.repository.security.PermissionManager
 
createWorkspace(String) - Method in class org.drools.repository.RulesRepository
Create a status node of the given name.
CREATOR_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
currentPosition - Variable in class org.drools.repository.AssetItemPageResult
 

D

DATE_EFFECTIVE_PROPERTY_NAME - Static variable in class org.drools.repository.AssetItem
The name of the date effective property on the asset node type
DATE_EXPIRED_PROPERTY_NAME - Static variable in class org.drools.repository.AssetItem
The name of the date expired property on the asset node type
decodeDependencyPath(String) - Static method in class org.drools.repository.ModuleItem
 
DEFAULT_CONTENT_FORMAT - Static variable in class org.drools.repository.VersionableItem
The possible formats for the format property of the node
DEFAULT_PACKAGE - Static variable in class org.drools.repository.RulesRepository
 
DEFAULT_WORKSPACE - Static variable in class org.drools.repository.RulesRepository
 
deleteDir(File) - Static method in class org.drools.repository.RepositorySessionUtil
 
DEPENDENCIES_PROPERTY_NAME - Static variable in class org.drools.repository.ModuleItem
 
DESCRIPTION_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
DIR_SEPARATOR - Static variable in class org.drools.repository.utils.IOUtils
The system directory separator character.
DIR_SEPARATOR_UNIX - Static variable in class org.drools.repository.utils.IOUtils
The Unix directory separator character.
DIR_SEPARATOR_WINDOWS - Static variable in class org.drools.repository.utils.IOUtils
The Windows directory separator character.
DISABLED_PROPERTY_NAME - Static variable in class org.drools.repository.AssetItem
 
DO_NOT_INSTALL_SAMPLE_NODE - Static variable in class org.drools.repository.RulesRepository
The name of the node to store user's preference if want to install the sample repository
doCheckinEvents(VersionableItem) - Static method in class org.drools.repository.events.StorageEventManager
Process any checkin event listeners.
DRAFT_STATE_NAME - Static variable in class org.drools.repository.StateItem
All assets when created, or a new version saved, have a status of Draft.
DROOLS_URI - Static variable in class org.drools.repository.RulesRepository
 
dumpModuleFromRepositoryXml(String) - Method in class org.drools.repository.RulesRepository
 

E

eachUser(RulesRepository, UserInfo.Command) - Static method in class org.drools.repository.UserInfo
Do something for each user.
encodeDependencyPath(String, String) - Static method in class org.drools.repository.ModuleItem
 
ensureMixinType(AssetItem, String) - Static method in class org.drools.repository.ModuleItem
 
equals(Object) - Method in class org.drools.repository.Item
 
equals(Object) - Method in class org.drools.repository.StateItem
 
exportModuleFromRepository(String) - Method in class org.drools.repository.RulesRepository
 
exportRepositoryToStream(OutputStream) - Method in class org.drools.repository.RulesRepository
 
EXTERNAL_URI_PROPERTY_NAME - Static variable in class org.drools.repository.ModuleItem
 

F

findArchivedAssets() - Method in class org.drools.repository.RulesRepository
 
findAssetsByCategory(String, boolean, int, int) - Method in class org.drools.repository.RulesRepository
This will retrieve a list of RuleItem objects - that are allocated to the provided category.
findAssetsByCategory(String, boolean, int, int, RepositoryFilter) - Method in class org.drools.repository.RulesRepository
This will retrieve a list of RuleItem objects - that are allocated to the provided category.
findAssetsByCategory(String, int, int) - Method in class org.drools.repository.RulesRepository
 
findAssetsByName(String, boolean) - Method in class org.drools.repository.RulesRepository
This will search assets, looking for matches against the name.
findAssetsByName(String, boolean, boolean) - Method in class org.drools.repository.RulesRepository
This will search assets, looking for matches against the name.
findAssetsByName(String) - Method in class org.drools.repository.RulesRepository
 
findAssetsByState(String, boolean, int, int) - Method in class org.drools.repository.RulesRepository
Finds the AssetItem's linked to the requested state.
findAssetsByState(String, boolean, int, int, RepositoryFilter) - Method in class org.drools.repository.RulesRepository
Finds the AssetItem's linked to the requested state.
FORMAT_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
forName(String, Class) - Static method in class org.drools.repository.ClassUtil
Load the specified class.
from - Variable in class org.drools.repository.UserInfo.InboxEntry
 

G

getAreaNode(String) - Method in class org.drools.repository.RulesRepository
 
getAssetNameFromFileName(String) - Static method in class org.drools.repository.AssetItem
This converts a "filename" to an asset name.
getAssets() - Method in class org.drools.repository.ModuleItem
Return an iterator for the rules in this module
getAssetsWithStatus(StateItem, StateItem) - Method in class org.drools.repository.ModuleItem
This will return a list of assets for a given state.
getAssetsWithStatus(StateItem) - Method in class org.drools.repository.ModuleItem
This will return a list of assets for a given state.
getBinaryContentAsBytes() - Method in class org.drools.repository.AssetItem
This is a convenience method for returning the binary data as a byte array.
getBinaryContentAttachment() - Method in class org.drools.repository.AssetItem
If this asset contains binary data, this is how you return it.
getBinaryContentAttachmentFileName() - Method in class org.drools.repository.AssetItem
Get the name of the "file" attachment, if one is set.
getBooleanProperty(String) - Method in class org.drools.repository.VersionableItem
 
getCategories() - Method in class org.drools.repository.CategorisableItem
Gets a list of CategoryItem objects for this assets node.
getCategoryRules() - Method in class org.drools.repository.ModuleItem
 
getCategoryRules(boolean) - Method in class org.drools.repository.ModuleItem
 
getCategorySummary() - Method in class org.drools.repository.CategorisableItem
This will show a summary list of categories.
getCheckinComment() - Method in class org.drools.repository.VersionableItem
This will return the checkin comment for the latest revision.
getChildTags() - Method in class org.drools.repository.CategoryItem
 
getCompiledBinaryBytes() - Method in class org.drools.repository.ModuleItem
This is a convenience method for returning the binary data as a byte array.
getContent() - Method in class org.drools.repository.AssetItem
returns the string contents of the asset node.
getContent(Boolean) - Method in class org.drools.repository.AssetItem
Only for use in the StorageEventManager, for passing the fromRepo parameter returns the string contents of the asset node.
getContentLength() - Method in class org.drools.repository.AssetItem
returns the number of bytes of the content.
getCoverage() - Method in class org.drools.repository.VersionableItem
Typically, Coverage will include spatial location (a place name or geographic coordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity).
getCreatedDate() - Method in class org.drools.repository.VersionableItem
This returns the date/time on which the asset was "ORIGINALLY CREATED".
getCreator() - Method in class org.drools.repository.VersionableItem
This is the person who initially created the resource.
getDateEffective() - Method in class org.drools.repository.AssetItem
 
getDateExpired() - Method in class org.drools.repository.AssetItem
 
getDependencies() - Method in class org.drools.repository.ModuleItem
To avoid updating dependency attribute for every asset operation like adding/renaming/deleting etc, we calculate dependency path on the fly.
getDescription() - Method in class org.drools.repository.VersionableItem
See the Dublin Core documentation for more explanation: http://dublincore.org/documents/dces/
getDisabled() - Method in class org.drools.repository.AssetItem
 
getExternalRelation() - Method in class org.drools.repository.VersionableItem
A reference to a EXTERNAL related resource.
getExternalSource() - Method in class org.drools.repository.VersionableItem
This is the source of the asset/rule.
getExternalURI() - Method in class org.drools.repository.ModuleItem
 
getFormat() - Method in interface org.drools.repository.utils.Validator
 
getFormat() - Method in class org.drools.repository.VersionableItem
This returns the format of an item.
getFullPath() - Method in class org.drools.repository.CategoryItem
 
getHistory() - Method in class org.drools.repository.AssetItem
 
getHistory() - Method in class org.drools.repository.ModuleItem
 
getHistory() - Method in class org.drools.repository.VersionableItem
 
getInstance(Properties) - Static method in class org.drools.repository.RulesRepositoryConfigurator
Creates an instance of the RulesRepositoryConfigurator, which stores a reference to the under laying JCRRepository.
getJCRRepository() - Method in class org.drools.repository.RulesRepositoryConfigurator
 
getLastContributor() - Method in class org.drools.repository.VersionableItem
Returns the last contributors name.
getLastModified() - Method in class org.drools.repository.VersionableItem
 
getLoadEvent() - Static method in class org.drools.repository.events.StorageEventManager
 
getLongProperty(String) - Method in class org.drools.repository.VersionableItem
 
getModule() - Method in class org.drools.repository.AssetItem
This will get the module an asset item belongs to.
getModuleName() - Method in class org.drools.repository.AssetItem
Get the name of the enclosing module.
getMultiThreadedRepository() - Static method in class org.drools.repository.RepositorySessionUtil
 
getName() - Method in class org.drools.repository.Item
gets the name of this item (unless overridden in a subclass, this just returns the name of the node that this Item encapsulates.
getName() - Method in class org.drools.repository.ModuleItem
Return the name of the module.
getName() - Method in class org.drools.repository.VersionableItem
Need to get the name from the content node, not the version node if it is in fact a version !
getNode() - Method in class org.drools.repository.Item
gets the node in the repository that this item is associated with
getNode(Node, String, String) - Static method in class org.drools.repository.security.PermissionManager
Gets or creates a node.
getPath() - Method in class org.drools.repository.AssetItem
 
getPath(Package) - Static method in class org.drools.repository.ClassUtil
Get a package name and convert it to a path value, so it can be used in calls to methods like ClassUtil.getResourceAsStream(java.lang.String, java.lang.Class).
getPosition() - Method in class org.drools.repository.AssetItemIterator
Get the position in the result set.
getPrecedingVersion() - Method in class org.drools.repository.AssetItem
 
getPrecedingVersion() - Method in class org.drools.repository.ModuleItem
 
getPrecedingVersion() - Method in class org.drools.repository.VersionableItem
Clients of this method can cast the resulting object to the type of object they are calling the method on (e.g.
getPrecedingVersionNode() - Method in class org.drools.repository.VersionableItem
 
getProperty(String, String) - Method in class org.drools.repository.UserInfo
 
getPublisher() - Method in class org.drools.repository.VersionableItem
Examples of Publisher include a person, an organization, or a service.
getRealContentFromVersion(Node) - Method in class org.drools.repository.VersionableItem
This deals with a node which *may* be a version, if it is, it grabs the frozen copy.
getRepository() - Static method in class org.drools.repository.RepositorySessionUtil
 
getResource(String, Class<?>) - Static method in class org.drools.repository.ClassUtil
 
getResourceAsStream(String, Class) - Static method in class org.drools.repository.ClassUtil
Get the specified resource as a stream.
getResourceList(String, Class) - Static method in class org.drools.repository.ClassUtil
 
getResources(String, Class<?>) - Static method in class org.drools.repository.ClassUtil
 
getRights() - Method in class org.drools.repository.VersionableItem
Optionally contains any copyright/ownership rights for the asset.
getRootNode(RulesRepository) - Static method in class org.drools.repository.security.PermissionManager
The root node of the repository
getRulesRepository() - Method in class org.drools.repository.Item
 
getSaveEvent() - Static method in class org.drools.repository.events.StorageEventManager
 
getSession() - Method in class org.drools.repository.RulesRepository
 
getSize() - Method in class org.drools.repository.AssetItemIterator
 
getSnapshotName() - Method in class org.drools.repository.ModuleItem
returns the name of the snapshot, if this module is really a snapshot.
getState(String) - Method in class org.drools.repository.RulesRepository
Gets a StateItem for the specified state name.
getState() - Method in class org.drools.repository.VersionableItem
Gets StateItem object corresponding to the state property of this object's node
getStateDescription() - Method in class org.drools.repository.VersionableItem
This will return the current state item as a displayable thing.
getStringProperty(String) - Method in class org.drools.repository.VersionableItem
 
getStringPropertyArray(String) - Method in class org.drools.repository.VersionableItem
 
getSubject() - Method in class org.drools.repository.VersionableItem
Typically, Subject will be expressed as keywords, key phrases or classification codes that describe a topic of the resource.
getSucceedingVersion() - Method in class org.drools.repository.AssetItem
 
getSucceedingVersion() - Method in class org.drools.repository.ModuleItem
 
getSucceedingVersion() - Method in class org.drools.repository.VersionableItem
Clients of this method can cast the resulting object to the type of object they are calling the method on (e.g.
getSucceedingVersionNode() - Method in class org.drools.repository.VersionableItem
 
getTitle() - Method in class org.drools.repository.VersionableItem
Gets the Title of the versionable node.
getType() - Method in class org.drools.repository.VersionableItem
This is the Dublin Core field of type (a broad classification of resource type).
getUserInfoNode(String, RulesRepository) - Static method in class org.drools.repository.security.PermissionManager
get the specified user info node (it is an nt:folder type)
getUserProperty(String) - Method in class org.drools.repository.AssetItem
 
getUsersRootNode(Node) - Static method in class org.drools.repository.security.PermissionManager
Get the top node for "user_info"
getUUID() - Method in class org.drools.repository.VersionableItem
 
getValid() - Method in class org.drools.repository.VersionableItem
 
getVersionContentNode() - Method in class org.drools.repository.VersionableItem
When retrieving content, if we are dealing with a version in the history, we need to get the actual content node to retrieve values.
getVersionManager(Node) - Static method in class org.drools.repository.VersionableItem
 
getVersionNumber() - Method in class org.drools.repository.VersionableItem
get this version number (default is incrementing integer, but you can provide an implementation of VersionNumberGenerator if needed).
getVersionSnapshotUUID() - Method in class org.drools.repository.VersionableItem
This returns the id of the exact version node (as opposed to the "main" node).
getWorkspaces() - Method in class org.drools.repository.ModuleItem
 
GLOBAL_AREA - Static variable in class org.drools.repository.RulesRepository
 

H

hashCode() - Method in class org.drools.repository.Item
 
hashCode() - Method in class org.drools.repository.StateItem
 
hasLoadEvent() - Static method in class org.drools.repository.events.StorageEventManager
 
hasNext() - Method in class org.drools.repository.AssetHistoryIterator
 
hasNext() - Method in class org.drools.repository.AssetItemIterator
 
hasNext - Variable in class org.drools.repository.AssetItemPageResult
 
hasNext() - Method in class org.drools.repository.ModuleHistoryIterator
 
hasNext() - Method in class org.drools.repository.ModuleIterator
 
hasSaveEvent() - Static method in class org.drools.repository.events.StorageEventManager
 
HEADER_PROPERTY_NAME - Static variable in class org.drools.repository.ModuleItem
 

I

importPackageToRepository(byte[], boolean) - Method in class org.drools.repository.RulesRepository
 
importRepository(InputStream) - Method in class org.drools.repository.RulesRepository
Import the repository from a stream.
importRulesRepositoryFromStream(InputStream) - Method in class org.drools.repository.RulesRepository
Clean and import the repository.
IOUtils - Class in org.drools.repository.utils
General IO stream manipulation utilities.
IOUtils() - Constructor for class org.drools.repository.utils.IOUtils
Instances should NOT be constructed in standard programming.
isArchived() - Method in class org.drools.repository.VersionableItem
Test if the VersionableItem is archived
isBinary() - Method in class org.drools.repository.AssetItem
True if this is a binary asset (or has binary content).
isBinaryUpToDate() - Method in class org.drools.repository.ModuleItem
Return true if the binary is "up to date".
isDoNotInstallSample() - Method in class org.drools.repository.RulesRepository
 
isHistoricalVersion() - Method in class org.drools.repository.VersionableItem
This will return true if the current entity is actually a historical version (which means is effectively read only).
isModuleArchived(String) - Method in class org.drools.repository.RulesRepository
Check if module is archived.
isRepositoryInitialized() - Method in class org.drools.repository.RulesRepositoryAdministrator
This will tell you if the repository currently connected to is initialized.
isSetArchivedSearch() - Method in class org.drools.repository.ModuleIterator
 
isSnapshot() - Method in class org.drools.repository.ModuleItem
 
it - Variable in class org.drools.repository.AssetItemIterator
 
Item - Class in org.drools.repository
The item class is used to abstract away the underlying details of the JCR repository.
Item(RulesRepository, Node) - Constructor for class org.drools.repository.Item
Sets the item object's node attribute to the specified node

L

LAST_CONTRIBUTOR_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
Dublin core based fields.
LAST_MODIFIED_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
LINE_SEPARATOR - Static variable in class org.drools.repository.utils.IOUtils
The system line separator string.
LINE_SEPARATOR_UNIX - Static variable in class org.drools.repository.utils.IOUtils
The Unix line separator string.
LINE_SEPARATOR_WINDOWS - Static variable in class org.drools.repository.utils.IOUtils
The Windows line separator string.
listArchivedAssets() - Method in class org.drools.repository.ModuleItem
 
listAssetsByFormat(List<String>) - Method in class org.drools.repository.ModuleItem
 
listAssetsByFormat(String...) - Method in class org.drools.repository.ModuleItem
This will load an iterator for assets of the given format type.
listAssetsNotOfFormat(String[]) - Method in class org.drools.repository.ModuleItem
 
listAssetsWithVersionsSpecifiedByDependenciesByFormat(String...) - Method in class org.drools.repository.ModuleItem
 
listModules() - Method in class org.drools.repository.RulesRepository
 
listModuleSnapshots(String) - Method in class org.drools.repository.RulesRepository
Return a list of the snapshots available for the given module name.
listStates() - Method in class org.drools.repository.RulesRepository
 
listSubModules() - Method in class org.drools.repository.ModuleItem
Returns a ModuleIterator of its children
listUsers() - Method in class org.drools.repository.security.PermissionManager
Returns a list of users and their permissions types for display.
listWorkspaces() - Method in class org.drools.repository.RulesRepository
 
loadAsset(String) - Method in class org.drools.repository.ModuleItem
Load a specific asset by name.
loadAsset(String, long) - Method in class org.drools.repository.ModuleItem
Load a specific asset by name.
loadAssetByUUID(String) - Method in class org.drools.repository.RulesRepository
Loads an asset by its UUID (generally the fastest way to load something).
loadAssetWithVersion(AssetItem, String) - Method in class org.drools.repository.VersionedAssetItemIterator
 
loadCategory(String) - Method in class org.drools.repository.RulesRepository
This will return a category for the given category path.
loadContent(AssetItem) - Method in interface org.drools.repository.events.LoadEvent
 
loadDefaultModule() - Method in class org.drools.repository.RulesRepository
This will return or create the default module for assets that have no home yet.
LoadEvent - Interface in org.drools.repository.events
This event handler is used to provide alternative asset content.
loadGlobalArea() - Method in class org.drools.repository.RulesRepository
This will return the global area for assets that can be shared.
loadItemByUUID(String) - Method in class org.drools.repository.RulesRepository
Similar to above.
loadModule(String) - Method in class org.drools.repository.RulesRepository
Loads a Module for the specified module name.
loadModule(String, long) - Method in class org.drools.repository.RulesRepository
Loads a Module for the specified module name and version.
loadModuleByUUID(String) - Method in class org.drools.repository.RulesRepository
Similar to above.
loadModuleSnapshot(String, String) - Method in class org.drools.repository.RulesRepository
 
loadState(String) - Method in class org.drools.repository.RulesRepository
 
login(String, String) - Method in class org.drools.repository.RulesRepositoryConfigurator
 
login(String) - Method in class org.drools.repository.RulesRepositoryConfigurator
 
logout() - Method in class org.drools.repository.RulesRepository
Explicitly logout of the underlying JCR repository.

M

makeJSR170ComplaintName(String) - Static method in class org.drools.repository.utils.NodeUtils
Construct a validate JCR Node path name per JSR-170 from an asset name.
METADATA_TYPE_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the meta data area within the JCR repository
migrate(RulesRepository) - Method in class org.drools.repository.migration.MigrateDroolsPackage
 
MigrateDroolsPackage - Class in org.drools.repository.migration
This is a one time class which will be used to migrate package header info for drools.
MigrateDroolsPackage() - Constructor for class org.drools.repository.migration.MigrateDroolsPackage
 
MODULE_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the module area of the repository
MODULE_FORMAT - Static variable in class org.drools.repository.ModuleItem
The dublin core format attribute.
MODULE_NAME_PROPERTY - Static variable in class org.drools.repository.AssetItem
 
MODULE_SNAPSHOT_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the module snapshot area of the repository
MODULE_TYPE_NAME - Static variable in class org.drools.repository.ModuleItem
The name of the module node type
ModuleHistoryIterator - Class in org.drools.repository
A lazy iterator for walking back through history.
ModuleHistoryIterator(RulesRepository, Node) - Constructor for class org.drools.repository.ModuleHistoryIterator
 
ModuleItem - Class in org.drools.repository
A ModuleItem object aggregates a set of assets (for example, rules).
ModuleItem(RulesRepository, Node) - Constructor for class org.drools.repository.ModuleItem
Constructs an object of type ModuleItem corresponding the specified node
ModuleIterator - Class in org.drools.repository
This wraps a node iterator, and provides ModuleItems when requested.
ModuleIterator() - Constructor for class org.drools.repository.ModuleIterator
 
ModuleIterator(RulesRepository, NodeIterator) - Constructor for class org.drools.repository.ModuleIterator
 
moveRuleItemModule(String, String, String) - Method in class org.drools.repository.RulesRepository
This moves an asset from one module to another, preserving history etc etc.

N

needsMigration(RulesRepository) - Method in class org.drools.repository.migration.MigrateDroolsPackage
 
next() - Method in class org.drools.repository.AssetHistoryIterator
 
next() - Method in class org.drools.repository.AssetItemIterator
 
next() - Method in class org.drools.repository.ModuleHistoryIterator
 
next() - Method in class org.drools.repository.ModuleIterator
 
next() - Method in class org.drools.repository.VersionedAssetItemIterator
 
node - Variable in class org.drools.repository.Item
The node within the repository that this item corresponds to
NodeUtils - Class in org.drools.repository.utils
Utilities relating to a ModuleItem.
NodeUtils() - Constructor for class org.drools.repository.utils.NodeUtils
 
NotAssignedPermissionException - Exception in org.drools.repository.security
 
NotAssignedPermissionException() - Constructor for exception org.drools.repository.security.NotAssignedPermissionException
 
note - Variable in class org.drools.repository.UserInfo.InboxEntry
 

O

onAssetCheckin(AssetItem) - Method in interface org.drools.repository.events.SaveEvent
When the content of the asset changes, or some meta data.
onAssetDelete(AssetItem) - Method in interface org.drools.repository.events.SaveEvent
When it is hard deleted.
onModuleCreate(ModuleItem) - Method in interface org.drools.repository.events.SaveEvent
Called once, when a module is created.
org.drools.repository - package org.drools.repository
 
org.drools.repository.events - package org.drools.repository.events
 
org.drools.repository.migration - package org.drools.repository.migration
 
org.drools.repository.security - package org.drools.repository.security
 
org.drools.repository.utils - package org.drools.repository.utils
 

P

PermissionManager - Class in org.drools.repository.security
Deals with storing permissions for data and so on.
PermissionManager(RulesRepository) - Constructor for class org.drools.repository.security.PermissionManager
 
PERSPECTIVES_CONFIGURATION_AREA - Static variable in class org.drools.repository.RulesRepository
 
process(String) - Method in interface org.drools.repository.UserInfo.Command
 
PROPERTIES_FILE - Static variable in class org.drools.repository.RulesRepositoryConfigurator
The classpath resource from which the RepositoryFactory properties are loaded.
PUBLISHER_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 

Q

query(Map<String, String[]>, boolean, RulesRepository.DateQuery[]) - Method in class org.drools.repository.RulesRepository
This will do a general predicate search.
queryAssets(String, boolean) - Method in class org.drools.repository.ModuleItem
This will query any assets stored under this module.
queryAssets(String) - Method in class org.drools.repository.ModuleItem
 
queryFullText(String, boolean) - Method in class org.drools.repository.RulesRepository
This will search assets, looking for matches against the name.

R

readEntries(String, String) - Method in class org.drools.repository.UserInfo
 
readLines(InputStream) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a list of Strings, one entry per line, using the default character encoding of the platform.
readLines(InputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a list of Strings, one entry per line, using the specified character encoding.
readLines(Reader) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of a Reader as a list of Strings, one entry per line.
registerCheckinEvent(CheckinEvent) - Static method in class org.drools.repository.events.StorageEventManager
 
RELATION_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
remove() - Method in class org.drools.repository.AssetHistoryIterator
You can't do this with this sort of iterator.
remove() - Method in class org.drools.repository.AssetItem
This will remove the item.
remove() - Method in class org.drools.repository.AssetItemIterator
 
remove() - Method in class org.drools.repository.CategoryItem
This will remove the category and any ones under it.
remove() - Method in class org.drools.repository.ModuleHistoryIterator
You can't do this with this sort of iterator.
remove() - Method in class org.drools.repository.ModuleItem
This will permanently delete this module.
remove() - Method in class org.drools.repository.ModuleIterator
 
remove() - Method in class org.drools.repository.StateItem
 
removeCategory(String) - Method in class org.drools.repository.CategorisableItem
Removes the specified tag from this asset node.
removeCategory(Node, String) - Static method in class org.drools.repository.CategorisableItem
Removes the specified tag from this asset node.
removeListeners() - Static method in class org.drools.repository.events.StorageEventManager
 
removeModuleSnapshot(String, String) - Method in class org.drools.repository.RulesRepository
This will remove the specified snapshot.
removeUserPermissions(String) - Method in class org.drools.repository.security.PermissionManager
 
removeWorkspace(String) - Method in class org.drools.repository.ModuleItem
This removes a workspace
removeWorkspace(String) - Method in class org.drools.repository.RulesRepository
 
renameAsset(String, String) - Method in class org.drools.repository.RulesRepository
This will rename an asset and apply the change immediately.
renameCategory(String, String) - Method in class org.drools.repository.RulesRepository
Rename a category.
renameModule(String, String) - Method in class org.drools.repository.RulesRepository
This will rename a module and apply the change immediately.
renameState(String, String) - Method in class org.drools.repository.RulesRepository
 
RepositoryFilter - Interface in org.drools.repository
 
RepositorySessionUtil - Class in org.drools.repository
This is a utility to simulate session behavior for the test suite.
RepositorySessionUtil() - Constructor for class org.drools.repository.RepositorySessionUtil
 
reset() - Method in class org.drools.repository.utils.ByteArrayOutputStream
 
resolveProxy(String[], Class) - Static method in class org.drools.repository.ClassUtil
Resolve a proxy for the specified interfaces.
restoreHistoricalAsset(AssetItem, AssetItem, String) - Method in class org.drools.repository.RulesRepository
This will restore the historical version, save, and check it in as a new version with the given comment.
retrieveUserPermissions(String) - Method in class org.drools.repository.security.PermissionManager
obtain a mapping of permissions for a given user.
RIGHTS_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
RULES_REPOSITORY_NAME - Static variable in class org.drools.repository.RulesRepository
The name of the rules repository within the JCR repository
rulesRepository - Variable in class org.drools.repository.AssetItemIterator
 
rulesRepository - Variable in class org.drools.repository.Item
The RulesRepository object that this object was created from
RulesRepository - Class in org.drools.repository
RulesRepository is the class that defines the behavior for the JBoss Rules (drools) rule repository based upon the JCR specification (JSR-170).
RulesRepository() - Constructor for class org.drools.repository.RulesRepository
 
RulesRepository(Session) - Constructor for class org.drools.repository.RulesRepository
This requires a JCR session be setup, and the repository be configured.
RulesRepository.DateQuery - Class in org.drools.repository
 
RulesRepository.DateQuery(String, String, String) - Constructor for class org.drools.repository.RulesRepository.DateQuery
 
RulesRepositoryAdministrator - Class in org.drools.repository
This class is for administering the rules repo.
RulesRepositoryAdministrator(Session) - Constructor for class org.drools.repository.RulesRepositoryAdministrator
Pass in a session that is capable of doing admin-ey type stuff.
RulesRepositoryConfigurator - Class in org.drools.repository
 
RulesRepositoryException - Exception in org.drools.repository
The main exception thrown by classes in this package.
RulesRepositoryException() - Constructor for exception org.drools.repository.RulesRepositoryException
Default constructor. constructs a RulesRepositoryException object with null as its detail message
RulesRepositoryException(String) - Constructor for exception org.drools.repository.RulesRepositoryException
Constructs a new instance of this class with the specified detail message.
RulesRepositoryException(Throwable) - Constructor for exception org.drools.repository.RulesRepositoryException
Constructs a new instance of this class with the specified root cause.
RulesRepositoryException(String, Throwable) - Constructor for exception org.drools.repository.RulesRepositoryException
Constructs a new instance of this class with the specified detail message and root cause.

S

sameState(StateItem) - Method in class org.drools.repository.VersionableItem
Compare this rules state with some other state
save() - Method in class org.drools.repository.RulesRepository
Save any pending changes.
save() - Method in class org.drools.repository.UserInfo
Persists the change (if not in a transaction of course, if in a transaction, it will wait until the boundary is hit, as per JCR standard.
SaveEvent - Interface in org.drools.repository.events
This will be called as content is saved to the repository - you can hook in and also store content in an external store.
SCHEMA_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the schema area within the JCR repository
setArchivedIterator(boolean) - Method in class org.drools.repository.ModuleIterator
 
setCatRules(String) - Method in class org.drools.repository.ModuleItem
 
setDoNotInstallSample() - Method in class org.drools.repository.RulesRepository
 
setProperty(String, String, UserInfo.Val) - Method in class org.drools.repository.UserInfo
 
setReturnAssetsWithVersionsSpecifiedByDependencies(boolean) - Method in class org.drools.repository.VersionedAssetItemIterator
 
setupRepository(Session) - Method in class org.drools.repository.RulesRepositoryConfigurator
Attempts to setup the repository.
shutdown() - Static method in class org.drools.repository.RepositorySessionUtil
 
shutdown() - Method in class org.drools.repository.RulesRepositoryConfigurator
 
size() - Method in class org.drools.repository.utils.ByteArrayOutputStream
Return the current size of the byte array.
skip(int) - Method in class org.drools.repository.AssetHistoryIterator
Skip the specified number of items.
skip(long) - Method in class org.drools.repository.AssetItemIterator
 
skip(int) - Method in class org.drools.repository.ModuleHistoryIterator
Skip the specified number of items.
SOURCE_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
STATE_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the state area of the repository
STATE_NODE_TYPE_NAME - Static variable in class org.drools.repository.StateItem
The name of the state node type
STATE_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
The name of the state property on the rule node type
StateItem - Class in org.drools.repository
The StateItem represents the status of an asset.
StateItem(RulesRepository, Node) - Constructor for class org.drools.repository.StateItem
Constructs an object of type StateItem corresponding the specified node
StorageEventManager - Class in org.drools.repository.events
This manages storage events, which may load/save from another location, or just notify on change etc.
StorageEventManager() - Constructor for class org.drools.repository.events.StorageEventManager
 
SUBJECT_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 

T

TAG_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the tag area of the repository
TAG_NODE_TYPE_NAME - Static variable in class org.drools.repository.CategoryItem
The name of the tag node type
timestamp - Variable in class org.drools.repository.UserInfo.InboxEntry
 
TITLE_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
Property names for this node type.
toByteArray() - Method in class org.drools.repository.utils.ByteArrayOutputStream
Gets the curent contents of this byte stream as a byte array.
toByteArray(InputStream) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a byte[].
toByteArray(Reader) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of a Reader as a byte[] using the default character encoding of the platform.
toByteArray(Reader, String) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of a Reader as a byte[] using the specified character encoding.
toByteArray(String) - Static method in class org.drools.repository.utils.IOUtils
Deprecated. Use String.getBytes()
toCharArray(InputStream) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a character array using the default character encoding of the platform.
toCharArray(InputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a character array using the specified character encoding.
toCharArray(Reader) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of a Reader as a character array.
toInputStream(String) - Static method in class org.drools.repository.utils.IOUtils
Convert the specified string to an input stream, encoded as bytes using the default character encoding of the platform.
toInputStream(String, String) - Static method in class org.drools.repository.utils.IOUtils
Convert the specified string to an input stream, encoded as bytes using the specified character encoding.
toString() - Method in class org.drools.repository.AssetItem
Nicely formats the information contained by the node that this object encapsulates
toString() - Method in class org.drools.repository.ModuleItem
Nicely formats the information contained by the node that this object encapsulates
toString() - Method in class org.drools.repository.StateItem
 
toString() - Method in class org.drools.repository.utils.ByteArrayOutputStream
Gets the curent contents of this byte stream as a string.
toString(String) - Method in class org.drools.repository.utils.ByteArrayOutputStream
Gets the curent contents of this byte stream as a string using the specified encoding.
toString(InputStream) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a String using the default character encoding of the platform.
toString(InputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of an InputStream as a String using the specified character encoding.
toString(Reader) - Static method in class org.drools.repository.utils.IOUtils
Get the contents of a Reader as a String.
toString(byte[]) - Static method in class org.drools.repository.utils.IOUtils
Deprecated. Use String.String(byte[])
toString(byte[], String) - Static method in class org.drools.repository.utils.IOUtils
Deprecated. Use String.String(byte[],String)
TYPE_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 

U

updateBinaryContentAttachment(InputStream) - Method in class org.drools.repository.AssetItem
If the asset is a binary asset, then use this to update the content (do NOT use text).
updateBinaryContentAttachmentFileName(String) - Method in class org.drools.repository.AssetItem
Optionally set the filename to be associated with the binary content.
updateBinaryUpToDate(boolean) - Method in class org.drools.repository.ModuleItem
Set this to indicate if the binary is up to date, or not.
updateCategoryList(String[]) - Method in class org.drools.repository.CategorisableItem
This method sets the categories in one hit, making the ASSUMPTION that the categories were previously set up !
updateCategoryRules(String, String) - Method in class org.drools.repository.ModuleItem
 
updateCheckinComment(String) - Method in class org.drools.repository.ModuleItem
Update the checkin comment.
updateCompiledBinary(InputStream) - Method in class org.drools.repository.ModuleItem
 
updateContent(String) - Method in class org.drools.repository.AssetItem
This will update the asset's content (checking it out if it is not already).
updateCoverage(String) - Method in class org.drools.repository.VersionableItem
 
updateDateEffective(Calendar) - Method in class org.drools.repository.AssetItem
Creates a new version of this asset node, updating the effective date for the asset node.
updateDateExpired(Calendar) - Method in class org.drools.repository.AssetItem
Creates a new version of this asset node, updating the expired date for the asset node.
updateDependency(String) - Method in class org.drools.repository.ModuleItem
 
updateDescription(String) - Method in class org.drools.repository.VersionableItem
Creates a new version of this object's node, updating the description content for the node.
updateDisabled(boolean) - Method in class org.drools.repository.AssetItem
Creates a new version of this asset node, updating the disable value for the asset node.
updateExternalRelation(String) - Method in class org.drools.repository.VersionableItem
 
updateExternalSource(String) - Method in class org.drools.repository.VersionableItem
 
updateExternalURI(String) - Method in class org.drools.repository.ModuleItem
 
updateFormat(String) - Method in class org.drools.repository.VersionableItem
This sets the format (or "file extension" of the resource).
updatePublisher(String) - Method in class org.drools.repository.VersionableItem
 
updateRights(String) - Method in class org.drools.repository.VersionableItem
 
updateState(String) - Method in class org.drools.repository.VersionableItem
Sets this object's rule node's state property to refer to the specified state node
updateState(StateItem) - Method in class org.drools.repository.VersionableItem
Sets this object's rule node's state property to refer to the specified StateItem's node
updateStringArrayProperty(String[], String, boolean) - Method in class org.drools.repository.VersionableItem
optionally update last updated...
updateStringProperty(String, String) - Method in class org.drools.repository.VersionableItem
update a text field.
updateStringProperty(String, String, boolean) - Method in class org.drools.repository.VersionableItem
optionally update last updated...
updateSubject(String) - Method in class org.drools.repository.VersionableItem
 
updateTitle(String) - Method in class org.drools.repository.VersionableItem
See the Dublin Core documentation for more explanation: http://dublincore.org/documents/dces/
updateType(String) - Method in class org.drools.repository.VersionableItem
 
updateUserPermissions(String, Map<String, List<String>>) - Method in class org.drools.repository.security.PermissionManager
Save the users permissions.
updateUserProperty(String, String) - Method in class org.drools.repository.AssetItem
This updates a user defined property (not one of the intrinsic ones).
updateValid(Valid) - Method in class org.drools.repository.VersionableItem
 
updateValid(Boolean) - Method in class org.drools.repository.VersionableItem
 
updateWorkspace(String[]) - Method in class org.drools.repository.ModuleItem
This sets the Workspace
UserInfo - Class in org.drools.repository
Manage access to misc. user info that we might want to store.
UserInfo(RulesRepository) - Constructor for class org.drools.repository.UserInfo
Use the current sessions userName to get to the info node.
UserInfo(RulesRepository, String) - Constructor for class org.drools.repository.UserInfo
Use the given userName to select the node.
UserInfo.Command - Interface in org.drools.repository
 
UserInfo.InboxEntry - Class in org.drools.repository
And entry in an inbox.
UserInfo.InboxEntry() - Constructor for class org.drools.repository.UserInfo.InboxEntry
 
UserInfo.InboxEntry(String, String, String) - Constructor for class org.drools.repository.UserInfo.InboxEntry
 
UserInfo.Val - Class in org.drools.repository
 
UserInfo.Val(String) - Constructor for class org.drools.repository.UserInfo.Val
 

V

VALID_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
The flag whether the item is valid or not
validate(AssetItem) - Method in class org.drools.repository.utils.AssetValidator
 
validate(AssetItem) - Method in interface org.drools.repository.utils.Validator
 
Validator - Interface in org.drools.repository.utils
 
value - Variable in class org.drools.repository.UserInfo.Val
 
VERSION_NUMBER_PROPERTY_NAME - Static variable in class org.drools.repository.VersionableItem
 
VersionableItem - Class in org.drools.repository
This is the parent class for versionable assets.
VersionableItem(RulesRepository, Node) - Constructor for class org.drools.repository.VersionableItem
Sets this object's node attribute to the specified node
VersionedAssetItemIterator - Class in org.drools.repository
This iterates over nodes and produces AssetItem's.
VersionedAssetItemIterator(NodeIterator, RulesRepository, String[]) - Constructor for class org.drools.repository.VersionedAssetItemIterator
 

W

WORKSPACE_AREA - Static variable in class org.drools.repository.RulesRepository
The name of the workspace area within the JCR repository
WORKSPACE_PROPERTY_NAME - Static variable in class org.drools.repository.ModuleItem
 
write(byte[], int, int) - Method in class org.drools.repository.utils.ByteArrayOutputStream
Write the bytes to byte array.
write(int) - Method in class org.drools.repository.utils.ByteArrayOutputStream
Write a byte to byte array.
write(InputStream) - Method in class org.drools.repository.utils.ByteArrayOutputStream
Writes the entire contents of the specified input stream to this byte stream.
write(byte[], OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Writes bytes from a byte[] to an OutputStream.
write(byte[], Writer) - Static method in class org.drools.repository.utils.IOUtils
Writes bytes from a byte[] to chars on a Writer using the default character encoding of the platform.
write(byte[], Writer, String) - Static method in class org.drools.repository.utils.IOUtils
Writes bytes from a byte[] to chars on a Writer using the specified character encoding.
write(char[], Writer) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a char[] to a Writer using the default character encoding of the platform.
write(char[], OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a char[] to bytes on an OutputStream.
write(char[], OutputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a char[] to bytes on an OutputStream using the specified character encoding.
write(String, Writer) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a String to a Writer.
write(String, OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a String to bytes on an OutputStream using the default character encoding of the platform.
write(String, OutputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a String to bytes on an OutputStream using the specified character encoding.
write(StringBuffer, Writer) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a StringBuffer to a Writer.
write(StringBuffer, OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a StringBuffer to bytes on an OutputStream using the default character encoding of the platform.
write(StringBuffer, OutputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Writes chars from a StringBuffer to bytes on an OutputStream using the specified character encoding.
writeEntries(String, String, List<UserInfo.InboxEntry>) - Method in class org.drools.repository.UserInfo
 
writeLines(Collection, String, OutputStream) - Static method in class org.drools.repository.utils.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the default character encoding of the platform and the specified line ending.
writeLines(Collection, String, OutputStream, String) - Static method in class org.drools.repository.utils.IOUtils
Writes the toString() value of each item in a collection to an OutputStream line by line, using the specified character encoding and the specified line ending.
writeLines(Collection, String, Writer) - Static method in class org.drools.repository.utils.IOUtils
Writes the toString() value of each item in a collection to a Writer line by line, using the specified line ending.
writeTo(OutputStream) - Method in class org.drools.repository.utils.ByteArrayOutputStream
Writes the entire contents of this byte stream to the specified output stream.

A B C D E F G H I L M N O P Q R S T U V W

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