Package adalid.core
Class ReportOperation
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Operation
-
- adalid.core.ReportOperation
-
- All Implemented Interfaces:
Wrappable,Artifact,EntityReferenceContainer,java.lang.Comparable<Operation>
- Direct Known Subclasses:
RastroFuncion.EmitirInformeRastros,RastroFuncionPar.EmitirInformeRastrosConParametros
public abstract class ReportOperation 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 ReportOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChartColor(java.awt.Color... colors)El método addChartColor se utiliza para agregar colores a la lista de colores utilizada para generar informes gráficos.voidclearChartColorList()El método clearChartColorList se utiliza para remover todos los colores almacenados en la lista de colores utilizada para generar informes gráficos.booleanfinalise()dot the i's and cross the t'sjava.util.List<java.awt.Color>getChartColorList()intgetChartRowsLimit()ReportChartType[]getChartTypes()java.util.List<ReportChartType>getChartTypesList()intgetDetailRowsLimit()ReportFileType[]getFileTypes()java.util.List<ReportFileType>getFileTypesList()ReportgetOperationViewReport()java.lang.StringgetProperName()ReportQueryTypegetQueryType()java.lang.StringgetReportName()intgetRowsLimit()SortOptiongetSortOption()intgetSummaryRowsLimit()protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>>getValidTypeAnnotations()ViewgetView()java.lang.reflect.FieldgetViewField()java.lang.StringgetViewFieldName()java.lang.StringgetViewName()booleanisAnnotatedWithReportOperationClass()booleanisAsynchronous()-
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, getConfirmationIconClass, 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, isComplex, isConfirmationRequired, isConstructor, isInitialised, isInstanceOperation, isLocalizedConfirmationMessageDefined, isLocalizedSuccessMessageDefined, isOperationActivityDiagramGenEnabled, isSelfConstructor, isSettled, isSimple, mapsToString, nand, nand, naxnor, naxor, nor, nor, norOrNaxor, not, nullBoolean, nullEntity, nullNumber, nullString, nullTemporal, or, or, setConfirmationIconClass, setDefaultConfirmationMessage, setDefaultSuccessMessage, setLocalizedConfirmationMessage, setLocalizedSuccessMessage, setOperationKind, settleAttributes, settleExpressions, settleFilters, settleParameters, settler, signature, 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
-
isAnnotatedWithReportOperationClass
public boolean isAnnotatedWithReportOperationClass()
- Returns:
- true if annotated with ReportOperationClass; false otherwise
-
getProperName
public java.lang.String getProperName()
- Overrides:
getProperNamein classOperation- Returns:
- the proper name
-
getReportName
public java.lang.String getReportName()
- Returns:
- the report name
-
getViewName
public java.lang.String getViewName()
- Returns:
- the view name
-
getViewFieldName
public java.lang.String getViewFieldName()
- Returns:
- the view field name
-
getViewField
public java.lang.reflect.Field getViewField()
- Returns:
- the view field
-
getView
public View getView()
- Returns:
- the view
-
getQueryType
public ReportQueryType getQueryType()
- Returns:
- the query type
-
getFileTypes
public ReportFileType[] getFileTypes()
- Returns:
- the file types
-
getFileTypesList
public java.util.List<ReportFileType> getFileTypesList()
- Returns:
- the file types list
-
getRowsLimit
public int getRowsLimit()
- Returns:
- the rows limit
-
getDetailRowsLimit
public int getDetailRowsLimit()
- Returns:
- the detail rows limit
-
getSummaryRowsLimit
public int getSummaryRowsLimit()
- Returns:
- the summary rows limit
-
getChartRowsLimit
public int getChartRowsLimit()
- Returns:
- the chart rows limit
-
getSortOption
public SortOption getSortOption()
- Returns:
- the sort option
-
getChartTypes
public ReportChartType[] getChartTypes()
- Returns:
- the chart types
-
getChartTypesList
public java.util.List<ReportChartType> getChartTypesList()
- Returns:
- the chart types list
-
getChartColorList
public java.util.List<java.awt.Color> getChartColorList()
- Returns:
- the chart color list
-
clearChartColorList
public void clearChartColorList()
El método clearChartColorList se utiliza para remover todos los colores almacenados en la lista de colores utilizada para generar informes gráficos.
-
addChartColor
public void addChartColor(java.awt.Color... colors)
El método addChartColor se utiliza para agregar colores a la lista de colores utilizada para generar informes gráficos. Los colores se agregan al final de la lista. Para especificar todos los colores, primero se deben remover los colores almacenados inicialmente en la lista, ejecutando el método clearChartColorList.- Parameters:
colors- uno o más objetos de la clase java.awt.Color
-
getOperationViewReport
public Report getOperationViewReport()
- Returns:
- the entity list report
-
isAsynchronous
public boolean isAsynchronous()
- Overrides:
isAsynchronousin classOperation- Returns:
- the asynchronous execution indicator
-
getValidTypeAnnotations
protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getValidTypeAnnotations()
- Overrides:
getValidTypeAnnotationsin classOperation
-
-