public class OptionGenerator
extends java.lang.Object
Constructor and Description |
---|
OptionGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addAllAppAuth(java.lang.String appName,
java.lang.String sigName,
java.lang.String prerequisite,
java.lang.String conditionNum,
UserInfo userInfo,
MXTransaction trans)
Grant authorization to groups which have all prerequisite options with the application.
|
void |
addAllAppAuth(java.lang.String appName,
java.lang.String sigName,
java.lang.String prerequisite,
UserInfo userInfo,
MXTransaction trans)
Grant authorization to groups which have all prerequisite options with the application.
|
int |
addAppToolOption(java.lang.String appName,
java.lang.String sigName,
java.lang.String imageSource,
int preferredSpot,
UserInfo userInfo,
MXTransaction trans)
Make sure the menu option with the given name exists in the application.
|
void |
addMenuOption(java.lang.String appName,
java.lang.String sigName,
java.lang.String menuType,
int preferredSpot,
int preferredSubSpot,
java.lang.String tabDisplay,
java.lang.String imageSource,
java.lang.String accessKey,
UserInfo userInfo,
MXTransaction trans)
Make sure the menu option with the given name exists in the application.
|
void |
addMenuOption(java.lang.String appName,
java.lang.String sigName,
java.lang.String menuType,
int preferredSpot,
int preferredSubSpot,
java.lang.String tabDisplay,
java.lang.String imageSource,
UserInfo userInfo,
MXTransaction trans)
Make sure the menu option with the given name exists in the application.
|
java.lang.String |
addOption(java.lang.String appName,
java.lang.String interaction,
java.lang.String mapOption,
MXTransaction trans,
UserInfo userInfo,
java.util.Vector selected)
generates Signature Option and give authorization.
|
java.lang.String |
addOption(java.lang.String appName,
java.lang.String interaction,
java.lang.String description,
UserInfo userInfo,
boolean createMenu,
MXTransaction trans,
java.util.Vector selected,
boolean isSilent)
Add support for workflow to the application named by this Mbo.
|
java.lang.String |
addSigOption(java.lang.String appName,
java.lang.String sigName,
java.lang.String sigDesc,
java.lang.String alsoGrants,
java.lang.String alsoRevokes,
java.lang.String prerequisite,
UserInfo userInfo,
MXTransaction trans)
Make sure the SigOption with the given name exists for the application.
|
java.lang.String |
addSigOption(java.lang.String appName,
java.lang.String sigName,
java.lang.String sigDesc,
UserInfo userInfo,
MXTransaction trans)
Make sure the SigOption with the given name exists for the application.
|
MboSetRemote |
checkMenuOption(java.lang.String appName,
java.lang.String sigName,
UserInfo userInfo)
Make sure the menu option with the given name exists in the application.
|
MboSetRemote |
checkSigOption(java.lang.String appName,
java.lang.String sigName,
UserInfo userInfo)
Make sure the SigOption with the given name exists for the application.
|
void |
deleteOption(java.lang.String appName,
java.lang.String optionName,
UserInfo userInfo,
MXTransaction trans)
Delete signature option.
|
void |
includeAppAuth(java.lang.String appName,
java.lang.String sigName,
java.lang.String conditionNum,
UserInfo userInfo,
MXTransaction trans,
java.util.Set<java.lang.String> groupNames)
Grant authorization for the application option to the list of groups.
|
void |
includeAppAuth(java.lang.String appName,
java.lang.String sigName,
java.lang.String conditionNum,
UserInfo userInfo,
MXTransaction trans,
java.util.Vector selected)
Make sure the users which have read access with the application are given
authorization for the sig option.
|
void |
includeAppAuth(java.lang.String appName,
java.lang.String sigName,
UserInfo userInfo,
MXTransaction trans,
java.util.Vector selected)
Make sure the users which have read access with the application are given
authorization for the sig option.
|
java.lang.String |
includeSigOption(java.lang.String interaction,
java.lang.String appName,
java.lang.String sigName,
java.lang.String sigDesc,
boolean isSilent,
org.jdom.Document appDocument,
UserInfo userInfo,
MXTransaction trans,
int start)
Make sure the SigOption with the given name exists for the application.
|
public java.lang.String addOption(java.lang.String appName, java.lang.String interaction, java.lang.String description, UserInfo userInfo, boolean createMenu, MXTransaction trans, java.util.Vector selected, boolean isSilent) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String addOption(java.lang.String appName, java.lang.String interaction, java.lang.String mapOption, MXTransaction trans, UserInfo userInfo, java.util.Vector selected) throws java.rmi.RemoteException, MXException
trans
- MX TransactionmapOption
- name of the signature optionMXException
java.rmi.RemoteException
public void deleteOption(java.lang.String appName, java.lang.String optionName, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public java.lang.String includeSigOption(java.lang.String interaction, java.lang.String appName, java.lang.String sigName, java.lang.String sigDesc, boolean isSilent, org.jdom.Document appDocument, UserInfo userInfo, MXTransaction trans, int start) throws java.rmi.RemoteException, MXException
sigName
- name of the optionjava.rmi.RemoteException
MXException
public java.lang.String addSigOption(java.lang.String appName, java.lang.String sigName, java.lang.String sigDesc, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
sigName
- name of the optionjava.rmi.RemoteException
MXException
public java.lang.String addSigOption(java.lang.String appName, java.lang.String sigName, java.lang.String sigDesc, java.lang.String alsoGrants, java.lang.String alsoRevokes, java.lang.String prerequisite, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
appName
- Name of the applicationsigName
- Name of the optionsigDesc
- Description of the option for this applicationalsoGrants
- List of options to be granted when this option is grantedalsoRevokes
- List of options to be revoked when this option is revokedprerequisite
- List of options that must be granted before this option may be granteduserInfo
- Current user informationtrans
- Current transaction to add SigOption too.java.rmi.RemoteException
MXException
public void includeAppAuth(java.lang.String appName, java.lang.String sigName, UserInfo userInfo, MXTransaction trans, java.util.Vector selected) throws java.rmi.RemoteException, MXException
sigName
- java.rmi.RemoteException
MXException
public void includeAppAuth(java.lang.String appName, java.lang.String sigName, java.lang.String conditionNum, UserInfo userInfo, MXTransaction trans, java.util.Vector selected) throws java.rmi.RemoteException, MXException
sigName
- java.rmi.RemoteException
MXException
public void includeAppAuth(java.lang.String appName, java.lang.String sigName, java.lang.String conditionNum, UserInfo userInfo, MXTransaction trans, java.util.Set<java.lang.String> groupNames) throws java.rmi.RemoteException, MXException
appName
- Application NamesigName
- New optionuserInfo
- User Infotrans
- transactiongroupNames
- Set of group namesjava.rmi.RemoteException
MXException
public void addAllAppAuth(java.lang.String appName, java.lang.String sigName, java.lang.String prerequisite, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
appName
- Application NamesigName
- New option nameprerequisite
- List of prerequisite optionsuserInfo
- User Infotrans
- Transaction to add application authorization toojava.rmi.RemoteException
MXException
public void addAllAppAuth(java.lang.String appName, java.lang.String sigName, java.lang.String prerequisite, java.lang.String conditionNum, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
appName
- Application NamesigName
- New option nameprerequisite
- List of prerequisite optionsuserInfo
- User Infotrans
- Transaction to add application authorization toojava.rmi.RemoteException
MXException
public int addAppToolOption(java.lang.String appName, java.lang.String sigName, java.lang.String imageSource, int preferredSpot, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
sigName
- name of the optionpreferredSpot
- Where the option wants to be on the sub-menu.imageSource
- Image to use for the menu optionjava.rmi.RemoteException
MXException
public void addMenuOption(java.lang.String appName, java.lang.String sigName, java.lang.String menuType, int preferredSpot, int preferredSubSpot, java.lang.String tabDisplay, java.lang.String imageSource, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
sigName
- name of the optionpreferredSpot
- Where the option wants to be on the sub-menu.imageSource
- Image to use for the menu optionjava.rmi.RemoteException
MXException
public void addMenuOption(java.lang.String appName, java.lang.String sigName, java.lang.String menuType, int preferredSpot, int preferredSubSpot, java.lang.String tabDisplay, java.lang.String imageSource, java.lang.String accessKey, UserInfo userInfo, MXTransaction trans) throws java.rmi.RemoteException, MXException
sigName
- name of the optionpreferredSpot
- Where the option wants to be on the sub-menu.imageSource
- Image to use for the menu optionaccessKey
- Access Key to use for the menu optionjava.rmi.RemoteException
MXException
public MboSetRemote checkSigOption(java.lang.String appName, java.lang.String sigName, UserInfo userInfo) throws java.rmi.RemoteException, MXException
sigName
- name of the optionjava.rmi.RemoteException
MXException
public MboSetRemote checkMenuOption(java.lang.String appName, java.lang.String sigName, UserInfo userInfo) throws java.rmi.RemoteException, MXException
appName
- name of the applicationsigName
- name of the optionuserInfo
- user info object.java.rmi.RemoteException
MXException