public interface IRuleflowModelAPI extends IModelAPI
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetRulesheetURI(org.eclipse.emf.common.util.URI aRulesheetURI)
Returns true, if the resource file represented by given URI is
of type Rulesheet (.ers) and refers to the same vocabulary that
is referred by the Ruleflow file.
|
boolean |
containsServiceCallout()
Determines whether the Ruleflow contains any Rule Activities that are used for Service Callout
|
org.jdom.Document |
createDefaultXmlReport(boolean abAddReportHeader)
Creates an XML Document that can be used for reporting purposes.
|
com.corticon.rulesemf.assetmodel.RuleflowAsset |
createRuleflow(org.eclipse.emf.common.util.URI aURIRuleflow)
Create a new Ruleflow resource with the specified URI.
|
void |
deleteRuleflow()
Delete the Ruleflow and remove its respective Resource.
|
com.corticon.rulesemf.canonicalrulemodel.ruleflow.Ruleflow |
findRuleflow()
Finder for Ruleflow.
|
com.corticon.rulesemf.assetmodel.RuleflowAsset |
findRuleflowAsset()
Finder for RuleflowAsset.
|
java.util.Date |
getEffectiveDateStart()
Get effective date start.
|
java.util.Date |
getEffectiveDateStop()
Get effective date stop.
|
java.util.Date |
getExpirationDate()
Get expiration date.
|
int |
getMajorVersion()
Get Ruleflow major version.
|
int |
getMinorVersion()
Get Ruleflow minor version.
|
java.lang.String |
getNewRuleflowName(org.eclipse.emf.common.util.URI aURIContainer)
Given the relative path of a container in the file system (project or folder), return
a new unique Ruleflow name using sequence numbers if needed to ensure uniqueness.
|
IOperationsModelAPI |
getOperationsModelAPI()
Return an instance of the Operations model API with its state set identically to *this* API.
|
java.lang.String |
getRuleflowDescription()
Get ruleflow description.
|
IRulesheetModelAPI |
getRulesheetModelAPI(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset aPRuleset)
Return an instance of Rulesheet model API for a given rulesheet.
|
IRulesheetTableModelAPI |
getRulesheetTableModelAPI(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset aPRuleset)
Return an instance of Rulesheet table model API for a given rulesheet.
|
org.eclipse.emf.common.util.URI |
getRulesheetURI(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset aPRuleset)
Return the URI associated with the specified PRuleset.
|
int |
getTotalNumberOfRules()
Returns the total number of Rules for the Ruleflow.
|
java.lang.String |
getVersionLabel()
Get version label.
|
IDomain |
getVocabulary()
Get vocabulary root IDomain facade.
|
IVocabularyModelAPI |
getVocabularyModelAPI()
Return an instance of the Vocabulary model API with its state set
identically to *this* API.
|
org.eclipse.emf.common.util.URI |
getVocabularyURI()
Return the URI of the Vocabulary, even if that Vocabulary is missing.
|
java.lang.String |
getWorkDocumentEntityName()
Returns localized fully-qualified name of Work Document Entity.
|
boolean |
incrementMajorVersion()
Increment the Major version.
|
boolean |
incrementMinorVersion()
Increment the Minor version.
|
boolean |
isDeployable()
Return an indication of whether this asset is deployable (i.e., whether the asset has any un-demoted errors).
|
boolean |
isVocabularyAvailable()
Determine whether the Vocabulary for this Ruleflow is available.
|
void |
presave()
Perform any necessary functions prior to saving.
|
boolean |
renameRuleflow(org.eclipse.emf.common.util.URI aURIRuleflowNew)
Rename the Ruleflow.
|
boolean |
setEffectiveDateStart(java.util.Date aDateEffectiveStart)
Set effective date start.
|
boolean |
setEffectiveDateStop(java.util.Date aDateEffectiveStop)
Set effective date stop.
|
boolean |
setExpirationDate(java.util.Date aDateExpiration)
Sets the Expiration Date.
|
boolean |
setMajorVersion(int aiVersion)
Set Ruleflow major version.
|
boolean |
setMinorVersion(int aiVersion)
Set Ruleflow minor version.
|
boolean |
setRuleflowDescription(java.lang.String astrDescription)
Sets the Description for Ruleflow.
|
boolean |
setVersionLabel(java.lang.String astrVersionLabel)
Sets the Version label
|
boolean |
setVocabulary(IDomain aDomain)
Set the Ruleflow Vocabulary, technically a reference to the ecore root EPackage.
|
boolean |
setWorkDocumentEntity(java.lang.String astrEntityName)
Sets the Work Document Entity.
|
activate, addAnnotation, addBatchedModelListener, addLowLevelModelListener, addModelListener, addResourceListener, addView, beginTransaction, cancelTransaction, canSetSupportedLocales, closeResource, createResource, deleteAnnotation, deleteAnnotation, deleteAnnotation, deleteResource, displayMessageBox, dispose, doPostLoadValidation, doSmartValidation, endTransaction, endTransaction, flushCommandStack, formatValidationMessageLocation, formatValidationMessageText, getAllLocalesProvidingCompleteLocalization, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAPIContextObject, getAsset, getBaseAttribute, getBaseAttributeString, getBatchedModelListeners, getBuildNumber, getBuildNumberOfLastValidationRulesChange, getEditingDomain, getErrors, getErrors, getIndexByLocale, getLocale, getLocalizedAttribute, getLocalizedAttributeString, getLowLevelModelListeners, getMajorServiceNumber, getMajorVersionNumber, getMessage, getMessage, getMessageBase, getMessageBoxDelegate, getMinorServiceNumber, getMinorVersionNumber, getModelAPIState, getModelListeners, getNewResourceName, getPersistenceServicesDelegate, getPreferences, getPrimaryResource, getPrimaryResourceURI, getScrollableMessageDelegate, getSupportedLocales, getSuppressBrokenLinkValidation, getSuppressValidation, getToolTip, getUpdateStamp, getUserInterfaceInfoDelegate, getValidationMessageCount, getValidationMessageCount, getValidationMessageCount, getValidationMessageCount, getValidationMessages, getValidationMessages, getWarnings, getWarnings, handleException, hasErrors, hasErrors, hasErrors, hasErrors, hasErrors, hasErrors, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasErrorsOrWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, hasWarnings, isAPIStateEstablished, isEnabledRedo, isEnabledUndo, isInhibitNotification, isLoaded, isOperationModeNormal, isOperationModeRedo, isOperationModeUndo, isPassive, isPostLoadInProgress, isPrimaryResourceSet, isReadOnly, isResourceActivated, isResourceConflict, isResourceDemandLoaded, isResourceLoaded, isScrollableMessageDelegateAvailable, isShowCanonicalValidationMessages, isSuppressModifiedFlagUpdates, isSuppressPostLoad, isTransactionInProgress, isValid, isValid, loadResource, loadResource, loadResource, newInstance, noOperation, postLoad, postMethod, postMethod, postsave, preMethod, redo, reloadResource, remapResource, remapResource, removeBatchedModelListener, removeLowLevelModelListener, removeModelListener, removeResource, removeResourceListener, removeView, renameResource, rollbackTransaction, saveAll, saveResource, setAnnotation, setAPIContextObject, setAPIState, setBuildNumber, setEditingDomain, setInhibitNotification, setLocale, setMajorServiceNumber, setMajorVersionNumber, setMessageBoxDelegate, setMinorServiceNumber, setMinorVersionNumber, setModelAPIState, setModelListeners, setPassive, setPersistenceServicesDelegate, setPostLoadInProgress, setPreferencesDelegate, setPrimaryResource, setReadOnly, setScrollableMessageDelegate, setSupportedLocales, setSuppressBrokenLinkValidation, setSuppressModifiedFlagUpdates, setSuppressPostLoad, setSuppressValidation, setUserInterfaceInfoDelegate, undo, unloadResource, validate, validateLicenseboolean canSetRulesheetURI(org.eclipse.emf.common.util.URI aRulesheetURI)
aRulesheetURI - com.corticon.rulesemf.assetmodel.RuleflowAsset createRuleflow(org.eclipse.emf.common.util.URI aURIRuleflow)
aURIRuleflow - New Ruleflow URI.void deleteRuleflow()
com.corticon.rulesemf.canonicalrulemodel.ruleflow.Ruleflow findRuleflow()
com.corticon.rulesemf.assetmodel.RuleflowAsset findRuleflowAsset()
java.util.Date getEffectiveDateStart()
java.util.Date getEffectiveDateStop()
java.util.Date getExpirationDate()
int getMajorVersion()
int getMinorVersion()
java.lang.String getNewRuleflowName(org.eclipse.emf.common.util.URI aURIContainer)
aURIContainer - URI of container.IOperationsModelAPI getOperationsModelAPI()
java.lang.String getRuleflowDescription()
IRulesheetModelAPI getRulesheetModelAPI(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset aPRuleset)
aPRuleset - Ruleset whose API should be returned.IRulesheetTableModelAPI getRulesheetTableModelAPI(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset aPRuleset)
aPRuleset - Ruleset whose API should be returned.org.eclipse.emf.common.util.URI getRulesheetURI(com.corticon.rulesemf.canonicalrulemodel.rulesheet.PRuleset aPRuleset)
aPRuleset - PRuleset instance whose URI is to be returned.int getTotalNumberOfRules()
java.lang.String getVersionLabel()
IDomain getVocabulary()
IVocabularyModelAPI getVocabularyModelAPI()
org.eclipse.emf.common.util.URI getVocabularyURI()
java.lang.String getWorkDocumentEntityName()
boolean incrementMajorVersion()
true if the command was successful.boolean incrementMinorVersion()
true if the command was successful.boolean isVocabularyAvailable()
true if Vocabulary is available.void presave()
boolean renameRuleflow(org.eclipse.emf.common.util.URI aURIRuleflowNew)
aURIRuleflowNew - New Ruleflow URI.true if the command was successful.boolean setEffectiveDateStart(java.util.Date aDateEffectiveStart)
aDateEffectiveStart - Effective start date.true if the set command was successful.boolean setEffectiveDateStop(java.util.Date aDateEffectiveStop)
aDateEffectiveStop - Effective stop date.true if the set command was successful.boolean setExpirationDate(java.util.Date aDateExpiration)
aDateExpiration - Expiration date.true if the set command was successful.boolean setMajorVersion(int aiVersion)
aiVersion - Major version.true if the set command was successful.boolean setMinorVersion(int aiVersion)
aiVersion - Ruleflow minor version.true if the set command was successful.boolean setRuleflowDescription(java.lang.String astrDescription)
astrDescription - Ruleflow description.true if the set command was successful.boolean setVersionLabel(java.lang.String astrVersionLabel)
astrVersionLabel - Version label.true if the set command was successful.boolean setVocabulary(IDomain aDomain)
aEPackage - EPackage root of chosen ecore document.true if the set command was successful.boolean setWorkDocumentEntity(java.lang.String astrEntityName)
astrEntityName - Localized, fully-qualified entity name.true if set successfully.boolean isDeployable()
true if the asset is deployable.boolean containsServiceCallout()
true if the Ruleflow contains at least 1 Service Callout Activityorg.jdom.Document createDefaultXmlReport(boolean abAddReportHeader)
abAddReportHeader - Determines if the report header will be added to the result documentCopyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.