Package quadbase.reportorganizer.menuAPI
Class QbMenu
java.lang.Object
quadbase.reportorganizer.menuAPI.QbMenu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMenuNode[]return all the readable menu nodes for current userMenuNode[]getMenuNodeList(String keyword) return all the readable menu nodes for current userreturn security level for current login userreturn current login user namebooleanlogin to QbMenuvoidlogout()logout from QbMenuvoid
-
Field Details
-
QBMENUDATA
-
-
Constructor Details
-
Method Details
-
login
login to QbMenu- Parameters:
userName- login user namepassword- login user password- Returns:
- the QbMenu object with contains all the menu information
- Throws:
Exception
-
writeLog
- Throws:
Exception
-
logout
public void logout()logout from QbMenu -
getSecurityLevel
return security level for current login user- Returns:
- security level value
-
getUserName
return current login user name- Returns:
- user name
-
getMenuNodeList
return all the readable menu nodes for current user- Returns:
- menu node array
- Throws:
Exception
-
getMenuNodeList
return all the readable menu nodes for current user- Parameters:
keyword- only display the items which contains the specified key words- Returns:
- menu node array
- Throws:
Exception
-