public class ReportService extends AppService implements ReportServiceRemote
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix
Constructor and Description |
---|
ReportService() |
ReportService(MXServer mxServer) |
Modifier and Type | Method and Description |
---|---|
void |
applyDefaultYesNoValues(MboSetRemote mboSetRemote)
Applies the default YORN value as the locale specific value instead of 1 or 0.
|
boolean |
canRunThisReport(java.lang.String userId,
java.lang.String reportName,
java.lang.String appName,
UserInfo userInfo)
This method checks if for the given userId, reportName and appName
the report is accessible.
|
boolean |
canRunThisReport(UserInfo userInfo,
java.lang.String reportName,
java.lang.String appName)
This method checks if for the given userInfo, reportName and appName
the report is accessible.
|
MboSetRemote |
getAccessibleReports(UserInfo userInfo)
This method returns an MBo Set of REPORT object which contains all reports
that the current user has access to.
|
java.util.ArrayList |
getAccessibleReportsCollection(UserInfo userInfo)
This method returns an ArrayList of REPORTS that the current user has access to.
|
void |
init()
Registeres event so that when GROUP, GROUPUSER, REPORTAPPAUTH, REPORTAUTH
or APPLICATIONAUTH record is deleted we can catch the event and delete the
appropriate record from report application.
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public ReportService() throws java.rmi.RemoteException
java.rmi.RemoteException
public ReportService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv
- -- the "Server Environment" this Service is being
created in.java.rmi.RemoteException
public void init()
init
in interface Service
init
in class AppService
Service
public boolean canRunThisReport(UserInfo userInfo, java.lang.String reportName, java.lang.String appName) throws MXException, java.rmi.RemoteException
canRunThisReport
in interface ReportServiceRemote
MXException
java.rmi.RemoteException
public boolean canRunThisReport(java.lang.String userId, java.lang.String reportName, java.lang.String appName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
canRunThisReport
in interface ReportServiceRemote
MXException
java.rmi.RemoteException
public void applyDefaultYesNoValues(MboSetRemote mboSetRemote) throws MXException, java.rmi.RemoteException
applyDefaultYesNoValues
in interface ReportServiceRemote
MXException
java.rmi.RemoteException
public MboSetRemote getAccessibleReports(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getAccessibleReports
in interface ReportServiceRemote
MXException
java.rmi.RemoteException
public java.util.ArrayList getAccessibleReportsCollection(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getAccessibleReportsCollection
in interface ReportServiceRemote
MXException
java.rmi.RemoteException