Package com.reportmill.base
Class ReportMill
java.lang.Object
com.reportmill.base.RMObject
com.reportmill.base.ReportMill
- All Implemented Interfaces:
- RMArchiver.Archiving,- RMKey.ValueForKeyChain,- Cloneable
This class is used as a helper object by RMDocument to generate a report.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceAn inner class to provide a hook for converting objects (like NSArray to List, etc.).static interfaceAn interface for classes than want to know about filled shapes.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new reportmill with the specified paginate option (true or false).
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDataObject(Object anObj) Adds a data object to the data object list.voidaddPageReferenceShape(RMShape aShape) Registers a shape with a page key in it.voidaddUserInfo(Object userInfo) Adds a user info object to the data objects list (also handles ReportMill.Listeners).static ObjectconvertFromAppServerType(Object anObj) Called by various objects to convert objects to generic types.voiddidFillShape(RMShape aShape, RMShape aCopy) Called by shapes when rpgCloned to notify listener.generateReport(RMDocument aDoc, Object objects, Object userInfo, boolean paginate) Returns a rpg clone of the given document with given objects, userInfo and pagination setting.getDataObject(int anIndex) Returns the data object at the specified index.Returns the data objects list.static StringReturns the ReportMill license string for the current user.Returns the string used to represent null values.intReturns the current page being processed during report generation.booleanReturns whether this reportmill paginates.getRPGCloneForObject(Object anObj) Returns the corresponding rpg'd object for an original object.static booleanReturns whether ReportMill has a valid license for the current user.static voidlc(RMDocument aDoc) Simple lc check.listValueForKeyChain(String aKeyChain) Returns a list for the given keychain.voidremoveDataObject(Object anObj) Removes an object from the data object list.static voidsetLicense(String aLicense) Sets the ReportMill license string for the current user.static voidsetLicense(String aLicense, boolean persistent, boolean isApp) Sets the ReportMill license string for the current user (with option to persist).static voidsetLicenseState(LicenseState licenseState) voidsetRPGCloneForObject(Object aCopy, Object anObj) Sets the corresponding rpg'd object for an original object.valueForKeyChain(Object aKeyChain) ReportMill's valueForKeyChain implementation.Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
- 
Field Details- 
appServer
 
- 
- 
Constructor Details- 
ReportMillpublic ReportMill()Creates a new reportmill with the specified paginate option (true or false).
 
- 
- 
Method Details- 
getPaginatepublic boolean getPaginate()Returns whether this reportmill paginates.
- 
getDataObjectsReturns the data objects list.
- 
getPageIndexpublic int getPageIndex()Returns the current page being processed during report generation.
- 
getNullStringReturns the string used to represent null values.
- 
generateReportpublic RMDocument generateReport(RMDocument aDoc, Object objects, Object userInfo, boolean paginate) Returns a rpg clone of the given document with given objects, userInfo and pagination setting.
- 
getDataObjectReturns the data object at the specified index.
- 
addDataObjectAdds a data object to the data object list.
- 
removeDataObjectRemoves an object from the data object list.
- 
addUserInfoAdds a user info object to the data objects list (also handles ReportMill.Listeners).
- 
didFillShapeCalled by shapes when rpgCloned to notify listener.
- 
convertFromAppServerTypeCalled by various objects to convert objects to generic types.
- 
listValueForKeyChainReturns a list for the given keychain.
- 
addPageReferenceShapeRegisters a shape with a page key in it.
- 
getRPGCloneForObjectReturns the corresponding rpg'd object for an original object.
- 
setRPGCloneForObjectSets the corresponding rpg'd object for an original object.
- 
valueForKeyChainReportMill's valueForKeyChain implementation.- Specified by:
- valueForKeyChainin interface- RMKey.ValueForKeyChain
 
- 
getLicenseReturns the ReportMill license string for the current user.
- 
setLicenseSets the ReportMill license string for the current user.
- 
setLicenseSets the ReportMill license string for the current user (with option to persist).
- 
isLicensedpublic static boolean isLicensed()Returns whether ReportMill has a valid license for the current user.
- 
setLicenseState
- 
lcSimple lc check.
 
-