| org.tigris.scarab.om.AbstractScarabUser
AbstractScarabUser | abstract public class AbstractScarabUser extends BaseObject (Code) | | This class contains common code for the use in ScarabUser implementations.
Functionality that is not implementation specific should go here.
author: Jon S. Stevens author: John McNally version: $Id: AbstractScarabUser.java 10264 2006-08-27 15:37:01Z jorgeuriarte $ |
Field Summary | |
protected Locale | locale The user's preferred locale. |
Constructor Summary | |
public | AbstractScarabUser() Calls the superclass constructor to initialize this object. |
Method Summary | |
public void | addRMITsToCurrentMITList(List rmits) | abstract protected void | deleteRModuleUserAttribute(RModuleUserAttribute rmua) | protected void | filterRMITList(List rmits, String searchField, String searchString) Filter on module or issue type name. | public List | getAllRModuleIssueTypes(Module module) | public Map | getAssociatedUsersMap() | public List | getCopyToModules(Module currentModule, String action, String searchString) Get modules user can copy or move to. | public List | getCopyToModules(Module currentModule) | public List | getCopyToModules(Module currentModule, String action) | public IssueType | getCurrentIssueType() | public MITList | getCurrentMITList() | public Module | getCurrentModule() | public RModuleIssueType | getCurrentRModuleIssueType() | public ReportBridge | getCurrentReport(String key) | public List | getEditableModules() | public List | getEditableModules(Module currEditModule) | abstract public String | getEmail() | public int | getEnterIssueRedirect() Returns integer representing user preference for
Which screen to return to after entering an issue.
1 = Enter New Issue. | abstract public String | getFirstName() | public String | getHomePage() | public String | getHomePage(Module module) | abstract public String | getLastName() | public Locale | getLocale() Gets the users default locale from the users preferences. | public List | getMITLists() | public String | getMatrixTarget() | abstract public List | getModules() | abstract public Module[] | getModules(String permission) | abstract public List | getModules(boolean showDeletedModules) | public String | getMostRecentQuery() | public String | getName() | protected RModuleUserAttribute | getNewRModuleUserAttribute(Attribute attribute, Module module, IssueType issueType) | public Locale | getPreferredLocale() | public String | getQueryTarget() | public RModuleUserAttribute | getRModuleUserAttribute(Module module, Attribute attribute, IssueType issueType) | public List | getRModuleUserAttributes(Module module, IssueType issueType) | abstract protected List | getRModuleUserAttributes(Criteria crit) Should return a list of RModuleUserAttribute 's that
meet the given criteria. | public Issue | getReportingIssue(String key) | public List | getSearchableRMITs(String searchField, String searchString, String sortColumn, String sortPolarity, Module skipModule) | public Map | getSelectedUsersMap() | public String | getStats() | public Object | getThreadKey() | public List | getUnusedRModuleIssueTypes(Module module) | abstract public Integer | getUserId() | public boolean | hasAnySearchableRMITs() | public boolean | hasMostRecentQuery() | abstract public boolean | hasPermission(String perm, Module module) | public boolean | hasPermission(String perm, List modules) | public boolean | isShowOtherModulesInIssueTypeList() | public Object | lastEnteredIssueTypeOrTemplate() | public void | removeItemsFromCurrentMITList(String[] ids) | public void | save() | public void | save(String dbName) | public void | save(Connection dbCon) | public void | setAssociatedUsersMap(Map associatedUsers) | public void | setCurrentIssueType(IssueType v) | public void | setCurrentMITList(MITList list) | public void | setCurrentModule(Module v) | public String | setCurrentReport(ReportBridge report) | public void | setCurrentReport(String key, ReportBridge report) | public void | setEnterIssueRedirect(int templateCode) Sets integer representing user preference for
Which screen to return to after entering an issue.
1 = Enter New Issue. | public void | setHomePage(String homePage) | public void | setLastEnteredIssueType(IssueType type) | public void | setLastEnteredTemplate(Issue template) | public void | setLocale(Locale newLocale) Set the user's locale to a new value. | public void | setMostRecentQuery(String queryString) | public String | setReportingIssue(Issue issue) | public void | setReportingIssue(String key, Issue issue) | public void | setSelectedUsersMap(Map selectedUsers) | public void | setShowOtherModulesInIssueTypeList(boolean newShowOtherModulesInIssueTypeList) | public void | setSingleIssueTypeQueryTarget(IssueType type, String target) | public void | setThreadKey(Integer key) | protected void | sortRMITList(List rmits, String sortColumn, String sortPolarity) Sort module or issue type name. | public void | updateIssueListAttributes(List attributes) |
locale | protected Locale locale(Code) | | The user's preferred locale.
|
AbstractScarabUser | public AbstractScarabUser()(Code) | | Calls the superclass constructor to initialize this object.
|
addRMITsToCurrentMITList | public void addRMITsToCurrentMITList(List rmits) throws TorqueException(Code) | | |
deleteRModuleUserAttribute | abstract protected void deleteRModuleUserAttribute(RModuleUserAttribute rmua) throws TorqueException, TurbineSecurityException(Code) | | |
filterRMITList | protected void filterRMITList(List rmits, String searchField, String searchString) throws TorqueException(Code) | | Filter on module or issue type name.
|
getAllRModuleIssueTypes | public List getAllRModuleIssueTypes(Module module) throws TorqueException(Code) | | See Also: ScarabUser#getAllRModuleIssueTypes(Module). |
getCopyToModules | public List getCopyToModules(Module currentModule, String action, String searchString) throws TorqueException(Code) | | Get modules user can copy or move to.
If copying, requires ISSUE_ENTER permission
If moving, requires ISSUE_MOVE permission to move
To another module, or ISSUE_EDIT to move to another issue type.
|
getCurrentIssueType | public IssueType getCurrentIssueType() throws TorqueException(Code) | | The current issue type
|
getCurrentModule | public Module getCurrentModule()(Code) | | The current module
|
getEnterIssueRedirect | public int getEnterIssueRedirect() throws TorqueException(Code) | | Returns integer representing user preference for
Which screen to return to after entering an issue.
1 = Enter New Issue. 2 = Assign Issue (default)
3 = View Issue. 4 = Issue Types index.
|
getLocale | public Locale getLocale()(Code) | | Gets the users default locale from the users preferences.
|
getMITLists | public List getMITLists() throws TorqueException(Code) | | Gets active, named lists
a List value exception: TorqueException - if an error occurs |
getPreferredLocale | public Locale getPreferredLocale()(Code) | | get preferred Locale from user preferences
|
getRModuleUserAttributes | abstract protected List getRModuleUserAttributes(Criteria crit) throws TorqueException(Code) | | Should return a list of RModuleUserAttribute 's that
meet the given criteria.
|
getSearchableRMITs | public List getSearchableRMITs(String searchField, String searchString, String sortColumn, String sortPolarity, Module skipModule) throws TorqueException(Code) | | See Also: ScarabUser#getSearchableRMITs(String, String, String, String, Module). See Also: This list does not include See Also: RModuleIssueTypes that are part of the current MITList. |
getStats | public String getStats()(Code) | | Report the sizes of maps used to hold per-thread attributes
|
getUnusedRModuleIssueTypes | public List getUnusedRModuleIssueTypes(Module module) throws TorqueException(Code) | | See Also: ScarabUser#getUnusedRModuleIssueTypes(Module). |
getUserId | abstract public Integer getUserId()(Code) | | The Primary Key used to reference this user in storage
|
hasAnySearchableRMITs | public boolean hasAnySearchableRMITs() throws TorqueException, DataSetException(Code) | | See Also: ScarabUser#hasAnySearchableRMITs(). |
lastEnteredIssueTypeOrTemplate | public Object lastEnteredIssueTypeOrTemplate()(Code) | | |
removeItemsFromCurrentMITList | public void removeItemsFromCurrentMITList(String[] ids)(Code) | | |
save | public void save() throws TorqueException(Code) | | See Also: org.apache.torque.om.Persistent.save See Also: this implementation throws an UnsupportedOperationException. |
save | public void save(String dbName) throws TorqueException(Code) | | See Also: org.apache.torque.om.Persistent.save(String) See Also: this implementation throws an UnsupportedOperationException. |
save | public void save(Connection dbCon) throws TorqueException(Code) | | See Also: org.apache.torque.om.Persistent.save(Connection) See Also: this implementation throws an UnsupportedOperationException. |
setCurrentIssueType | public void setCurrentIssueType(IssueType v)(Code) | | The current issue type
|
setCurrentModule | public void setCurrentModule(Module v)(Code) | | The current module
|
setEnterIssueRedirect | public void setEnterIssueRedirect(int templateCode) throws TorqueException(Code) | | Sets integer representing user preference for
Which screen to return to after entering an issue.
1 = Enter New Issue. 2 = Assign Issue (default)
3 = View Issue. 4 = Issue Types index.
|
setLocale | public void setLocale(Locale newLocale)(Code) | | Set the user's locale to a new value.
|
sortRMITList | protected void sortRMITList(List rmits, String sortColumn, String sortPolarity) throws TorqueException(Code) | | Sort module or issue type name.
|
|
|