public interface IUser extends IUserSummary
IUser objects are complete and updateable only if they come from the IServer.getUser() method (or are hand-crafted); user objects from other sources are not complete or completable, and nor are they refreshable. Setter methods defined below or on the superclass affect only local values unless a suitable update is done.
IUserSummary.UserType
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJobView() |
java.lang.String |
getPassword() |
ViewMap<IReviewSubscription> |
getReviewSubscriptions() |
void |
setJobView(java.lang.String jobView) |
void |
setPassword(java.lang.String password) |
void |
setReviewSubscriptions(ViewMap<IReviewSubscription> subs) |
void |
update(boolean force)
Updates this user on the Perforce server; if force is
true, force the change (requires super user / admin
privileges to work properly).
|
getAccess, getEmail, getFullName, getLoginName, getPasswordChange, getTicketExpiration, getType, getUpdate, setAccess, setEmail, setFullName, setLoginName, setType, setUpdate
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update
java.lang.String getPassword()
void setPassword(java.lang.String password)
java.lang.String getJobView()
void setJobView(java.lang.String jobView)
ViewMap<IReviewSubscription> getReviewSubscriptions()
void setReviewSubscriptions(ViewMap<IReviewSubscription> subs)
void update(boolean force) throws ConnectionException, RequestException, AccessException
update
in interface IServerResource
force
- if true, force the update of the object on the server.ConnectionException
- if the Perforce server is unreachable or is not
connected.RequestException
- if the Perforce server encounters an error during
its processing of the requestAccessException
- if the Perforce server denies access to the caller