org.andromda.cartridges.bpm4struts.metafacades
Interface StrutsUseCase

All Superinterfaces:
org.andromda.metafacades.uml.ClassifierFacade, org.andromda.metafacades.uml.FrontEndUseCase, org.andromda.metafacades.uml.GeneralizableElementFacade, org.andromda.metafacades.uml.ModelElementFacade, org.andromda.metafacades.uml.NamespaceFacade, org.andromda.metafacades.uml.UseCaseFacade
All Known Implementing Classes:
StrutsUseCaseLogic, StrutsUseCaseLogicImpl

public interface StrutsUseCase
extends org.andromda.metafacades.uml.FrontEndUseCase

A Struts use-case represents a set of related client/server requests and communication.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 java.lang.String getActionPath()
           This use-case's action path.
 java.lang.String getActionPathRoot()
           The root of the action path.
 java.lang.String getActionRoles()
           Returns the action roles corresponding to this use-case's action, as found in the struts deployment descriptor.
 java.util.Map getAllMessages()
           A map with keys sorted alphabetically, normalized across all different use-cases and pages etc..
 java.util.List getAllPages()
           This method returns all pages in the application.
 javax.swing.tree.TreeNode getApplicationHierarchyRoot()
           The root node of the application usecase hierarchy.
 java.lang.String getCssFileName()
           The name of the file containing specific styles for this use-case only.
 java.util.List getFormFields()
           Returns the form fields used in this use-case, in fact these are all the parameters used in client/server communication for this use-case.
 java.lang.String getFormKey()
           The key under which to store the forms contained in this use-case.
 javax.swing.tree.TreeNode getHierarchyRoot()
           The root of the hierarchy of application usecases where this usecase is at the top.
 java.lang.String getOnlineHelpActionPath()
           The full path to this use-case's online help action.
 java.lang.String getOnlineHelpKey()
           The key to lookup the online help documentation.
 java.lang.String getOnlineHelpPagePath()
           The full path to this use-case's online help page.
 java.lang.String getOnlineHelpValue()
           The online help documentation.
 java.util.List getPages()
           This method returns all pages in the use-case.
 java.util.List getPageVariables()
           The variables for all pages in this use-case.
 java.lang.String getTitleKey()
           The title message key for this use-case.
 java.lang.String getTitleValue()
           The title message value for this use-case.
 boolean isApplicationUseCase()
           True if this use-case is where the application starts.
 boolean isApplicationValidationRequired()
           True if at least one client/server parameter found in the collection of existing use-cases requires validation.
 boolean isCyclic()
           
 boolean isStrutsUseCaseMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isValidationRequired()
           True if some client/server parameters require validation for this use-case.
 
Methods inherited from interface org.andromda.metafacades.uml.FrontEndUseCase
getActions, getActivityGraph, getAllRoles, getAllUseCases, getController, getInitialView, getReferencingFinalStates, getRoles, getViews, getViewVariables, isEntryUseCase, isFrontEndUseCaseMetaType, isSecured
 
Methods inherited from interface org.andromda.metafacades.uml.UseCaseFacade
getExtends, getExtensionPoints, getFirstActivityGraph, getIncludes, isUseCaseFacadeMetaType
 
Methods inherited from interface org.andromda.metafacades.uml.NamespaceFacade
getOwnedElements, isNamespaceFacadeMetaType
 
Methods inherited from interface org.andromda.metafacades.uml.ClassifierFacade
findAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isEmbeddedValue, isEnumeration, isFileType, isInterface, isLeaf, isListType, isMapType, isPrimitive, isSetType, isStringType, isTimeType
 
Methods inherited from interface org.andromda.metafacades.uml.GeneralizableElementFacade
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
 
Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 

Method Detail

isStrutsUseCaseMetaType

boolean isStrutsUseCaseMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getActionPath

java.lang.String getActionPath()

This use-case's action path.


getActionPathRoot

java.lang.String getActionPathRoot()

The root of the action path.


getActionRoles

java.lang.String getActionRoles()

Returns the action roles corresponding to this use-case's action, as found in the struts deployment descriptor. The action roles specifiy the roles in which the user must be in order to be authorized to call the action. One of the roles must be satisfied.


getAllMessages

java.util.Map getAllMessages()

A map with keys sorted alphabetically, normalized across all different use-cases and pages etc..


getAllPages

java.util.List getAllPages()

This method returns all pages in the application. A page is an action state with the FrontEndView stereotype.


getApplicationHierarchyRoot

javax.swing.tree.TreeNode getApplicationHierarchyRoot()

The root node of the application usecase hierarchy. Only makes sense when this usecase is an application usecase. Each usecase is only listed once in it's subtree, meaning when cycles ar edetected in the applicaion usecase graph the usecase will not be added when it already exists as an ancestor.


getCssFileName

java.lang.String getCssFileName()

The name of the file containing specific styles for this use-case only.


getFormFields

java.util.List getFormFields()

Returns the form fields used in this use-case, in fact these are all the parameters used in client/server communication for this use-case.


getFormKey

java.lang.String getFormKey()

The key under which to store the forms contained in this use-case.


getHierarchyRoot

javax.swing.tree.TreeNode getHierarchyRoot()

The root of the hierarchy of application usecases where this usecase is at the top. It is possible not all usecases are included in the descendants, they can be found in the collection of ancestor nodes.


getOnlineHelpActionPath

java.lang.String getOnlineHelpActionPath()

The full path to this use-case's online help action. The returned String does not have a suffix such as '.do'.


getOnlineHelpKey

java.lang.String getOnlineHelpKey()

The key to lookup the online help documentation. This documentation is gathered from the documentation entered by the user, as well as analyzing the model.


getOnlineHelpPagePath

java.lang.String getOnlineHelpPagePath()

The full path to this use-case's online help page. The returned String does not have a suffix such as '.jsp'.


getOnlineHelpValue

java.lang.String getOnlineHelpValue()

The online help documentation. This documentation is gathered from the documentation entered by the user, as well as analyzing the model. The format is HTML without any style.


getPageVariables

java.util.List getPageVariables()

The variables for all pages in this use-case. A parameter qualifies to be a variable when it explicitely and directly receives it via an action.


getPages

java.util.List getPages()

This method returns all pages in the use-case. A page is an action state with the FrontEndView stereotype.


getTitleKey

java.lang.String getTitleKey()

The title message key for this use-case.


getTitleValue

java.lang.String getTitleValue()

The title message value for this use-case.


isApplicationUseCase

boolean isApplicationUseCase()

True if this use-case is where the application starts.


isApplicationValidationRequired

boolean isApplicationValidationRequired()

True if at least one client/server parameter found in the collection of existing use-cases requires validation.


isCyclic

boolean isCyclic()

isValidationRequired

boolean isValidationRequired()

True if some client/server parameters require validation for this use-case.



Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.