public class Report extends Mbo implements ReportRemote
MULTILANGCOPY, phantomList, phantomQueueALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER| Constructor and Description |
|---|
Report(MboSet ms)
Construct the Report object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add()
This is called when a new Mbo is added to the Mboset collection.
|
void |
appValidate()
Pre-save validation method.
|
java.lang.String |
assembleDOVRequestPage() |
java.lang.String |
assembleFolderDialog(java.lang.String appName) |
java.lang.String |
assembleRequestPage(MboRemote report,
MboSetRemote lookupset,
int reportnum,
java.lang.String reporttype) |
boolean |
canLimitRecords()
Does this report type support the Limit Records functionality?
|
void |
checkSiteOrgAccessForSave()
Extended this method so that REPORT record can be deleted for QBE reports
if the user have DELETEREPT sigoption.
|
void |
delete(long accessModifier)
Mark the object to be deleted depending on the access modifier.
|
MboRemote |
duplicate()
Duplicates a Report record.
|
java.lang.String |
generateAndReplaceAllXML()
Builds the replibrary presentation XML from scratch, ignoring the existing content.
|
java.lang.String |
generateXML(MboRemote appfolder,
MboSetRemote lookupset,
java.lang.String presentationXML) |
java.lang.String |
getBaseReportXML() |
void |
init()
Called by the framework when the Mbo has been constructed and the
MboValues have been initialized.
|
java.lang.String |
insertDialog(java.lang.String presentationXML,
java.lang.String dialogXML,
java.lang.String dialogID) |
boolean |
isLimitedType(java.lang.String runType)
Does this report type disable fields due to unsupported functionality?
|
boolean |
isQuickPrintable()
Check if the report is Birt for QuickPrinting
|
void |
save()
Save the object and other linked objects.
|
void |
setFieldsReadOnly(boolean state)
Disable fields that are not used for this report type.
|
boolean |
sigopGranted(java.lang.String app,
java.lang.String optionname)
Extended this method so that REPORT record can be deleted for QBR reports
if the user is the owner, and to evaluate the EDITREPT option for QBRs.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
Overrides the skipCopyField() in the Mbo.
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, blindCopy, canDelete, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkRecordLock, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, determineRequiredFieldsFromERM, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, getValidateOrder, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, initRelationship, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undelete, unlock, unselect, validate, validateAttributespublic Report(MboSet ms) throws MXException, java.rmi.RemoteException
ms - Mbo setMXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
Mboadd in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic void init()
throws MXException
Mboinit in class MboMXExceptionpublic void appValidate()
throws MXException,
java.rmi.RemoteException
MboappValidate in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean canLimitRecords()
throws MXException,
java.rmi.RemoteException
canLimitRecords in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isLimitedType(java.lang.String runType)
throws MXException,
java.rmi.RemoteException
isLimitedType in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic boolean isQuickPrintable()
throws MXException,
java.rmi.RemoteException
isQuickPrintable in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic void setFieldsReadOnly(boolean state)
throws MXException,
java.rmi.RemoteException
setFieldsReadOnly in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String generateAndReplaceAllXML()
throws MXException,
java.rmi.RemoteException
generateAndReplaceAllXML in interface ReportRemoteMXException, - RemoteExceptionMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getBaseReportXML()
throws MXException,
java.rmi.RemoteException
getBaseReportXML in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String generateXML(MboRemote appfolder, MboSetRemote lookupset, java.lang.String presentationXML) throws MXException, java.rmi.RemoteException
generateXML in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String assembleFolderDialog(java.lang.String appName)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String assembleRequestPage(MboRemote report, MboSetRemote lookupset, int reportnum, java.lang.String reporttype) throws MXException, java.rmi.RemoteException
assembleRequestPage in interface ReportRemoteMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String assembleDOVRequestPage()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String insertDialog(java.lang.String presentationXML,
java.lang.String dialogXML,
java.lang.String dialogID)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
Mbodelete in interface MboRemotedelete in class MboaccessModifier - The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public MboRemote duplicate() throws MXException, java.rmi.RemoteException
duplicate in interface MboRemoteduplicate in class MboMXExceptionjava.rmi.RemoteExceptionprotected boolean skipCopyField(MboValueInfo mvi) throws MXException, java.rmi.RemoteException
skipCopyField in class Mbomvi - The MboValueInfo object of the MboValue that needs to be
copied.MXExceptionjava.rmi.RemoteExceptionReport.loadSkipFieldCopyHashSet()public void save()
throws MXException,
java.rmi.RemoteException
Mbosave in class MboMXExceptionjava.rmi.RemoteExceptionpublic boolean sigopGranted(java.lang.String app,
java.lang.String optionname)
throws MXException,
java.rmi.RemoteException
sigopGranted in interface MboRemotesigopGranted in class Mboapp - Application nameoptionname - Option nameMXExceptionjava.rmi.RemoteExceptionProfile.getAppLevel(java.lang.String),
MboSetInfo.getSiteOrgType(),
Profile.getAppOptionAuth(java.lang.String, java.lang.String, java.lang.String),
Profile.getNonStandardAppOptionAuth(java.lang.String, java.lang.String, java.lang.String, java.lang.String),
Profile.getConditions(java.lang.String, java.lang.String, java.lang.String),
Mbo.evaluateCondition(String)public void checkSiteOrgAccessForSave()
throws MXException,
java.rmi.RemoteException
checkSiteOrgAccessForSave in class MboMXExceptionjava.rmi.RemoteExceptionMboSet.getApp(),
Mbo.sigopGranted(String, String)