Package adalid.core
Class ProcessOperation
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Operation
-
- adalid.core.ProcessOperation
-
- All Implemented Interfaces:
Wrappable,Artifact,EntityReferenceContainer,java.lang.Comparable<Operation>
- Direct Known Subclasses:
AmbientePrueba.DesignarActual,ArchivoAdjunto.EliminarArchivoServidorWeb,ArchivoAdjunto.EliminarTotalmente,ArchivoAdjunto.RestaurarArchivoServidorWeb,CasoPrueba.Cargar,ConjuntoSegmento.Copiar,DocumentoPrueba.Cargar,EjecucionLineaPrueba.Cargar,EjecucionLineaPrueba.RegistrarResultadoConRastro,EjecucionLineaPrueba.RegistrarResultadoSinRastro,EjecucionLineaPrueba.ReversarResultado,EjecucionPrueba.AsignarResponsable,EjecucionPrueba.Cargar,EscenarioPrueba.Cargar,FiltroFuncion.EnviarCopia,FiltroFuncion.Privatizar,FiltroFuncion.Publicar,GrupoProceso.Cancelar,LineaPrueba.Cargar,OpcionMenu.Desactivar,OpcionMenu.Reactivar,OpcionMenu.Reconstruir,PaginaEspecial.Desactivar,PaginaEspecial.Reactivar,ProcedureOperation,ProgramaPrueba.Cargar,RastroInforme.EnviarCopia,RastroInforme.MarcarComoLeido,RastroInforme.MarcarComoNoLeido,RastroProceso.MarcarComoLeido,RastroProceso.MarcarComoNoLeido,Rol.Copiar,Rol.Desactivar,Rol.ModificarConjunto,Rol.PersonalizarAcceso,Rol.PropagarFavoritos,Rol.PropagarFiltros,Rol.PropagarVistas,Rol.Reactivar,RolUsuario.Agregar,TareaUsuario.Abandonar,TareaUsuario.Asignar,TareaUsuario.Asumir,TareaUsuario.Cancelar,TareaUsuario.NotificarTareas,TareaUsuario.Relevar,Usuario.Agregar,Usuario.AlterarPassword,Usuario.AnularSuperAuditor,Usuario.AnularSuperUsuario,Usuario.AnularSupervisor,Usuario.AsignarPassword,Usuario.AsignarSupervisor,Usuario.CambiarConfiguracion,Usuario.CambiarPassword,Usuario.CambiarPreferencias,Usuario.CargarArchivo,Usuario.CargarRetrato,Usuario.Copiar,Usuario.Desactivar,Usuario.DesignarSuperAuditor,Usuario.DesignarSuperUsuario,Usuario.EliminarRoles,Usuario.Reactivar,Usuario.RecortarRetrato,Usuario.Sincronizar,Usuario.TomarRetrato,UsuarioSegmento.Agregar,UsuarioSegmento.Eliminar,UsuarioSegmento.Remover,VistaFuncion.EnviarCopia,VistaFuncion.Privatizar,VistaFuncion.Publicar
public abstract class ProcessOperation extends Operation
- Author:
- Jorge Campins
-
-
Field Summary
-
Fields inherited from class adalid.core.Operation
CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, CURRENT_USER, CURRENT_USER_CODE, CURRENT_USER_ID, EMAIL_REGEX, EMAIL_REGEX_ENGLISH_DESCRIPTION, EMAIL_REGEX_ENGLISH_ERROR_MESSAGE, EMAIL_REGEX_SPANISH_DESCRIPTION, EMAIL_REGEX_SPANISH_ERROR_MESSAGE, EMBED_CALENDAR, EMBED_MAPS, EMBED_YOUTUBE, EMPTY, EMPTY_STRING, EPOCH_DATE, EPOCH_TIME, EPOCH_TIMESTAMP, GOOGLE, GOOGLE_CALENDAR, GOOGLE_MAPS, GOOGLE_MAPS_EMBED_CONVERTER, LOCAL_PHONE_NUMBER_VALIDATOR, LOCAL_PHONE_REGEX, LOCAL_PHONE_REGEX_ENGLISH_DESCRIPTION, LOCAL_PHONE_REGEX_ENGLISH_ERROR_MESSAGE, LOCAL_PHONE_REGEX_SPANISH_DESCRIPTION, LOCAL_PHONE_REGEX_SPANISH_ERROR_MESSAGE, NO_IMAGE, NULL_BOOLEAN, NULL_ENTITY, NULL_NUMBER, NULL_STRING, NULL_TEMPORAL, PHONE_NUMBER_VALIDATOR, PHONE_REGEX, PHONE_REGEX_ENGLISH_DESCRIPTION, PHONE_REGEX_ENGLISH_ERROR_MESSAGE, PHONE_REGEX_SPANISH_DESCRIPTION, PHONE_REGEX_SPANISH_ERROR_MESSAGE, SPACE, TRUTH, UNTRUTH, URL_REGEX, URL_REGEX_ENGLISH_DESCRIPTION, URL_REGEX_ENGLISH_ERROR_MESSAGE, URL_REGEX_SPANISH_DESCRIPTION, URL_REGEX_SPANISH_ERROR_MESSAGE, YOUTUBE
-
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, FWGTS, FWLTS, HT, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Constructor Description ProcessOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitionaddTransition(State x, State y)El método addTransition se utiliza para agregar una transición a la lista de transiciones que lleva a cabo la operación.voidaddTransition(Transition transition)El método addTransition se utiliza para agregar una transición a la lista de transiciones que lleva a cabo la operación.voidaddTriggerOn(State... states)El método addTriggerOn se utiliza para agregar uno o más estados a la lista de estados en los cuales se debe disparar la operación.booleanfinalise()dot the i's and cross the t'sjava.util.Map<java.lang.String,Property>getConstructionOperationLinkedPropertiesMap()java.lang.Class<? extends Entity>getConstructionType()TemporalAddendgetDeadlineAddend()intgetJobPriority()TemporalAddendgetNewTaskNotification()TemporalAddendgetNextUnassignedTaskEscalation()TemporalAddendgetNextUnassignedTaskNotification()TemporalAddendgetNextUnfinishedTaskEscalation()TemporalAddendgetNextUnfinishedTaskNotification()KleeneangetOverloading()java.lang.StringgetProcessingGroup()java.lang.StringgetProcessName()java.lang.StringgetProperName()KleeneangetServiceable()TemporalAddendgetUnassignedTaskEscalation()TemporalAddendgetUnassignedTaskNotification()TemporalAddendgetUnfinishedTaskEscalation()TemporalAddendgetUnfinishedTaskNotification()protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>>getValidTypeAnnotations()booleanisAnnotatedWithConstructionOperationClass()booleanisAnnotatedWithProcessOperationClass()booleanisAutomaticAssumption()booleanisBplCodeGenEnabled()booleanisBuiltIn()booleanisConstructor()booleanisExtensionBplCodeGenEnabled()booleanisNotifyAbandonment()booleanisNotifyAssignment()booleanisNotifyAssumption()booleanisNotifyCancellation()booleanisNotifyCompletion()booleanisNotifyRelief()booleanisNotifySupervisor()booleanisSelfConstructor()booleanisSqlCodeGenEnabled()booleanisTreeStructureModifier()booleanisValidConstructionOperationLinkedPropertiesMap()voidsetBplCodeGenEnabled(boolean enabled)El método setBplCodeGenEnabled se utiliza para especificar si se debe, o no, generar código BPL (Business Process Logic) para la operación.voidsetServiceable(Kleenean serviceable)El método setServiceable se utiliza para especificar si se debe, o no, generar código BWS (Business Web Service) para la operación.voidsetSqlCodeGenEnabled(boolean enabled)El método setSqlCodeGenEnabled se utiliza para especificar si se debe, o no, generar código SQL para la operación.java.lang.Stringsignature()Triggertrigger(State state)-
Methods inherited from class adalid.core.Operation
addAllocationStrings, addAllocationStrings, and, and, charStringOf, checkName, coalesce, coalesce, coalesce, coalesce, coalesce, compareTo, concat, concat, concat, concat, containsAnchorLinkedParameters, currentDate, currentTime, currentTimestamp, currentUserCode, currentUserId, dateOf, empty, emptyString, fieldsToString, finish, getAllocationStrings, getCheckReferencedColumnsList, getChecksList, getCrudOperationKeys, getDatabaseTriggerCheckReferencedColumnsList, getDatabaseTriggerChecksList, getDefaultConfirmationMessage, getDefaultSuccessMessage, getDefaultWrapperClass, getDeleteOperationKey, getExpressionsList, getExpressionsMap, getFinalStatesList, getInitialStatesList, getInsertOperationKey, getInstanceParameter, getInstanceParameterChecksList, getLocalizedConfirmationMessage, getLocalizedSuccessMessage, getOperationAccess, getOperationKind, getOperationLogging, getOperationType, getParametersList, getParametersListByDisplaySortKey, getParametersMap, getSelectOperationKey, getShellEnabled, getTransitionsList, getTransitionsMap, getTriggersMap, getUpdateOperationKey, getUserInterfaceCheckReferencedColumnsList, getUserInterfaceChecksList, isAnnotatedWithOperationClass, isAnnotatedWithOperationDocGen, isAsynchronous, isComplex, isConfirmationRequired, isInitialised, isLocalizedConfirmationMessageDefined, isLocalizedSuccessMessageDefined, isOperationActivityDiagramGenEnabled, isSettled, isSimple, mapsToString, nand, nand, naxnor, naxor, nor, nor, norOrNaxor, not, nullBoolean, nullEntity, nullNumber, nullString, nullTemporal, or, or, setDefaultConfirmationMessage, setDefaultSuccessMessage, setLocalizedConfirmationMessage, setLocalizedSuccessMessage, settleAttributes, settleExpressions, settleFilters, settleParameters, settler, timeOf, timestampOf, truth, untruth, xImpliesY, xnor, xor
-
Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, b, b, bigDecimal, bigInteger, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getStringKeyValuePairAttribute, getStringKeyValuePairAttribute, getTrace, getValidFieldAnnotations, getValueString, getValueString, getWrapper, greaterThanZero, h1, h2, h3, h4, h5, h6, hashCodeHexString, i, i, ic, ic, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFinished, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isUnicodeSymbolClass, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, m, m, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, setTrace, specified, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames, xs
-
-
-
-
Method Detail
-
finalise
public boolean finalise()
Description copied from interface:Artifactdot the i's and cross the t's
-
isAnnotatedWithProcessOperationClass
public boolean isAnnotatedWithProcessOperationClass()
- Returns:
- true if annotated with ProcessOperationClass; false otherwise
-
getProperName
public java.lang.String getProperName()
- Overrides:
getProperNamein classOperation- Returns:
- the proper name
-
getProcessName
public java.lang.String getProcessName()
- Returns:
- the process name
-
getProcessingGroup
public java.lang.String getProcessingGroup()
- Returns:
- the processing group identifier
-
getNewTaskNotification
public TemporalAddend getNewTaskNotification()
- Returns:
- the new task notification addend
-
isNotifySupervisor
public boolean isNotifySupervisor()
- Returns:
- the notify supervisor indicator
-
isNotifyAssignment
public boolean isNotifyAssignment()
- Returns:
- the notify assignment indicator
-
isNotifyAssumption
public boolean isNotifyAssumption()
- Returns:
- the notify assumption indicator
-
isNotifyRelief
public boolean isNotifyRelief()
- Returns:
- the notify relief indicator
-
isNotifyAbandonment
public boolean isNotifyAbandonment()
- Returns:
- the notify abandonment indicator
-
isNotifyCancellation
public boolean isNotifyCancellation()
- Returns:
- the notify cancellation indicator
-
isNotifyCompletion
public boolean isNotifyCompletion()
- Returns:
- the notify completion indicator
-
getUnassignedTaskNotification
public TemporalAddend getUnassignedTaskNotification()
- Returns:
- the unassigned task notification addend
-
getUnfinishedTaskNotification
public TemporalAddend getUnfinishedTaskNotification()
- Returns:
- the unfinished task notification addend
-
getUnassignedTaskEscalation
public TemporalAddend getUnassignedTaskEscalation()
- Returns:
- the unassigned task escalation addend
-
getUnfinishedTaskEscalation
public TemporalAddend getUnfinishedTaskEscalation()
- Returns:
- the unfinished task escalation addend
-
getNextUnassignedTaskNotification
public TemporalAddend getNextUnassignedTaskNotification()
- Returns:
- the next unassigned task notification addend
-
getNextUnfinishedTaskNotification
public TemporalAddend getNextUnfinishedTaskNotification()
- Returns:
- the next unfinished task notification addend
-
getNextUnassignedTaskEscalation
public TemporalAddend getNextUnassignedTaskEscalation()
- Returns:
- the next unassigned task escalation addend
-
getNextUnfinishedTaskEscalation
public TemporalAddend getNextUnfinishedTaskEscalation()
- Returns:
- the next unfinished task escalation addend
-
getDeadlineAddend
public TemporalAddend getDeadlineAddend()
- Returns:
- the deadline addend
-
isAutomaticAssumption
public boolean isAutomaticAssumption()
- Returns:
- the automatic assumption indicator
-
isBuiltIn
public boolean isBuiltIn()
- Returns:
- the built-in indicator
-
isTreeStructureModifier
public boolean isTreeStructureModifier()
- Returns:
- the tree structure modifier indicator
-
getJobPriority
public int getJobPriority()
- Returns:
- the job priority
-
isExtensionBplCodeGenEnabled
public boolean isExtensionBplCodeGenEnabled()
- Returns:
- true if this operation business process logic code generation is enabled on the declaring entity or any of its extensions
-
isBplCodeGenEnabled
public boolean isBplCodeGenEnabled()
- Returns:
- the business process logic code generation enabled indicator
-
setBplCodeGenEnabled
public void setBplCodeGenEnabled(boolean enabled)
El método setBplCodeGenEnabled se utiliza para especificar si se debe, o no, generar código BPL (Business Process Logic) para la operación. El método setBplCodeGenEnabled debe ejecutarse en el método settleAttributes de la operación .- Parameters:
enabled- true o false para generar, o no, código BPL para la operación
-
isSqlCodeGenEnabled
public boolean isSqlCodeGenEnabled()
- Returns:
- the SQL code generation enabled indicator
-
setSqlCodeGenEnabled
public void setSqlCodeGenEnabled(boolean enabled)
El método setSqlCodeGenEnabled se utiliza para especificar si se debe, o no, generar código SQL para la operación. El método setSqlCodeGenEnabled debe ejecutarse en el método settleAttributes de la operación.- Parameters:
enabled- true o false para generar, o no, código SQL para la operación
-
getOverloading
public Kleenean getOverloading()
- Returns:
- the overloading indicator
-
getServiceable
public Kleenean getServiceable()
- Returns:
- the serviceable indicator
-
setServiceable
public void setServiceable(Kleenean serviceable)
El método setServiceable se utiliza para especificar si se debe, o no, generar código BWS (Business Web Service) para la operación. El método setServiceable debe ejecutarse en el método settleAttributes de la operación.- Parameters:
serviceable- TRUE o FALSE para generar, o no, código BWS para la operación.
-
isAnnotatedWithConstructionOperationClass
public boolean isAnnotatedWithConstructionOperationClass()
- Returns:
- true if annotated with ConstructionOperationClass; false otherwise
-
isConstructor
public boolean isConstructor()
- Overrides:
isConstructorin classOperation- Returns:
- the constructor operation indicator
-
isSelfConstructor
public boolean isSelfConstructor()
- Overrides:
isSelfConstructorin classOperation- Returns:
- the self-constructor operation indicator
-
getConstructionType
public java.lang.Class<? extends Entity> getConstructionType()
- Returns:
- the construction type
-
getConstructionOperationLinkedPropertiesMap
public java.util.Map<java.lang.String,Property> getConstructionOperationLinkedPropertiesMap()
-
isValidConstructionOperationLinkedPropertiesMap
public boolean isValidConstructionOperationLinkedPropertiesMap()
-
addTransition
public Transition addTransition(State x, State y)
El método addTransition se utiliza para agregar una transición a la lista de transiciones que lleva a cabo la operación.- Parameters:
x- estado inicialy- estado final- Returns:
- la transición agregada
-
addTransition
public void addTransition(Transition transition)
El método addTransition se utiliza para agregar una transición a la lista de transiciones que lleva a cabo la operación.- Parameters:
transition- la transición a agregar
-
addTriggerOn
public void addTriggerOn(State... states)
El método addTriggerOn se utiliza para agregar uno o más estados a la lista de estados en los cuales se debe disparar la operación.- Parameters:
states- uno o más estados de la entidad
-
getValidTypeAnnotations
protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getValidTypeAnnotations()
- Overrides:
getValidTypeAnnotationsin classOperation
-
-