## Uses of Interface
com.microfocus.awm.model.IResource

- Packages that use IResource
  Package | Description
  --- | ---
  com.microfocus.awm.control | Contains basic classes for executing AWM actions, like the ActionExecutor.
  com.microfocus.awm.core | Contains central helper classes (like TaurusUtility) and basic implementations of AWM interfaces.
  com.microfocus.awm.localsystem | Internal implementations for local AWM system types.
  com.microfocus.awm.model | Contains interfaces which provide access to AWM managed resources at run-time like AWM applications, elements, element lists, filters, file descriptors, actions, tools, properties and the master configuration, and so on.
  com.microfocus.awm.model.internal | Internal implementations of AWM interfaces.

- - ### Uses of IResource in com.microfocus.awm.control

    Methods in com.microfocus.awm.control that return IResource
    Modifier and Type | Method and Description
    --- | ---
    `IResource` | TaurusActionEvent.`getResource()` Gets the context resource of the action.
    `static IResource` | ElementListController.`getResource(java.lang.String pElementListID)` Deprecated. Get the resource to which the element list with given id is associated.

    Methods in com.microfocus.awm.control with parameters of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static void` | EditUtilities.`cleanUpEdit(IResource pRes, FileDescriptor pFile2Delete, IExecutionContext pContext)` Deletes a local file.
    `static IAction` | ActionExecutor.`executeAction(ISystemImage pImg, IResource pRes, ActionDescriptor pTauAction, org.eclipse.core.runtime.IProgressMonitor pMon)` Deprecated. Not thread safe and doesn't throw exceptions. Use any of the create(...) methods to create an action executor instance and then `ActionExecutor.execute(IProgressMonitor)` instead.
    `static void` | ElementListController.`removeLists(IResource pResource)` Deprecated. Remove all element lists belonging to a resource.
    `static IElementList` | ElementListController.`restoreList(ActionDescriptor pAct, IResource pRes)` Deprecated. Call `IElementListDirectory.restoreList(ActionDescriptor, IResource)`.

    Method parameters in com.microfocus.awm.control with type arguments of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static IAction` | ActionExecutor.`executeAction(ISystemImage pImg, java.util.List<IResource> pResources, ActionDescriptor pActDescr, org.eclipse.core.runtime.IProgressMonitor pMon)` Deprecated. Not thread safe and doesn't throw exceptions. Use any of the create(...) methods to create an action executor instance and then `ActionExecutor.execute(IProgressMonitor)` instead.

    Constructors in com.microfocus.awm.control with parameters of type IResource
    Constructor and Description
    `ActionExecutor(ActionDescriptor pActDescr, ISystemImage pImg, IResource pRes)` Creates an ActionExecutor instance with a single `IResource` as context.
    `TaurusActionEvent(IResource pResource, IAction pAction)` Creates a new `TaurusActionEvent`.

    Constructor parameters in com.microfocus.awm.control with type arguments of type IResource
    Constructor and Description
    `ActionExecutor(ActionDescriptor pActDescr, ISystemImage pImg, java.util.List<IResource> pResources)` Creates an ActionExecutor instance with multiple `IResource`s as context.

  - ### Uses of IResource in com.microfocus.awm.core

    Classes in com.microfocus.awm.core that implement IResource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractTaurusSystem` Basic implementation of the `ITaurusSystem` interface, which automatically registers itself in the `ITaurusSystemDirectory` on creation and manages custom attributes.
    `class` | `ConfiguredTaurusSystem` AWM system which is defined by a master configuration.
    `class` | `TableResource` Standard implementation of `ITableResource`.

    Methods in com.microfocus.awm.core that return IResource
    Modifier and Type | Method and Description
    --- | ---
    `IResource` | TaurusNotification.`getChangedResource()` Gets the a resource that has been changed.
    `IResource[]` | TaurusNotification.`getChangedResources()` Gets the resources that have been changed.
    `IResource` | TaurusFactory.`getResource(java.lang.String pResourceID)` Gets the `IResource` with the given ID from the currently loaded application.

    Methods in com.microfocus.awm.core with parameters of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | TaurusUtility.`checkEnabledCondition(REnabledConditionBase pEnabledCond, IResource[] pResources, ISystemImage pImg)` Deprecated. use `TaurusUtility.evaluateEnabledCondition(REnabledConditionBase, com.microfocus.awm.model.IResource[], ISystemImage)` instead
    `IElementList` | TaurusFactory.`createElementList(ElementListStructure pElementListStructure, ActionDescriptor pAction, java.lang.String pElementListID, IResource pParent)` Creates an `IElementList` depending on the given parent `IResource`.
    `IElementListKey` | TaurusFactory.`createElementListKey(ActionDescriptor pAction, IResource pResource)` Creates an element list key.
    `static IEnabledConditionEvaluationResult` | TaurusUtility.`evaluateEnabledCondition(REnabledConditionBase pEnabledCond, IResource[] pResources, ISystemImage pImg)` Calls `TaurusUtility.evaluateEnabledCondition(REnabledConditionBase, int, IExecutionContext)` for every given resource.
    `void` | TaurusNotification.`setChangedResource(IResource... pChangedResource)` Sets the resource that has been changed.

  - ### Uses of IResource in com.microfocus.awm.localsystem

    Classes in com.microfocus.awm.localsystem that implement IResource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultConfigurationSystem` Local AWM system which was created from a default configurations XML file.
    `class` | `LocalTaurusSystem` Class for a local TAURUS system.

  - ### Uses of IResource in com.microfocus.awm.model

    Subinterfaces of IResource in com.microfocus.awm.model
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IActiveTaurusApplication` Deprecated.
    `interface` | `IElement` AWM managed runtime instance of an `ElementType`.
    `interface` | `IElementList` Element lists are AWM `IResource`s containing `ElementListEntry` s.
    `interface` | `IElementListEntry` Occurrence of an `IElement` within an `IElementList`.
    `interface` | `IFileResource` Implementation of `IResource` for resources which are described by a file descriptor.
    `interface` | `IFilter` AWM managed instance of a `FilterType`.
    `interface` | `ITableResource` Simple expansion of an `IResource` for table entries within a structured file descriptor.
    `interface` | `ITaurusApplication` Main representation of an AWM model at runtime.
    `interface` | `ITaurusSystem` AWM systems are the main container and parent of `ITaurusApplication`s and have a reference to an `ISystemImage`.

    Classes in com.microfocus.awm.model that implement IResource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractElementListEntry` Abstract `IElementListEntry` implementation.
    `class` | `AbstractTaurusApplication` Basic implementation of `ITaurusApplication`.

    Methods in com.microfocus.awm.model that return IResource
    Modifier and Type | Method and Description
    --- | ---
    `IResource` | IResource.`getParentResource()` Returns the parent of this resource or `null` if there is none.
    `IResource` | ITaurusJob.`getResource()` Gets the resource where the job was executed from.
    `IResource` | IExecutionContext.`getResource()` Receives the resource which is assigned to this context.
    `IResource` | IElementList.`getResource()` Returns the resource that was selected when the element list was created.
    `IResource` | IExecutionContext.`getResource(java.lang.String pName)` Returns the `IResource` with the given name, which has been added to the context by a resource operation (tool defined resource processing).
    `IResource` | IElementListDirectory.`getResource(java.lang.String pElementListID)` Get the resource to which the element list with given id is associated.

    Methods in com.microfocus.awm.model that return types with arguments of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.List<IResource>` | AbstractTaurusApplication.`copySortedSet(java.util.SortedMap<java.lang.String,IResource> pSortedContSet)` Deprecated. Do not use. May be removed.
    `java.util.List<? super IResource>` | IResource.`getChildrenResources()` Deprecated. This method is deprecated since the List interface provided a bad performance. Use get `getResourceChildren()` instead. `getChildrenResources()` returns a copy of the `Collection` returned by `getResourceChildren()`.
    `java.util.List<IResource>` | IExecutionContext.`getContextResources()` Returns a list of context resources.
    `java.util.List<IResource>` | IExecutionContext.`getMemoryResources()` Deprecated. Use `IExecutionContext.getMassProcessingContexts()` instead
    `java.util.Collection<? super IResource>` | IResource.`getResourceChildren()` Returns an unmodifiable `Collection` of child resources.

    Methods in com.microfocus.awm.model with parameters of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `void` | IResource.`addChildResource(IResource pRes)` Deprecated. use `addResourceChild(IResource)` instead. `addChildResource(IResource)` calls `addResourceChild(IResource)` without a return value.
    `void` | IExecutionContext.`addResource(IResource pRes, java.lang.String pName)` Adds an `IResource` with the given name.
    `void` | IElementListDirectory.`addResourceActionList(ActionDescriptor pAction, IResource pResource, java.lang.String pElementListID)` Deprecated.
    `boolean` | IResource.`addResourceChild(IResource pRes)` Adds a resource to the list of children resources.
    `void` | IExecutionContext.`addResourceToMemory(IResource pResource)` Deprecated. use `IExecutionContext.getMassProcessingContexts()` instead to add sub contexts.
    `IAction` | IVisibleActionExecutor.`executeAction(ISystemImage pImg, IResource pRes, ActionDescriptor pTauAction)` Executes an action.
    `java.util.List<IElementList>` | IElementListDirectory.`getElementLists(IResource pResource)` Gets element lists which were created with the given resource.
    `IExecutionContext` | IExecutionContext.`initContext(IResource pRes)` Initializes the IExecutionContext from the given resource.
    `void` | IExecutionContext.`populateContext(IResource pRes)` Deprecated. use `IExecutionContext.getActionContextMap()` and `getAllPropertyValues()` to add the properties directly to the context or `IExecutionContext.initContext(IResource)` to add a the whole resource context (including parent properties) to this execution context.
    `void` | IElementListDirectory.`removeLists(IResource pResource)` Remove all element lists belonging to the given TAURUS resource.
    `boolean` | IResource.`removeResourceChild(IResource pRes)` Removes a resource of the list of children resources.
    `IElementList` | IElementListDirectory.`restoreList(ActionDescriptor pAct, IResource pRes)` Tries to restore a Element List for the given parameters.
    `void` | ITaurusJob.`setResource(IResource pRes)` Sets the resource where the job was executed from.
    `void` | IExecutionContext.`setResource(IResource pResource)` Sets the resource of this context.
    `void` | IElementList.`setResource(IResource pResource)` Gets the resource that was used to create the element list.

    Method parameters in com.microfocus.awm.model with type arguments of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.List<IResource>` | AbstractTaurusApplication.`copySortedSet(java.util.SortedMap<java.lang.String,IResource> pSortedContSet)` Deprecated. Do not use. May be removed.
    `IExecutionContext` | IExecutionContext.`initContext(java.util.List<IResource> pResources)` Initializes the IExecutionContext from the list of resources.
    `void` | IExecutionContext.`setContextResources(java.util.List<IResource> pContextResources)` Sets the context resources for mass processing.

  - ### Uses of IResource in com.microfocus.awm.model.internal

    Classes in com.microfocus.awm.model.internal that implement IResource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActiveTaurusApplication` Implementation of the Taurus Application singleton
    `class` | `Element` Main implementation of `IElement`.
    `class` | `ElementList` Base implementation for a list of resources.
    `class` | `ElementListEntry` Main implementation of `IElementListEntry`.
    `class` | `FileResource` Basic implementation of `IFileResource`.
    `class` | `Filter` Main implementation of `IFilter`.
    `class` | `MasterConfigurationApplication` AWM application which was defined by a master configuration.
    `class` | `Resource` Should be handled as abstract class.

    Methods in com.microfocus.awm.model.internal that return IResource
    Modifier and Type | Method and Description
    --- | ---
    `IResource` | Resource.`getParentResource()`
    `IResource` | ElementList.`getParentResource()`
    `IResource` | TaurusJob.`getResource()`
    `IResource` | ExecutionContext.`getResource()`
    `IResource` | ElementList.`getResource()`
    `IResource` | ExecutionContext.`getResource(java.lang.String pName)`
    `IResource` | ElementListDirectory.`getResource(java.lang.String pElementListID)` return the TAURUS resource to which the corresponding element list is associated

    Methods in com.microfocus.awm.model.internal that return types with arguments of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<IResource>` | Resource.`getChildrenResources()`
    `java.util.List<IResource>` | ExecutionContext.`getContextResources()`
    `java.util.List<IResource>` | ExecutionContext.`getMemoryResources()`
    `java.util.Collection<? super IResource>` | Resource.`getResourceChildren()`

    Methods in com.microfocus.awm.model.internal with parameters of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `static void` | TaurusDirectory.`addChild(IResource pResource, org.xml.sax.Attributes pAttr)` Adds a child resource to the given `IResource`.
    `void` | Resource.`addChildResource(IResource pRes)`
    `void` | ExecutionContext.`addResource(IResource pRes, java.lang.String pName)`
    `void` | ElementListDirectory.`addResourceActionList(ActionDescriptor pActionDescriptor, IResource pIResource, java.lang.String pElementListID)` Deprecated.
    `boolean` | Resource.`addResourceChild(IResource pRes)`
    `boolean` | ElementList.`addResourceChild(IResource pRes)`
    `void` | ExecutionContext.`addResourceToMemory(IResource pResource)`
    `static IEnabledConditionEvaluationResult` | EnabledConditionChecker.`checkCondition(REnabledConditionBase pEnabledCond, IResource[] pResources, ISystemImage pImg)` Calls `EnabledConditionChecker.checkCondition(REnabledConditionBase, int, IExecutionContext)` for every given resource.
    `java.util.List<IElementList>` | ElementListDirectory.`getElementLists(IResource pResource)`
    `static IPropertyValue` | Resource.`getValueOfLinkedProperty(IResource pRes, LinkedProperty pProp)` Gets the value of a linked property, where `getPropertyValue(Property)` would return `null`.
    `IExecutionContext` | ExecutionContext.`initContext(IResource pRes)`
    `void` | ExecutionContext.`populateContext(IResource pRes)` Deprecated.
    `void` | ElementListDirectory.`removeLists(IResource pResource)`
    `boolean` | Resource.`removeResourceChild(IResource pRes)`
    `boolean` | ElementList.`removeResourceChild(IResource pRes)`
    `IElementList` | ElementListDirectory.`restoreList(ActionDescriptor pAct, IResource pRes)`
    `void` | TaurusDirectory.`saveChildren(org.w3c.dom.Document pDoc, org.w3c.dom.Element pXMLElement, IResource pResource)` Creates an XML child element for every child resource of the given resource.
    `void` | TaurusJob.`setResource(IResource pResource)`
    `void` | ExecutionContext.`setResource(IResource pResource)`
    `void` | ElementList.`setResource(IResource pResource)`

    Method parameters in com.microfocus.awm.model.internal with type arguments of type IResource
    Modifier and Type | Method and Description
    --- | ---
    `IExecutionContext` | ExecutionContext.`initContext(java.util.List<IResource> pResources)`
    `void` | ExecutionContext.`setContextResources(java.util.List<IResource> pContextResources)`

    Constructors in com.microfocus.awm.model.internal with parameters of type IResource
    Constructor and Description
    `ElementList(ElementListStructure pElementListStructure, ActionDescriptor pAction, IResource pParent)` Creates a new list with a default generated ID.
    `ElementList(ElementListStructure pElemetListStructure, ActionDescriptor pAction, java.lang.String pElementListID, IResource pParent)` creates a new list.
    `ElementListKey(ActionDescriptor pActionID, IResource pResource)` Basic constructor.
    `Resource(java.lang.String pID, IResource pParent)` Do not use this constructor for new instances (only in sub class constructors).

Copyright © 2015 Micro Focus GmbH. All rights reserved.