Skip to content

eitsopensource/eits-java-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

MessageSourceHolder

This component can be used to call statically an instance of MessageSource

Example

This can be used on classes non managed by spring.

HTTPContextHolder

This component can be used to get statically the server address

  HTTPContextHolder.getServerURL()

This return a server full URL containing the scheme + the server host + port (if is not the 80) and the context name (when have). This can be used on classes non managed by spring.

DWR Converters (HibernateBeanConverter, LocalDateTimeConverter, OptionalConverter)

Custom Hibernate PostgreSQL Dialect

Supporting a custom HQL function called FILTER()

ReportManager

Report generator implemented by JasperReportManager

Supported methods:

	public ByteArrayOutputStream exportToPDF( Map<String, Object> parameters, String reportPath );
	public ByteArrayOutputStream exportToHTML( Map<String, Object> parameters, String reportPath );
	public ByteArrayOutputStream exportToXML( Map<String, Object> parameters, String reportPath );
	public ByteArrayOutputStream exportToXLS( Map<String, Object> parameters, String reportPath );

MimeType

Enum constants for 450 mimetypes.

Final Build

mvn deploy -DperformRelease=true -Dmaven.javadoc.skip=true