| java.lang.Object com.ivata.groupware.business.addressbook.person.group.right.UserRightFilter
UserRightFilter | public class UserRightFilter implements Serializable(Code) | | Some classes access the system on the basis of user rights, and use this
class to filter the results according to the parameters given
The parameters here are the same as for
RightLocalHome.findTargetIdByUserNameAccessDetailRightLocalHome.findTargetIdByUserNameAccessDetail .
since: 2002-05-19 author: Colin MacLeod author: colin.macleod@ivata.com See Also: RightLocalHome.findTargetIdByUserNameAccessDetail version: $Revision: 1.2 $ |
UserRightFilter | public UserRightFilter()(Code) | | Default constructor.
|
equals | public boolean equals(Object compare)(Code) | | Comparison method. See if the object supplied is a user right filter and,
if so, whether or not its contents are the same as this one.
Parameters: compare - the object to compare with this one. true if the filter supplied in compare is effectively the same as this one, otherwise false. |
getAccess | final public Integer getAccess()(Code) | | Get the access type. This parameter should be set to one of the 'ACCESS_...'
constants in
RightConstants RightConstants .
the value of the access type. See Also: RightConstants |
getDetail | final public Integer getDetail()(Code) | | Get the detail of the user right being checked. This parameter should
be set to one of the 'DETAIL_...' constants in
RightConstants RightConstants .
the user right detail. See Also: RightConstants |
getUserName | final public String getUserName()(Code) | | Get the name of the user for whom the results will be filtered.
the name of the user for whom the results will be filtered. |
setAccess | final public void setAccess(Integer access)(Code) | | Set the access type. This parameter should be set to one of the 'ACCESS_...'
constants in
RightConstants RightConstants .
Parameters: access - the new value of the access type. See Also: RightConstants |
setDetail | final public void setDetail(Integer detail)(Code) | | Set the detail of the user right being checked. This parameter should
be set to one of the 'DETAIL_...' constants in
RightConstants RightConstants .
Parameters: detail - the new value of the user right detail. See Also: RightConstants |
setUserName | final public void setUserName(String userName)(Code) | | Set the name of the user for whom the results will be filtered.
Parameters: userName - new name for the user for whom the results willbe filtered. |
|
|