Package com.reportmill.base
Class ReportMill
- java.lang.Object
- 
- com.reportmill.base.RMObject
- 
- com.reportmill.base.ReportMill
 
 
- 
- All Implemented Interfaces:
- RMArchiver.Archiving,- RMKey.ValueForKeyChain,- java.lang.Cloneable
 
 public class ReportMill extends RMObject implements RMKey.ValueForKeyChain This class is used as a helper object by RMDocument to generate a report.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static interfaceReportMill.AppServerAn inner class to provide a hook for converting objects (like NSArray to List, etc.).static interfaceReportMill.ListenerAn interface for classes than want to know about filled shapes.
 - 
Field SummaryFields Modifier and Type Field Description static ReportMill.AppServerappServer
 - 
Constructor SummaryConstructors Constructor Description ReportMill()Creates a new reportmill with the specified paginate option (true or false).
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDataObject(java.lang.Object anObj)Adds a data object to the data object list.voidaddPageReferenceShape(RMShape aShape)Registers a shape with a page key in it.voidaddUserInfo(java.lang.Object userInfo)Adds a user info object to the data objects list (also handles ReportMill.Listeners).static java.lang.ObjectconvertFromAppServerType(java.lang.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.RMDocumentgenerateReport(RMDocument aDoc, java.lang.Object objects, java.lang.Object userInfo, boolean paginate)Returns a rpg clone of the given document with given objects, userInfo and pagination setting.java.lang.ObjectgetDataObject(int anIndex)Returns the data object at the specified index.java.util.ListgetDataObjects()Returns the data objects list.static java.lang.StringgetLicense()Returns the ReportMill license string for the current user.java.lang.StringgetNullString()Returns the string used to represent null values.intgetPageIndex()Returns the current page being processed during report generation.booleangetPaginate()Returns whether this reportmill paginates.java.lang.ObjectgetRPGCloneForObject(java.lang.Object anObj)Returns the corresponding rpg'd object for an original object.static booleanisLicensed()Returns whether ReportMill has a valid license for the current user.static voidlc(RMDocument aDoc)Simple lc check.java.util.ListlistValueForKeyChain(java.lang.String aKeyChain)Returns a list for the given keychain.voidremoveDataObject(java.lang.Object anObj)Removes an object from the data object list.static voidsetLicense(java.lang.String aLicense)Sets the ReportMill license string for the current user.static voidsetLicense(java.lang.String aLicense, boolean persistent, boolean isApp)Sets the ReportMill license string for the current user (with option to persist).static voidsetLicenseState(LicenseState licenseState)voidsetRPGCloneForObject(java.lang.Object aCopy, java.lang.Object anObj)Sets the corresponding rpg'd object for an original object.java.lang.ObjectvalueForKeyChain(java.lang.Object aKeyChain)ReportMill's valueForKeyChain implementation.- 
Methods inherited from class com.reportmill.base.RMObjectclone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
 
- 
 
- 
- 
- 
Field Detail- 
appServerpublic static ReportMill.AppServer appServer 
 
- 
 - 
Method Detail- 
getPaginatepublic boolean getPaginate() Returns whether this reportmill paginates.
 - 
getDataObjectspublic java.util.List getDataObjects() Returns the data objects list.
 - 
getPageIndexpublic int getPageIndex() Returns the current page being processed during report generation.
 - 
getNullStringpublic java.lang.String getNullString() Returns the string used to represent null values.
 - 
generateReportpublic RMDocument generateReport(RMDocument aDoc, java.lang.Object objects, java.lang.Object userInfo, boolean paginate) Returns a rpg clone of the given document with given objects, userInfo and pagination setting.
 - 
getDataObjectpublic java.lang.Object getDataObject(int anIndex) Returns the data object at the specified index.
 - 
addDataObjectpublic void addDataObject(java.lang.Object anObj) Adds a data object to the data object list.
 - 
removeDataObjectpublic void removeDataObject(java.lang.Object anObj) Removes an object from the data object list.
 - 
addUserInfopublic void addUserInfo(java.lang.Object userInfo) Adds a user info object to the data objects list (also handles ReportMill.Listeners).
 - 
didFillShapepublic void didFillShape(RMShape aShape, RMShape aCopy) Called by shapes when rpgCloned to notify listener.
 - 
convertFromAppServerTypepublic static java.lang.Object convertFromAppServerType(java.lang.Object anObj) Called by various objects to convert objects to generic types.
 - 
listValueForKeyChainpublic java.util.List listValueForKeyChain(java.lang.String aKeyChain) Returns a list for the given keychain.
 - 
addPageReferenceShapepublic void addPageReferenceShape(RMShape aShape) Registers a shape with a page key in it.
 - 
getRPGCloneForObjectpublic java.lang.Object getRPGCloneForObject(java.lang.Object anObj) Returns the corresponding rpg'd object for an original object.
 - 
setRPGCloneForObjectpublic void setRPGCloneForObject(java.lang.Object aCopy, java.lang.Object anObj)Sets the corresponding rpg'd object for an original object.
 - 
valueForKeyChainpublic java.lang.Object valueForKeyChain(java.lang.Object aKeyChain) ReportMill's valueForKeyChain implementation.- Specified by:
- valueForKeyChainin interface- RMKey.ValueForKeyChain
 
 - 
getLicensepublic static java.lang.String getLicense() Returns the ReportMill license string for the current user.
 - 
setLicensepublic static void setLicense(java.lang.String aLicense) Sets the ReportMill license string for the current user.
 - 
setLicensepublic static void setLicense(java.lang.String aLicense, boolean persistent, boolean isApp)Sets 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.
 - 
setLicenseStatepublic static void setLicenseState(LicenseState licenseState) 
 - 
lcpublic static void lc(RMDocument aDoc) Simple lc check.
 
- 
 
-