com.orchestranetworks.service
Interface ProcedureContext


public interface ProcedureContext

This container class mainly provides operations for modifying the content or state of adaptations.

See Also:
Procedure

Method Summary
 Adaptation doCopy(Adaptation anAdaptation)
          Copies the specified adaptation instance.
 Adaptation doCreateChild(AdaptationName aParentName, AdaptationReference requestedNameOrNull)
          Creates a new schema instance that is the child of the parent specified by aParentName.
 Adaptation doCreateDeriving(PrimaryKey parentKey, com.onwbp.adaptation.uifacade.HrNode aNode, AdaptationTable aTable)
          Deprecated. Deriving mode is no longer supported. This method throws UnsupportedOperationException.
 Adaptation doCreateDeriving(ValueContext parentKey, ValueContext aContent, AdaptationTable aTable)
          Deprecated. Deriving mode is no longer supported. This method throws UnsupportedOperationException.
 Adaptation doCreateOcculting(ValueContext aKey, AdaptationTable aTable)
          Creates an occulting occurrence in the specified table.
 Adaptation doCreateOccurrence(ValueContext aContent, AdaptationTable aTable)
          Creates a record in the specified table.
 Adaptation doCreateOverwriting(ValueContext aContent, AdaptationTable aTable)
          Creates a record in the specified table.
 Adaptation doCreateRoot(SchemaLocation aSchemaLocation, AdaptationReference requestedNameOrNull, com.onwbp.core.org.OrganizationName owner)
          Deprecated. Replaced by doCreateRoot(SchemaLocation, AdaptationReference, Profile).
 Adaptation doCreateRoot(SchemaLocation aSchemaLocation, AdaptationReference requestedNameOrNull, Profile owner)
          Creates a new root adaptation instance.
 Adaptation doCreateRoot(ValueContext aContent, AdaptationTable aTable)
          Creates a record in the specified table.
 Adaptation doCreateRootChild(com.onwbp.adaptation.uifacade.HrNode rootNode, AdaptationTable aContainer)
          Deprecated. Replaced by doCreateRoot(ValueContext, AdaptationTable).
 void doDelete(AdaptationName aName, boolean isDeletingChildren)
          Deletes the specified adaptation.
 Adaptation doEditionDiscard(AdaptationName aName)
          Deprecated. Since version 4.0, the notion of local edition is replaced by the more general concept of branch. This method does nothing, it just returns the specified adaptation.
 Adaptation doEditionRelease(AdaptationName aName)
          Deprecated. Since version 4.0, the notion of local edition is replaced by the more general concept of branch. This method does nothing, it just returns the specified adaptation.
 void doExport(ExportSpec aSpec)
          Exports the content of an adaptation to a XML or CSV document, as specified by the ExportSpec argument.
 void doExportArchive(Archive anArchive)
          Exports the current home to the specified archive.
 void doExportArchive(ArchiveExportSpec exportSpec)
          Exports the specified archive.
 void doImport(ImportSpec aSpec)
          Imports an XML or CSV content into an adaptation, as specified by the ImportSpec argument.
 void doImportArchive(Archive anArchive)
          Imports the specified archive into the current home.
 void doImportArchive(ArchiveImportSpec importSpec)
          Imports the specified archive into the current home.
 void doMergeToParent(AdaptationHome aSource)
          Merges the specified source branch to the current branch.
 void doMergeToParent(MergeSpecForHome aMergeSpec)
          Merges the source branch to the current branch with the specified selection to be merged.
 Adaptation doModifyContent(Adaptation aTarget, com.onwbp.adaptation.uifacade.HrNode aRootNode)
          Deprecated. Replaced by doModifyContent(Adaptation, ValueContext).
 Adaptation doModifyContent(Adaptation aTarget, ValueContext aContent)
          Modifies the adaptation content as specified.
 Adaptation doOccult(Adaptation anOccurrence)
          Occults the specified adaptation occurrence.
 void doOptimizeByRefactoring(AdaptationName aName, boolean includeDescendantsWithoutDelegated, boolean includeAllDescendants)
          Deprecated. Replaced by AdaptationTreeOptimizerSpec_MutualizeCommons.
 void doOptimizeByRemovingDuplicates(AdaptationName aName, boolean includeDescendantsWithoutDelegated, boolean includeAllDescendants)
          Deprecated. Replaced by AdaptationTreeOptimizerSpec_RemoveDuplicates.
 AdaptationHome getAdaptationHome()
          Returns the current home.
 int getCommitThreshold()
           
 ValueContextForUpdate getContext(AdaptationName aName)
          Provides an interface for reading and/or updating a persisted content.
 ValueContextForUpdate getContext(boolean isTriggerActivation, ValueContextForUpdate contextToCopy, AdaptationTable aTable)
          Provides an interface for setting values on a context that conforms to any occurrence of the specified table.
 ValueContextForUpdate getContextForNewOccurrence(Adaptation occurrenceToCopy, AdaptationTable aTable)
          Provides an interface for copying a context from an existing occurrence.
 ValueContextForUpdate getContextForNewOccurrence(AdaptationTable aTable)
          Provides an interface for setting values on a context that conforms to any occurrence of the specified table.
 String getExecutionInformation()
           
 Date getExecutionTimestamp()
          Returns the timestamp of the current procedure execution.
 String getExecutionUUIDString()
          Returns a universally unique identifier (UUID) for the current procedure execution.
 com.onwbp.adaptation.uifacade.HrNode getNodeForCreatingOccurrence(AdaptationTable aTable)
          Deprecated. Replaced by getContextForNewOccurrence(AdaptationTable).
 com.onwbp.adaptation.uifacade.HrNode getNodeForUpdatingContent(AdaptationName aName)
          Deprecated. Replaced by getContext(AdaptationName).
 Session getSession()
          Returns the current session context.
 boolean hasEdition(Adaptation target)
          Deprecated. Since version 4.0, the notion of local edition is replaced by the more general concept of branch.
 boolean isAllPrivileges()
          Default value is false.
 boolean isHistoryActivation()
           
 boolean isPrivilegeToModifyReferenceBranch()
          Default value is true.
 boolean isTriggerActivation()
           
 void setAllPrivileges(boolean allPrivileges)
          If true, disables all the permission checks for future operations performed by the current run.
 void setCommitThreshold(int commitThreshold)
          Sets the maximum size of the transaction so that intermediate commits are done during the execution of the procedure.
 void setExecutionInformation(String aString)
          Specifies some additional information about the current execution.
 void setHistoryActivation(boolean isActivated)
          Enables or disables the detailed description of updates made by the current run.
 void setInstanceActivation(Adaptation anInstance, boolean activationState)
          Activates or deactivates the specified instance.
 void setInstanceDescription(Adaptation anInstance, UserMessage aDescription)
          Specifies a description to the specified instance.
 void setInstanceLabel(Adaptation anInstance, UserMessage aLabel)
          Specifies a label to the specified instance.
 void setInstanceOwner(Adaptation anInstance, Profile newOwner)
          Defines the owner of the specified instance.
 void setPrivilegeToModifyReferenceBranch(boolean enable)
          If true, disables the fact that Reference Branch is normally not modified directly.
 void setTriggerActivation(boolean isActivated)
          Enables or disables triggers.
 

Method Detail

doCreateRoot

public Adaptation doCreateRoot(SchemaLocation aSchemaLocation,
                               AdaptationReference requestedNameOrNull,
                               Profile owner)
                        throws OperationException
Creates a new root adaptation instance.

Parameters:
aSchemaLocation - Specifies the schema of the instance to create. It must refer to an existing and correct XML schema .
requestedNameOrNull - Specifies the public and persistent reference of the instance to create. If null, the reference is allocated randomly.
owner - Specifies the profile that will own the newly created instance (required).
Returns:
the newly created schema instance.
Throws:
IllegalArgumentException - if the identifier does not conform to AdaptationReference.MAX_LENGTH and AdaptationReference.REFERENCE_PATTERN.
OperationException
See Also:
doCreateChild(AdaptationName, AdaptationReference)

doCreateChild

public Adaptation doCreateChild(AdaptationName aParentName,
                                AdaptationReference requestedNameOrNull)
                         throws OperationException
Creates a new schema instance that is the child of the parent specified by aParentName.

Parameters:
aParentName - Specifies the parent of the instance to create. It must refer to an existing instance in the current home.
requestedNameOrNull - Specifies the public and persistent reference of the instance to create. If null, this reference is allocated randomly.
Returns:
the newly created adaptation
Throws:
IllegalArgumentException - if identifier does not conform to AdaptationReference.MAX_LENGTH and AdaptationReference.REFERENCE_PATTERN.
OperationException
See Also:
doCreateRoot(SchemaLocation, AdaptationReference, Profile)

setInstanceLabel

public void setInstanceLabel(Adaptation anInstance,
                             UserMessage aLabel)
                      throws OperationException
Specifies a label to the specified instance.

Throws:
OperationException
See Also:
setInstanceDescription(Adaptation, UserMessage)

setInstanceDescription

public void setInstanceDescription(Adaptation anInstance,
                                   UserMessage aDescription)
                            throws OperationException
Specifies a description to the specified instance.

Throws:
OperationException
See Also:
setInstanceLabel(Adaptation, UserMessage)

setInstanceOwner

public void setInstanceOwner(Adaptation anInstance,
                             Profile newOwner)
                      throws OperationException
Defines the owner of the specified instance.

Parameters:
anInstance - Instance must be a root instance.
newOwner - New owner can be either a user or a role.
Throws:
OperationException

setInstanceActivation

public void setInstanceActivation(Adaptation anInstance,
                                  boolean activationState)
                           throws OperationException
Activates or deactivates the specified instance.

Throws:
OperationException

doCreateOccurrence

public Adaptation doCreateOccurrence(ValueContext aContent,
                                     AdaptationTable aTable)
                              throws OperationException
Creates a record in the specified table.

Parameters:
aContent - Specifies the content of the occurrence to create. At least, it must define its primary key. An object of this type is obtained by calling a method getContext...(...), for example getContextForNewOccurrence(AdaptationTable).
aTable - Specifies in which table the occurrence is defined.
Returns:
the occurrence that has been created.
Throws:
OperationException

doCreateRoot

public Adaptation doCreateRoot(ValueContext aContent,
                               AdaptationTable aTable)
                        throws OperationException
Creates a record in the specified table.

This method is deprecated since it has the same contract and effect as doCreateOccurrence(ValueContext, AdaptationTable).

Throws:
OperationException

doCreateOverwriting

public Adaptation doCreateOverwriting(ValueContext aContent,
                                      AdaptationTable aTable)
                               throws OperationException
Creates a record in the specified table.

This method is deprecated since it has the same contract and effect as doCreateOccurrence(ValueContext, AdaptationTable).

Throws:
OperationException

doCreateOcculting

public Adaptation doCreateOcculting(ValueContext aKey,
                                    AdaptationTable aTable)
                             throws OperationException
Creates an occulting occurrence in the specified table.

Parameters:
aKey - Specifies the key of the parent occurrence to occult. An object of this type is obtained by calling the method getContext(AdaptationName) (the parent reference must be used as argument), or getContextForNewOccurrence(AdaptationTable).
aTable - Specifies in which table the occultation is made.
Returns:
the occurrence that defines the occultation.
Throws:
OperationException
See Also:
getContextForNewOccurrence(AdaptationTable)

doOccult

public Adaptation doOccult(Adaptation anOccurrence)
                    throws OperationException
Occults the specified adaptation occurrence.

Depending on the occurrence specified, this method performs the following operations:

  1. If the specified occurrence is in inherit mode, it creates a new occulting occurrence.
  2. If the specified occurrence is overwriting, it is replaced by an occurrence in occulting mode.
  3. If the specified occurrence is occulting, nothing is done.
  4. If the specified occurrence is root, an error is thrown.

Parameters:
anOccurrence - the adaptation occurrence that must be occulted.
Returns:
the occulted occurrence.
Throws:
OperationException

doCreateDeriving

public Adaptation doCreateDeriving(ValueContext parentKey,
                                   ValueContext aContent,
                                   AdaptationTable aTable)
                            throws OperationException
Deprecated. Deriving mode is no longer supported. This method throws UnsupportedOperationException.

Throws:
OperationException

doModifyContent

public Adaptation doModifyContent(Adaptation aTarget,
                                  ValueContext aContent)
                           throws OperationException
Modifies the adaptation content as specified. This method transparently applies modifications on schema instances and table occurrences as well. For table occurrences, two specific definition modes are handled as follows:
  1. If the specified adaptation is an inherited occurrence, a new overwriting occurrence is created.
  2. If the specified adaptation is actually an occurrence occultation, it is first transformed to an overwriting occurrence.

Parameters:
aTarget - Specifies the adaptation to modify.
aContent - Specifies the modifications to apply. An object of this type is typically obtained by calling the method getContext(AdaptationName) (with the adaptation to be modified passed as parameter).
Returns:
the adaptation that has been modified.
Throws:
OperationException
See Also:
getContext(AdaptationName)

doDelete

public void doDelete(AdaptationName aName,
                     boolean isDeletingChildren)
              throws OperationException
Deletes the specified adaptation.

If the adaptation to be deleted is an inherited record, this method will create an occulting record (see method doOccult(Adaptation)).

Parameters:
aName - reference to the adaptation that must be deleted.
isDeletingChildren - if set to true, any children will also be recursively deleted.
Throws:
OperationException

doCopy

public Adaptation doCopy(Adaptation anAdaptation)
                  throws OperationException
Copies the specified adaptation instance. The new adaptation will have the same parent and its reference will be allocated randomly.

Returns:
the copied adaptation.
Throws:
OperationException - if the specified adaptation is not an instance.

getAdaptationHome

public AdaptationHome getAdaptationHome()
Returns the current home.


doImport

public void doImport(ImportSpec aSpec)
              throws OperationException
Imports an XML or CSV content into an adaptation, as specified by the ImportSpec argument.

This operation is tolerant regarding the implicit schema of the XML source. That is, if some elements do not exist in target's schema, they are simply ignored.

The resulting adaptation may have validation errors, however for some integrity constraints violations, an exception is thrown (for example, if a primary key is not unique).

Parameters:
aSpec - definition of the import.
Throws:
OperationException - if an error occurs during the operation (for example an integrity constraint is violated in the source content).
See Also:
doExport(ExportSpec)

doExport

public void doExport(ExportSpec aSpec)
              throws OperationException
Exports the content of an adaptation to a XML or CSV document, as specified by the ExportSpec argument.

Parameters:
aSpec - definition of the export.
Throws:
OperationException - if an error occurs during the operation.
See Also:
doImport(ImportSpec)

doExportArchive

public void doExportArchive(Archive anArchive)
                     throws OperationException
Exports the current home to the specified archive.

Throws:
OperationException
See Also:
doExportArchive(ArchiveExportSpec)

doExportArchive

public void doExportArchive(ArchiveExportSpec exportSpec)
                     throws OperationException
Exports the specified archive.

Throws:
OperationException
See Also:
doImportArchive(ArchiveImportSpec)

doImportArchive

public void doImportArchive(Archive anArchive)
                     throws OperationException
Imports the specified archive into the current home.

Import principles

The behavior of this method depends on the content of the archive. It is the same as calling doImportArchive(ArchiveImportSpec) with ArchiveImportSpecMode.DEFAULT mode.

Throws:
OperationException
See Also:
doImportArchive(ArchiveImportSpec), ArchiveImportSpecMode.DEFAULT

doImportArchive

public void doImportArchive(ArchiveImportSpec importSpec)
                     throws OperationException
Imports the specified archive into the current home.

The import mode is specified by means of the method ArchiveImportSpec.setMode(ArchiveImportSpecMode).

Permission Warning

This method disables all permission checks (as it is done by setAllPrivileges(boolean)). Therefore, it is important before calling this method, to guarantee that the current session is actually able to execute the import.

For more information, see ServicePermission and Session.isUserInRole(Profile).

Throws:
OperationException
See Also:
doExportArchive(ArchiveExportSpec), ArchiveImportSpecMode

doMergeToParent

public void doMergeToParent(AdaptationHome aSource)
                     throws OperationException
Merges the specified source branch to the current branch.

This method is equivalent to doMergeToParent(MergeSpecForHome), with all instances being selected in the source branch associated to the MergeSpecForHome.

Throws:
OperationException
See Also:
doMergeToParent(MergeSpecForHome)

doMergeToParent

public void doMergeToParent(MergeSpecForHome aMergeSpec)
                     throws OperationException
Merges the source branch to the current branch with the specified selection to be merged.

For the selected content to be merged, every change between the initial version of the source and its current state is applied to the current branch. The change is applied even if it is in conflict with the changes done meanwhile on the current branch.

Throws:
IllegalArgumentException - when MergeSpecForHome is null or when MergeSpecForHome.getHomeToMerge() is:
  • the Reference branch,
  • a version,
  • null,
  • not a child of the current branch.
OperationException - when the merge cannot be successfully completed.
See Also:
doMergeToParent(AdaptationHome)

doOptimizeByRemovingDuplicates

public void doOptimizeByRemovingDuplicates(AdaptationName aName,
                                           boolean includeDescendantsWithoutDelegated,
                                           boolean includeAllDescendants)
                                    throws OperationException
Deprecated. Replaced by AdaptationTreeOptimizerSpec_RemoveDuplicates.

The implementation of this method does nothing.

Throws:
OperationException

doOptimizeByRefactoring

public void doOptimizeByRefactoring(AdaptationName aName,
                                    boolean includeDescendantsWithoutDelegated,
                                    boolean includeAllDescendants)
                             throws OperationException
Deprecated. Replaced by AdaptationTreeOptimizerSpec_MutualizeCommons.

The implementation of this method does nothing.

Throws:
OperationException

getCommitThreshold

public int getCommitThreshold()
See Also:
setCommitThreshold(int)

setCommitThreshold

public void setCommitThreshold(int commitThreshold)
Sets the maximum size of the transaction so that intermediate commits are done during the execution of the procedure.

If commitThreshold > 0, a commit will be done every time the amount of current changes is equal to commitThreshold. If commitThreshold = 0, only one commit is done (after the procedure execution returns).

If not specified, the commit threshold is 0.

Internally, table records are gathered by blocks and a change relates to one block. It means that if several records are updated (created, modified or deleted) in the same block, this will be counted as only one change. Since a block groups up to 100 records, the number of records actually updated in a single commit is consequently obtained by the following formula:

commitThreshold <= Nrecords <= 100 * commitThreshold

For example, for an initial import, if the commit threshold is set to 50, a commit will occur periodically for at most 5000 record creations.

Concerning relational database transaction size, the number of SQL queries will be:

Nqueries = commitThreshold * i, where i belongs to [2;5]

Here i depends on the average size of the serialized representation of a record.

Throws:
IllegalArgumentException - if commitThreshold < 0.

isHistoryActivation

public boolean isHistoryActivation()
See Also:
setHistoryActivation(boolean)

setHistoryActivation

public void setHistoryActivation(boolean isActivated)
Enables or disables the detailed description of updates made by the current run.

If not specified, the detailed description of updates is enabled.


isTriggerActivation

public boolean isTriggerActivation()
See Also:
setTriggerActivation(boolean)

setTriggerActivation

public void setTriggerActivation(boolean isActivated)
Enables or disables triggers.

If not specified, the triggers are enabled.

Disabling triggers means disabling all of the triggers methods defined by InstanceTrigger and by TableTrigger, except for TableTrigger.handleBeforeTransactionCommit(BeforeTransactionCommitContext) which is always executed.


getExecutionInformation

public String getExecutionInformation()
See Also:
setExecutionInformation(String)

setExecutionInformation

public void setExecutionInformation(String aString)
Specifies some additional information about the current execution.

If specified, the information is displayed in the history log. If not specified, only the procedure class name is displayed.

The execution information plays a similar role as session tracking info, but in a more local way (in the context of a single execution).

See Also:
Session.getTrackingInfo()

isAllPrivileges

public boolean isAllPrivileges()
Default value is false.

See Also:
setAllPrivileges(boolean)

setAllPrivileges

public void setAllPrivileges(boolean allPrivileges)
If true, disables all the permission checks for future operations performed by the current run. If false, sets the default mode that enables usual permission checks.

Warning

When a procedure disables all permission checks, it is important, before running it or during its execution, to guarantee that the session is actually able to execute the procedure.

Note

Setting all privileges to true does not set privilege to modify Reference Branch (method setPrivilegeToModifyReferenceBranch(boolean) must be called instead).

See Also:
ServicePermission, Session.isUserInRole(Profile)

isPrivilegeToModifyReferenceBranch

public boolean isPrivilegeToModifyReferenceBranch()
Default value is true.

See Also:
setPrivilegeToModifyReferenceBranch(boolean)

setPrivilegeToModifyReferenceBranch

public void setPrivilegeToModifyReferenceBranch(boolean enable)
If true, disables the fact that Reference Branch is normally not modified directly. If false, that forbids any direct modification onto Reference Branch content.

Default value is true.

See Also:
setAllPrivileges(boolean)

getContextForNewOccurrence

public ValueContextForUpdate getContextForNewOccurrence(AdaptationTable aTable)
Provides an interface for setting values on a context that conforms to any occurrence of the specified table. This context is useful for specifying a parent or a new root occurrence.

This method is equivalent to getContextForNewOccurrence(isTriggerActivation(), null, aTable).


getContextForNewOccurrence

public ValueContextForUpdate getContextForNewOccurrence(Adaptation occurrenceToCopy,
                                                        AdaptationTable aTable)
Provides an interface for copying a context from an existing occurrence. This context is useful for specifying a parent or a new root occurrence.

See Also:
doCreateRoot(ValueContext, AdaptationTable), doCreateOverwriting(ValueContext, AdaptationTable)

getContext

public ValueContextForUpdate getContext(boolean isTriggerActivation,
                                        ValueContextForUpdate contextToCopy,
                                        AdaptationTable aTable)
Provides an interface for setting values on a context that conforms to any occurrence of the specified table. This context is useful for specifying a parent or a new root occurrence.

Parameters:
isTriggerActivation - if false, the method TableTrigger.handleNewContext(NewTransientOccurrenceContext) is not invoked. See also isTriggerActivation().
contextToCopy - if not null, the content is copied to the context to be returned.
aTable - the new context conforms to the schema of this table.
See Also:
doCreateRoot(ValueContext, AdaptationTable), doCreateOverwriting(ValueContext, AdaptationTable)

getContext

public ValueContextForUpdate getContext(AdaptationName aName)
Provides an interface for reading and/or updating a persisted content.

See Also:
doModifyContent(Adaptation, ValueContext), doCreateOcculting(ValueContext, AdaptationTable)

getExecutionTimestamp

public Date getExecutionTimestamp()
Returns the timestamp of the current procedure execution.


getExecutionUUIDString

public String getExecutionUUIDString()
Returns a universally unique identifier (UUID) for the current procedure execution. This identifier is logged into history and may be used, for example, in exports so as to identify them.

The UUID format used is the hexadecimal representation of UUID Leach-Salz variant, version 1 (time-based).

For more information, see the Internet-Draft UUIDs and GUIDs or the standards body definition at ISO/IEC 11578:1996 .


getSession

public Session getSession()
Returns the current session context.


doCreateRoot

public Adaptation doCreateRoot(SchemaLocation aSchemaLocation,
                               AdaptationReference requestedNameOrNull,
                               com.onwbp.core.org.OrganizationName owner)
                        throws OperationException
Deprecated. Replaced by doCreateRoot(SchemaLocation, AdaptationReference, Profile).

Creates a new root adaptation instance.

Parameters:
aSchemaLocation - Specifies the schema of the instance to be created. It must refer to an existing and correct XML schema .
requestedNameOrNull - Specifies the public and persistent reference of the instance to be created. If null, the reference is allocated randomly.
owner - Specifies the name of the organization that will own the newly created instance. If null, the default provider organization is taken.
Returns:
the newly created instance.
Throws:
IllegalArgumentException - if identifier does not conform to AdaptationReference.MAX_LENGTH and AdaptationReference.REFERENCE_PATTERN.
OperationException
See Also:
doCreateChild(AdaptationName, AdaptationReference)

hasEdition

public boolean hasEdition(Adaptation target)
Deprecated. Since version 4.0, the notion of local edition is replaced by the more general concept of branch.

Always returns false.


doEditionRelease

public Adaptation doEditionRelease(AdaptationName aName)
                            throws OperationException
Deprecated. Since version 4.0, the notion of local edition is replaced by the more general concept of branch. This method does nothing, it just returns the specified adaptation.

Returns:
the adaptation specified, null if it does not exist in the current home.
Throws:
OperationException
See Also:
Repository

doEditionDiscard

public Adaptation doEditionDiscard(AdaptationName aName)
                            throws OperationException
Deprecated. Since version 4.0, the notion of local edition is replaced by the more general concept of branch. This method does nothing, it just returns the specified adaptation.

Returns:
the adaptation specified, null if it does not exist in the current home.
Throws:
OperationException
See Also:
Repository

doModifyContent

public Adaptation doModifyContent(Adaptation aTarget,
                                  com.onwbp.adaptation.uifacade.HrNode aRootNode)
                           throws OperationException
Deprecated. Replaced by doModifyContent(Adaptation, ValueContext).

Throws:
OperationException

getNodeForUpdatingContent

public com.onwbp.adaptation.uifacade.HrNode getNodeForUpdatingContent(AdaptationName aName)
Deprecated. Replaced by getContext(AdaptationName).


getNodeForCreatingOccurrence

public com.onwbp.adaptation.uifacade.HrNode getNodeForCreatingOccurrence(AdaptationTable aTable)
Deprecated. Replaced by getContextForNewOccurrence(AdaptationTable).


doCreateDeriving

public Adaptation doCreateDeriving(PrimaryKey parentKey,
                                   com.onwbp.adaptation.uifacade.HrNode aNode,
                                   AdaptationTable aTable)
                            throws OperationException
Deprecated. Deriving mode is no longer supported. This method throws UnsupportedOperationException.

Throws:
OperationException

doCreateRootChild

public Adaptation doCreateRootChild(com.onwbp.adaptation.uifacade.HrNode rootNode,
                                    AdaptationTable aContainer)
                             throws OperationException
Deprecated. Replaced by doCreateRoot(ValueContext, AdaptationTable).

Throws:
OperationException


(report a bug)
EBX.Platform 4.8.4 [0722]
Copyright Orchestra Networks 2000-2010. All rights reserved.