|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.om.BaseObject
org.apache.fulcrum.security.impl.db.entity.BaseTurbineUser
org.apache.fulcrum.security.impl.db.entity.TurbineUser
org.tigris.scarab.om.BaseScarabUserImpl
org.tigris.scarab.om.ScarabUserImpl
This class is an abstraction that is currently based around Turbine's code. We can change this later. It is here so that it is easier to change later to work under different implementation needs.
| Field Summary | |
static java.lang.String |
PASSWORD_EXPIRE
|
| Fields inherited from class org.apache.fulcrum.security.impl.db.entity.BaseTurbineUser |
collTurbineUserGroupRoles |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Fields inherited from interface org.tigris.scarab.om.ScarabUser |
DELETED |
| Fields inherited from interface org.apache.fulcrum.security.entity.User |
ACCESS_COUNTER, CONFIRM_DATA, CONFIRM_VALUE, EMAIL, FIRST_NAME, HAS_LOGGED_IN, LAST_LOGIN, LAST_NAME, PASSWORD, SESSION_ACCESS_COUNTER, SESSION_KEY, USERNAME |
| Constructor Summary | |
ScarabUserImpl()
Call the superclass constructor to initialize this object. |
|
| Method Summary | |
void |
addRMITsToCurrentMITList(java.util.List rmits)
|
static boolean |
checkConfirmationCode(java.lang.String username,
java.lang.String confirm)
Utility method that takes a username and a confirmation code and will return true if there is a match and false if no match. |
static boolean |
confirmUser(java.lang.String username)
This method will mark username as confirmed. |
void |
createNewUser()
This method is responsible for creating a new user. |
org.apache.fulcrum.security.util.AccessControlList |
getACL()
Return the AccessControlList for this user. |
java.util.List |
getAllRModuleIssueTypes(Module module)
returns a list of RModuleIssueTypes for the given module. |
java.util.List |
getAssignIssuesList()
|
java.util.Map |
getAssociatedUsersMap()
Get the working list of associated users For the AssignIssue screen |
java.util.List |
getCopyToModules(Module currentModule)
Get modules that user can copy an issue to. |
java.util.List |
getCopyToModules(Module currentModule,
java.lang.String action)
|
java.util.List |
getCopyToModules(Module currentModule,
java.lang.String action,
java.lang.String searchString)
|
IssueType |
getCurrentIssueType()
The current issue type |
MITList |
getCurrentMITList()
|
Module |
getCurrentModule()
The current module |
ReportBridge |
getCurrentReport(java.lang.String key)
Gets an report stored in the temp hash under key. |
RModuleIssueType |
getCurrentRModuleIssueType()
The current RModuleIssueType which represents the module and issue type selected by the user within a request. |
java.util.List |
getCurrentRoleNames()
eturn the list of currently active roles. |
java.util.List |
getEditableModules()
Gets all modules the user has permissions to edit. |
java.util.List |
getEditableModules(Module currEditModule)
Gets all modules the user has permissions to edit. |
int |
getEnterIssueRedirect()
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. |
java.lang.String |
getHomePage()
The template/tab to show for the home page using the current module. |
java.lang.String |
getHomePage(Module module)
The template/tab to show for the home page in the given module. |
java.util.Locale |
getLocale()
Get the user's current locale. |
java.util.List |
getMITLists()
If this collection has already been initialized, returns the collection. |
java.util.List |
getModules()
Gets all modules which are currently associated with this user (relationship has not been deleted.) |
java.util.List |
getModules(boolean showDeletedModules)
Gets all modules which are currently associated with this user. |
Module[] |
getModules(java.lang.String permission)
Get a list of Module's that where a user has
the specified permission. |
Module[] |
getModules(java.lang.String[] permissions)
Get a list of Module's that where a user has
at least one of the permissions given. |
Module[] |
getModules(java.lang.String[] permissions,
boolean showDeletedModules)
Get a list of Module's that where a user has
at least one of the permissions given. |
java.lang.String |
getMostRecentQuery()
The most recent query entered. |
java.lang.String |
getName()
The user's full name. |
java.util.List |
getNonGlobalModules()
Gets all modules the user is associated to, except the Global one. |
java.util.Locale |
getPreferredLocale()
Get the user's preferred locale. |
java.lang.String |
getQueryTarget()
The template to show if the user is going to start a new query. |
Issue |
getReportingIssue(java.lang.String key)
Gets an issue stored in the temp hash under key. |
RModuleUserAttribute |
getRModuleUserAttribute(Module module,
Attribute attribute,
IssueType issueType)
Returns an RModuleUserAttribute object. |
java.util.List |
getRModuleUserAttributes(Module module,
IssueType issueType)
Returns list of RModuleUserAttribute objects for this User and Module -- the attributes the user has selected To appear on the IssueList for this module. |
java.util.List |
getRoleNames(Module module)
|
java.util.List |
getSearchableRMITs(java.lang.String searchField,
java.lang.String searchString,
java.lang.String sortColumn,
java.lang.String sortPolarity,
Module skipModule)
Returns a List of RModuleIssueTypes for which the user has the permission to search for issues. |
java.util.Map |
getSelectedUsersMap()
Get the working list of associated users For the AssignIssue screen |
java.lang.String |
getStats()
Report on size of several maps |
java.lang.Object |
getThreadKey()
key used to keep concurrent activities by the same user from overwriting each others state. |
java.util.List |
getUnusedRModuleIssueTypes(Module module)
returns a list of RModuleIssueTypes for the given module, excluding any that that have a corresponding MITListItem in the CurrentMITList. |
boolean |
hasAnyRoleIn(Module module)
Determine whether the user has any role in the given module. |
boolean |
hasAnySearchableRMITs()
Checks if the user can search for issues of at least one issue type in one module. |
boolean |
hasMostRecentQuery()
Check if the user has a previous query |
boolean |
hasPermission(java.lang.String perm,
java.util.List modules)
Returns true if this user has the given permission within all the given modules, false otherwise. |
boolean |
hasPermission(java.lang.String perm,
Module module)
Returns true if this user has the given permission within the given module, false otherwise. |
boolean |
hasRoleInModule(org.apache.fulcrum.security.entity.Role role,
Module module)
|
boolean |
isPasswordExpired()
Checks if the users password has expired. |
boolean |
isShowOtherModulesInIssueTypeList()
Get the ShowOtherModulesInIssueTypeList value. |
boolean |
isUserAnonymous()
Returns true if the user is the one set in scarab.anonymous.username, and false otherwise. |
java.lang.Object |
lastEnteredIssueTypeOrTemplate()
|
void |
removeItemsFromCurrentMITList(java.lang.String[] ids)
|
void |
setAssociatedUsersMap(java.util.Map associatedUsers)
Set the working list of associated users For the AssignIssue screen |
void |
setCurrentIssueType(IssueType v)
The current issue type |
void |
setCurrentMITList(MITList list)
|
void |
setCurrentModule(Module v)
The current module |
java.lang.String |
setCurrentReport(ReportBridge report)
Places an report into the session that can be retrieved using the key that is returned from the method. |
void |
setCurrentReport(java.lang.String key,
ReportBridge report)
Places an report into the session under the given key. |
void |
setEnterIssueRedirect(int templateCode)
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. |
void |
setHomePage(java.lang.String homePage)
The template/tab to show for the home page. |
void |
setLastEnteredIssueType(IssueType type)
|
void |
setLastEnteredTemplate(Issue template)
|
void |
setLocale(java.util.Locale newLocale)
Set the user's locale to a new value. |
void |
setMostRecentQuery(java.lang.String queryString)
The most recent query entered. |
void |
setPasswordExpire()
Sets the password to expire with information from the scarab.properties scarab.login.password.expire value. |
void |
setPasswordExpire(java.util.Calendar expire)
Sets the password to expire on the specified date. |
java.lang.String |
setReportingIssue(Issue issue)
Places an issue into the session that can be retrieved using the key that is returned from the method. |
void |
setReportingIssue(java.lang.String key,
Issue issue)
Places an issue into the session under the given key. |
void |
setSelectedUsersMap(java.util.Map selectedUsers)
Set the working list of associated users For the AssignIssue screen |
void |
setShowOtherModulesInIssueTypeList(boolean newShowOtherModulesInIssueTypeList)
Set the ShowOtherModulesInIssueTypeList value. |
void |
setSingleIssueTypeQueryTarget(IssueType type,
java.lang.String target)
Setup the users preference when entering a query for the given issue type. |
void |
setThreadKey(java.lang.Integer key)
key used to keep concurrent activities by the same user from overwriting each others state. |
void |
updateIssueListAttributes(java.util.List attributes)
Updates the attributes shown in IssueList.vm Removes any saved preferences for the current mit list or current module and issue type. |
| Methods inherited from class org.apache.fulcrum.security.impl.db.entity.TurbineUser |
getAccessCounter, getAccessCounterForSession, getLastAccessDate, getPerm, getPerm, getPermStorage, getTemp, getTemp, getTempStorage, hasLoggedIn, incrementAccessCounter, incrementAccessCounterForSession, isConfirmed, removeTemp, safeAddToHashtable, setAccessCounter, setAccessCounterForSession, setHasLoggedIn, setLastAccessDate, setName, setPerm, setPermStorage, setTemp, setTempStorage, updateLastLogin, valueBound, valueUnbound |
| Methods inherited from class org.apache.fulcrum.security.impl.db.entity.BaseTurbineUser |
addTurbineUserGroupRole, copy, copyInto, getByName, getByPeerName, getByPosition, getConfirmed, getCreateDate, getEmail, getFieldNames, getFirstName, getLastLogin, getLastName, getModified, getObjectdata, getPassword, getPeer, getPrimaryKey, getTurbineUserGroupRoles, getTurbineUserGroupRoles, getTurbineUserGroupRoles, getTurbineUserGroupRoles, getTurbineUserGroupRolesJoinTurbineGroup, getTurbineUserGroupRolesJoinTurbineRole, getTurbineUserGroupRolesJoinTurbineUser, getUserId, getUserName, initTurbineUserGroupRoles, save, save, save, setConfirmed, setCreateDate, setEmail, setFirstName, setLastLogin, setLastName, setModified, setObjectdata, setPassword, setPrimaryKey, setPrimaryKey, setUserId, setUserName |
| Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.tigris.scarab.om.ScarabUser |
getPrimaryKey, getQueryKey, getUserId, setPrimaryKey, setQueryKey, setUserId |
| Methods inherited from interface org.apache.fulcrum.security.entity.User |
getAccessCounter, getAccessCounterForSession, getConfirmed, getCreateDate, getEmail, getFirstName, getLastAccessDate, getLastLogin, getLastName, getPassword, getPerm, getPerm, getPermStorage, getTemp, getTemp, getTempStorage, getUserName, hasLoggedIn, incrementAccessCounter, incrementAccessCounterForSession, isConfirmed, removeTemp, setAccessCounter, setAccessCounterForSession, setConfirmed, setCreateDate, setEmail, setFirstName, setHasLoggedIn, setLastAccessDate, setLastLogin, setLastName, setPassword, setPerm, setPermStorage, setTemp, setTempStorage, setUserName, updateLastLogin |
| Methods inherited from interface org.apache.fulcrum.security.session.SessionBindingListener |
valueBound, valueUnbound |
| Methods inherited from interface org.apache.fulcrum.security.entity.SecurityEntity |
setName |
| Methods inherited from interface org.apache.torque.om.Persistent |
isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey |
| Field Detail |
public static final java.lang.String PASSWORD_EXPIRE
| Constructor Detail |
public ScarabUserImpl()
| Method Detail |
public java.lang.String getName()
ScarabUser
getName in interface ScarabUser
public static boolean checkConfirmationCode(java.lang.String username,
java.lang.String confirm)
If there is an Exception, it will also return false.
public static boolean confirmUser(java.lang.String username)
public boolean hasPermission(java.lang.String perm,
Module module)
ScarabUser
hasPermission in interface ScarabUserperm - a String permission value, which should
be a constant in this interface.module - a Module value
Determine if a user has a permission, either within the specified
module or within the 'Global' module.
public boolean hasPermission(java.lang.String perm,
java.util.List modules)
ScarabUser
hasPermission in interface ScarabUserScarabUser.hasPermission(String, List)
public java.util.List getModules()
throws org.apache.torque.TorqueException
ScarabUser
getModules in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getModules()
public java.util.List getModules(boolean showDeletedModules)
throws org.apache.torque.TorqueException
ScarabUser
getModules in interface ScarabUsershowDeletedModules - show modules which have been marked as deleted
org.apache.torque.TorqueExceptionScarabUser.getModules(boolean)
public Module[] getModules(java.lang.String permission)
throws org.apache.torque.TorqueException
ScarabUserModule's that where a user has
the specified permission. Does not show deleted modules.
(showDeleted = false)
getModules in interface ScarabUserpermission - a String value
Module[] value
org.apache.torque.TorqueExceptionpublic Module[] getModules(java.lang.String[] permissions)
ScarabUserModule's that where a user has
at least one of the permissions given. Does not show deleted modules.
(showDeleted = false)
getModules in interface ScarabUserpermissions - a String[] value
Module[] valueScarabUser.getModules(String[])
public java.util.List getCopyToModules(Module currentModule)
throws org.apache.torque.TorqueException
getCopyToModules in interface ScarabUserorg.apache.torque.TorqueException
public java.util.List getCopyToModules(Module currentModule,
java.lang.String action)
throws org.apache.torque.TorqueException
getCopyToModules in interface ScarabUserorg.apache.torque.TorqueException
public java.util.List getCopyToModules(Module currentModule,
java.lang.String action,
java.lang.String searchString)
throws org.apache.torque.TorqueException
getCopyToModules in interface ScarabUserorg.apache.torque.TorqueException
public Module[] getModules(java.lang.String[] permissions,
boolean showDeletedModules)
ScarabUserModule's that where a user has
at least one of the permissions given. Does not show deleted modules.
getModules in interface ScarabUserpermissions - a String[] valueshowDeletedModules - a boolean value
Module[] valueScarabUser.getModules(String[], boolean)
public boolean hasAnyRoleIn(Module module)
throws org.apache.torque.TorqueException
ScarabUser
hasAnyRoleIn in interface ScarabUsermodule - a Module value
boolean value
org.apache.torque.TorqueExceptionScarabUser.hasAnyRoleIn(Module)public java.util.List getCurrentRoleNames()
public void createNewUser()
throws org.apache.torque.TorqueException,
org.apache.fulcrum.security.util.DataBackendException,
org.apache.fulcrum.security.util.EntityExistsException
ScarabUser
createNewUser in interface ScarabUserorg.apache.torque.TorqueException
org.apache.fulcrum.security.util.DataBackendException
org.apache.fulcrum.security.util.EntityExistsExceptionScarabUser.createNewUser()
public java.util.List getEditableModules()
throws org.apache.torque.TorqueException
ScarabUser
getEditableModules in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getEditableModules()
public java.util.List getEditableModules(Module currEditModule)
throws org.apache.torque.TorqueException
ScarabUser
getEditableModules in interface ScarabUsercurrEditModule - the module we are currently editing
org.apache.torque.TorqueExceptionScarabUser.getEditableModules(Module)
public java.util.List getNonGlobalModules()
throws org.apache.torque.TorqueException
ScarabUser
getNonGlobalModules in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getNonGlobalModules()
public java.util.List getRModuleUserAttributes(Module module,
IssueType issueType)
throws org.apache.torque.TorqueException
ScarabUser
getRModuleUserAttributes in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getRModuleUserAttributes(Module, IssueType)
public RModuleUserAttribute getRModuleUserAttribute(Module module,
Attribute attribute,
IssueType issueType)
throws org.apache.torque.TorqueException,
ScarabException
ScarabUser
getRModuleUserAttribute in interface ScarabUserorg.apache.torque.TorqueException
ScarabExceptionScarabUser.getRModuleUserAttribute(Module, Attribute, IssueType)
public Issue getReportingIssue(java.lang.String key)
throws org.apache.torque.TorqueException
ScarabUser
getReportingIssue in interface ScarabUserkey - a String used as the key to retrieve the issue
Issue value
org.apache.torque.TorqueExceptionScarabUser.getReportingIssue(String)
public java.lang.String setReportingIssue(Issue issue)
throws ScarabException
ScarabUser
setReportingIssue in interface ScarabUserissue - an Issue to store in the session under a
new key
String value that can be used to retrieve
the issue
ScarabException - if issue is null.ScarabUser.setReportingIssue(Issue)
public void setReportingIssue(java.lang.String key,
Issue issue)
ScarabUser
setReportingIssue in interface ScarabUserkey - a String value under which to store the issueissue - an Issue value to store, null removes any
issue already stored under key.ScarabUser.setReportingIssue(String, Issue)
public ReportBridge getCurrentReport(java.lang.String key)
throws org.apache.torque.TorqueException
ScarabUser
getCurrentReport in interface ScarabUserkey - a String used as the key to retrieve the report
Report value
org.apache.torque.TorqueExceptionScarabUser.getCurrentReport(String)
public java.lang.String setCurrentReport(ReportBridge report)
throws ScarabException
ScarabUser
setCurrentReport in interface ScarabUserreport - an ReportBridge to store in the session under a
new key
String value that can be used to retrieve
the report
ScarabException - if report is null.ScarabUser.setCurrentReport(ReportBridge)
public void setCurrentReport(java.lang.String key,
ReportBridge report)
ScarabUser
setCurrentReport in interface ScarabUserkey - a String value under which to store the reportreport - an ReportBridge value to store, null removes any
report already stored under key.ScarabUser.setCurrentReport(String, ReportBridge)
public void setPasswordExpire()
throws org.apache.torque.TorqueException
setPasswordExpire in interface ScarabUserjava.lang.Exception - if problem setting the password.
org.apache.torque.TorqueException
public void setPasswordExpire(java.util.Calendar expire)
throws org.apache.torque.TorqueException
setPasswordExpire in interface ScarabUserexpire - a Calendar value specifying the expire date. If
this value is null, the password will be set to expire 10 years from the
current year. Since Logging in resets this value, it should be ok to
have someone's password expire after 10 years.
java.lang.Exception - if problem updating the password.
org.apache.torque.TorqueException
public boolean isPasswordExpired()
throws org.apache.torque.TorqueException,
ScarabException
isPasswordExpired in interface ScarabUserjava.lang.Exception - if problem querying for the password.
org.apache.torque.TorqueException
ScarabExceptionpublic boolean isUserAnonymous()
isUserAnonymous in interface ScarabUser
public int getEnterIssueRedirect()
throws org.apache.torque.TorqueException
getEnterIssueRedirect in interface ScarabUserorg.apache.torque.TorqueException
public void setEnterIssueRedirect(int templateCode)
throws org.apache.torque.TorqueException
setEnterIssueRedirect in interface ScarabUserorg.apache.torque.TorqueException
public java.lang.String getHomePage()
throws org.apache.torque.TorqueException
ScarabUser
getHomePage in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getHomePage()
public java.lang.String getHomePage(Module module)
throws org.apache.torque.TorqueException
ScarabUser
getHomePage in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getHomePage(Module)
public void setHomePage(java.lang.String homePage)
throws org.apache.torque.TorqueException,
ScarabException
ScarabUser
setHomePage in interface ScarabUserorg.apache.torque.TorqueException
ScarabExceptionScarabUser.setHomePage(String)public java.lang.String getQueryTarget()
ScarabUser
getQueryTarget in interface ScarabUserScarabUser.getQueryTarget()
public void setSingleIssueTypeQueryTarget(IssueType type,
java.lang.String target)
ScarabUser
setSingleIssueTypeQueryTarget in interface ScarabUserScarabUser.setSingleIssueTypeQueryTarget(IssueType, String)
public java.util.List getMITLists()
throws org.apache.torque.TorqueException
BaseScarabUserImpl
getMITLists in interface ScarabUsergetMITLists in class BaseScarabUserImplorg.apache.torque.TorqueExceptionScarabUser.getMITLists()
public boolean hasAnySearchableRMITs()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
ScarabUser
hasAnySearchableRMITs in interface ScarabUserorg.apache.torque.TorqueException
com.workingdogs.village.DataSetExceptionScarabUser.hasAnySearchableRMITs().
public java.util.List getSearchableRMITs(java.lang.String searchField,
java.lang.String searchString,
java.lang.String sortColumn,
java.lang.String sortPolarity,
Module skipModule)
throws org.apache.torque.TorqueException
ScarabUser
getSearchableRMITs in interface ScarabUserskipModule - do not include issue types for this module. Useful
for separating the current module.
List value
org.apache.torque.TorqueExceptionScarabUser.getSearchableRMITs(String, String, String, String, Module)
public java.util.List getUnusedRModuleIssueTypes(Module module)
throws org.apache.torque.TorqueException
ScarabUser
getUnusedRModuleIssueTypes in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getUnusedRModuleIssueTypes(Module).
public java.util.List getAllRModuleIssueTypes(Module module)
throws org.apache.torque.TorqueException
ScarabUser
getAllRModuleIssueTypes in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getAllRModuleIssueTypes(Module).
public void addRMITsToCurrentMITList(java.util.List rmits)
throws org.apache.torque.TorqueException
addRMITsToCurrentMITList in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.addRMITsToCurrentMITList(List)public MITList getCurrentMITList()
getCurrentMITList in interface ScarabUserScarabUser.getCurrentMITList()public void setCurrentMITList(MITList list)
setCurrentMITList in interface ScarabUserScarabUser.setCurrentMITList(MITList)public void removeItemsFromCurrentMITList(java.lang.String[] ids)
removeItemsFromCurrentMITList in interface ScarabUserScarabUser.removeItemsFromCurrentMITList(String[])public java.lang.Object lastEnteredIssueTypeOrTemplate()
lastEnteredIssueTypeOrTemplate in interface ScarabUserScarabUser.lastEnteredIssueTypeOrTemplate()public void setLastEnteredIssueType(IssueType type)
setLastEnteredIssueType in interface ScarabUserScarabUser.setLastEnteredIssueType(IssueType)public void setLastEnteredTemplate(Issue template)
setLastEnteredTemplate in interface ScarabUserScarabUser.setLastEnteredTemplate(Issue)public java.lang.String getMostRecentQuery()
ScarabUser
getMostRecentQuery in interface ScarabUserScarabUser.getMostRecentQuery()public void setMostRecentQuery(java.lang.String queryString)
ScarabUser
setMostRecentQuery in interface ScarabUserScarabUser.setMostRecentQuery(String)public boolean hasMostRecentQuery()
ScarabUser
hasMostRecentQuery in interface ScarabUserScarabUser.hasMostRecentQuery()
public java.util.Map getAssociatedUsersMap()
throws org.apache.torque.TorqueException
ScarabUser
getAssociatedUsersMap in interface ScarabUserorg.apache.torque.TorqueException
public void setAssociatedUsersMap(java.util.Map associatedUsers)
throws org.apache.torque.TorqueException
ScarabUser
setAssociatedUsersMap in interface ScarabUserorg.apache.torque.TorqueException
public java.util.Map getSelectedUsersMap()
throws org.apache.torque.TorqueException
ScarabUser
getSelectedUsersMap in interface ScarabUserorg.apache.torque.TorqueException
public void setSelectedUsersMap(java.util.Map selectedUsers)
throws org.apache.torque.TorqueException
ScarabUser
setSelectedUsersMap in interface ScarabUserorg.apache.torque.TorqueExceptionpublic java.lang.Object getThreadKey()
ScarabUser
getThreadKey in interface ScarabUserScarabUser.getThreadKey()public void setThreadKey(java.lang.Integer key)
ScarabUser
setThreadKey in interface ScarabUserScarabUser.setThreadKey(Integer)public Module getCurrentModule()
getCurrentModule in interface ScarabUserpublic void setCurrentModule(Module v)
setCurrentModule in interface ScarabUser
public IssueType getCurrentIssueType()
throws org.apache.torque.TorqueException
getCurrentIssueType in interface ScarabUserorg.apache.torque.TorqueExceptionpublic void setCurrentIssueType(IssueType v)
setCurrentIssueType in interface ScarabUser
public RModuleIssueType getCurrentRModuleIssueType()
throws org.apache.torque.TorqueException
ScarabUser
getCurrentRModuleIssueType in interface ScarabUserorg.apache.torque.TorqueExceptionScarabUser.getCurrentRModuleIssueType()
public void updateIssueListAttributes(java.util.List attributes)
throws org.apache.torque.TorqueException,
org.apache.fulcrum.security.util.TurbineSecurityException
ScarabUser
updateIssueListAttributes in interface ScarabUserorg.apache.torque.TorqueException
org.apache.fulcrum.security.util.TurbineSecurityExceptionScarabUser.updateIssueListAttributes(List)
public java.util.List getRoleNames(Module module)
throws org.apache.torque.TorqueException
getRoleNames in interface ScarabUserorg.apache.torque.TorqueExceptionpublic java.lang.String getStats()
public void setLocale(java.util.Locale newLocale)
setLocale in interface ScarabUserpublic java.util.Locale getLocale()
getLocale in interface ScarabUserpublic java.util.Locale getPreferredLocale()
getPreferredLocale in interface ScarabUserpublic boolean isShowOtherModulesInIssueTypeList()
ScarabUser
isShowOtherModulesInIssueTypeList in interface ScarabUserScarabUser.isShowOtherModulesInIssueTypeList()public void setShowOtherModulesInIssueTypeList(boolean newShowOtherModulesInIssueTypeList)
ScarabUser
setShowOtherModulesInIssueTypeList in interface ScarabUsernewShowOtherModulesInIssueTypeList - The new
ShowOtherModulesInIssueTypeList value.ScarabUser.setShowOtherModulesInIssueTypeList(boolean)public java.util.List getAssignIssuesList()
getAssignIssuesList in interface ScarabUserpublic org.apache.fulcrum.security.util.AccessControlList getACL()
getACL in interface ScarabUser
public boolean hasRoleInModule(org.apache.fulcrum.security.entity.Role role,
Module module)
hasRoleInModule in interface ScarabUser
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||