|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.core.Service
com.ail.insurance.quotation.generatedocument.GenerateDocumentService
public class GenerateDocumentService
Service to generate a quotation document. This service deligates to the three document
generation phase services: Merge, Style and Render. The actual services used in the
generation phases depends on the DocumentDefinition type defined in the product associated
with the policy for which a document is being generated. By convention, this type is named "QuotationDocument".
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
GenerateDocumentService()
Default constructor |
|
| Method Summary | |
|---|---|
CommandArg |
getArgs()
Getter returning the arguments used by this entry point. |
java.lang.String |
getConfigurationNamespace()
Return the product name from the arguments as the configuration namespace. |
Core |
getCore()
Getter to fetch the entry point's code. |
Version |
getVersion()
Fetch the version of this entry point. |
void |
invoke()
The 'business logic' of the entry point. |
void |
setArgs(CommandArg args)
Setter used to the set the entry points arguments. |
| Methods inherited from class com.ail.core.Service |
|---|
getConfiguration, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenerateDocumentService()
| Method Detail |
|---|
public Core getCore()
getCore in class Servicepublic Version getVersion()
getVersion in class Servicepublic void setArgs(CommandArg args)
invoke() is called.
setArgs in class ServiceArguments - for invokepublic CommandArg getArgs()
getArgs in class Servicepublic java.lang.String getConfigurationNamespace()
getConfigurationNamespace in interface CoreUsergetConfigurationNamespace in class Service
public void invoke()
throws BaseException
invoke in class ServicePreconditionException - If one of the preconditions is not met
SectionNotFoundException - If one of the sections identified in the
recoveryMade hashtable does not exist.
BaseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||