Last active
February 12, 2019 10:39
-
-
Save noakesey/960a11c214b323a161d50bc862ad28e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class wwSysUserRoleInfoReportPage extends wwBaseReportPage | |
{ | |
protected void new() | |
{ | |
this.parmReportName(ssrsReportStr(SysUserRoleInfo, Report)); | |
} | |
public static wwSysUserRoleInfoReportPage construct() | |
{ | |
return new wwSysUserRoleInfoReportPage(); | |
} | |
public void run() | |
{ | |
super(); | |
//Add any further required clean-up tasks here.. e.g. | |
//srsReportRunService.cleanUpRdpPreProcessTables( | |
// classStr(SalesInvoiceDP), executionInfo); | |
} | |
//Encapsulate the element names here so the test doesn't | |
//need to know about the implementation. This will improve | |
//maintenance if the design changes | |
public int roleCount() | |
{ | |
return this.elementCount('RoleName_0'); | |
} | |
public boolean isRoleIncluded(str role) | |
{ | |
return this.elementExists('RoleName_0', 'userID1', role); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment