Package adalid.core
Class ReportOperation
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Operation
-
- adalid.core.ReportOperation
-
- All Implemented Interfaces:
Wrappable,Artifact,EntityReferenceContainer,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, EMBED_CALENDAR, EMBED_MAPS, EMBED_YOUTUBE, EMPTY, GOOGLE, GOOGLE_CALENDAR, GOOGLE_MAPS, NO_IMAGE, TRUTH, UNTRUTH, URL_REGEX, YOUTUBE
-
Fields inherited from class adalid.core.AbstractArtifact
ENGLISH, NBSP, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Constructor Description ReportOperation()
-
Method Summary
-
Methods inherited from class adalid.core.Operation
addAllocationStrings, addAllocationStrings, and, and, charStringOf, checkName, coalesce, coalesce, coalesce, coalesce, coalesce, compareTo, concat, concat, concat, currentDate, currentTime, currentTimestamp, currentUserCode, currentUserId, dateOf, empty, fieldsToString, getAllocationStrings, getCheckReferencedColumnsList, getChecksList, getCrudOperationKeys, getDatabaseTriggerCheckReferencedColumnsList, getDatabaseTriggerChecksList, getDefaultConfirmationMessage, getDefaultWrapperClass, getDeleteOperationKey, getExpressionsList, getExpressionsMap, getFinalStatesList, getInitialStatesList, getInsertOperationKey, getInstanceParameter, getInstanceParameterChecksList, getLocalizedConfirmationMessage, getOperationAccess, getOperationKind, getOperationLogging, getOperationType, getParametersList, getParametersMap, getSelectOperationKey, getTransitionsList, getTransitionsMap, getTriggersMap, getUpdateOperationKey, getUserInterfaceCheckReferencedColumnsList, getUserInterfaceChecksList, isAnnotatedWithOperationClass, isAnnotatedWithOperationDocGen, isAsynchronous, isComplex, isConfirmationRequired, isConstructor, isFinished, isInitialised, isLocalizedConfirmationMessageDefined, isOperationActivityDiagramGenEnabled, isSelfConstructor, isSettled, isSimple, mapsToString, nand, nand, naxnor, naxor, nor, nor, norOrNaxor, not, or, or, setDefaultConfirmationMessage, setLocalizedConfirmationMessage, settleAttributes, settleExpressions, settleFilters, settleParameters, settler, signature, timeOf, timestampOf, truth, untruth, xImpliesY, xnor, xor
-
Methods inherited from class adalid.core.AbstractArtifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, 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, getTrace, getValidFieldAnnotations, getValueString, getValueString, getWrapper, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, put, repeat, round, 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, toString, toString, toString, toString, toString, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames
-
-
-
-
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 String getProperName()
- Overrides:
getProperNamein classOperation- Returns:
- the proper name
-
getReportName
public String getReportName()
- Returns:
- the report name
-
getViewName
public String getViewName()
- Returns:
- the view name
-
getViewFieldName
public String getViewFieldName()
- Returns:
- the view field name
-
getViewField
public 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 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 List<ReportChartType> getChartTypesList()
- Returns:
- the chart types 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(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
-
getValidTypeAnnotations
protected List<Class<? extends Annotation>> getValidTypeAnnotations()
- Overrides:
getValidTypeAnnotationsin classOperation
-
-