Class ReportTypeUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.ReportTypeUtil
-
public class ReportTypeUtil extends Object
- Author:
- lazyman
-
-
Field Summary
Fields Modifier and Type Field Description static String
FILENAMEPARAMETER
static String
HEADER_USERAGENT
static String
PARAMETER_OPERATION_RESULT
static String
PARAMETER_REPORT_OBJECT
static String
PARAMETER_REPORT_OID
static String
PARAMETER_TASK
static String
PARAMETER_TEMPLATE_STYLES
static String
REPORT_LANGUAGE
static String
URLENCODING
-
Constructor Summary
Constructors Constructor Description ReportTypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
applyConfigurationDefinition(PrismObject<ReportType> report, ObjectDelta delta, PrismContext prismContext)
static void
applyDefinition(PrismObject<ReportType> report, PrismContext prismContext)
static PrismContainerDefinition<ReportConfigurationType>
findReportConfigurationDefinition(PrismSchema schema)
static net.sf.jasperreports.engine.design.JasperDesign
loadJasperDesign(byte[] template)
static PrismSchema
parseReportConfigurationSchema(PrismObject<ReportType> report, PrismContext context)
-
-
-
Field Detail
-
FILENAMEPARAMETER
public static final String FILENAMEPARAMETER
- See Also:
- Constant Field Values
-
HEADER_USERAGENT
public static final String HEADER_USERAGENT
- See Also:
- Constant Field Values
-
URLENCODING
public static final String URLENCODING
- See Also:
- Constant Field Values
-
REPORT_LANGUAGE
public static final String REPORT_LANGUAGE
- See Also:
- Constant Field Values
-
PARAMETER_TEMPLATE_STYLES
public static final String PARAMETER_TEMPLATE_STYLES
- See Also:
- Constant Field Values
-
PARAMETER_REPORT_OID
public static final String PARAMETER_REPORT_OID
- See Also:
- Constant Field Values
-
PARAMETER_REPORT_OBJECT
public static final String PARAMETER_REPORT_OBJECT
- See Also:
- Constant Field Values
-
PARAMETER_TASK
public static final String PARAMETER_TASK
- See Also:
- Constant Field Values
-
PARAMETER_OPERATION_RESULT
public static final String PARAMETER_OPERATION_RESULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadJasperDesign
public static net.sf.jasperreports.engine.design.JasperDesign loadJasperDesign(byte[] template) throws SchemaException
- Throws:
SchemaException
-
parseReportConfigurationSchema
public static PrismSchema parseReportConfigurationSchema(PrismObject<ReportType> report, PrismContext context) throws SchemaException
- Throws:
SchemaException
-
findReportConfigurationDefinition
public static PrismContainerDefinition<ReportConfigurationType> findReportConfigurationDefinition(PrismSchema schema)
-
applyDefinition
public static void applyDefinition(PrismObject<ReportType> report, PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
applyConfigurationDefinition
public static void applyConfigurationDefinition(PrismObject<ReportType> report, ObjectDelta delta, PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
-