public class UserSummary extends ServerResource implements IUserSummary
IUserSummary.UserType| Modifier and Type | Field and Description |
|---|---|
protected Date |
passwordChange |
protected Date |
ticketExpiration |
protected IUserSummary.UserType |
type |
refreshable, server, updateable| Constructor and Description |
|---|
UserSummary()
Default constructor; sets all fields to null or zero.
|
UserSummary(Map<String,Object> map,
boolean summaryOnly)
Construct a UserSummary from the passed-in map and summaryOnly values.
|
UserSummary(String loginName,
String email,
String fullName,
Date access,
Date update)
Explicit-value constructor.
|
UserSummary(String loginName,
String email,
String fullName,
Date access,
Date update,
IUserSummary.UserType type)
Explicit-value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getAccess() |
String |
getEmail() |
String |
getFullName() |
String |
getLoginName() |
Date |
getPasswordChange()
Get the date the password associated with this summary user expires.
|
Date |
getTicketExpiration()
Get the date the ticket associated with this summary user expires.
|
IUserSummary.UserType |
getType()
Get the UserType associated with this user.
|
Date |
getUpdate() |
void |
setAccess(Date access) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setLoginName(String loginName) |
void |
setType(IUserSummary.UserType type)
Set the UserType associated with this user.
|
void |
setUpdate(Date update) |
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRefresh, canUpdate, refresh, setServer, update, update, updateprotected IUserSummary.UserType type
protected Date ticketExpiration
protected Date passwordChange
public UserSummary()
public UserSummary(String loginName, String email, String fullName, Date access, Date update)
public UserSummary(String loginName, String email, String fullName, Date access, Date update, IUserSummary.UserType type)
public UserSummary(Map<String,Object> map, boolean summaryOnly)
If map is null, this is equivalent to calling the default constructor.
public Date getAccess()
getAccess in interface IUserSummaryIUserSummary.getAccess()public String getEmail()
getEmail in interface IUserSummaryIUserSummary.getEmail()public String getFullName()
getFullName in interface IUserSummaryIUserSummary.getFullName()public String getLoginName()
getLoginName in interface IUserSummaryIUserSummary.getLoginName()public Date getUpdate()
getUpdate in interface IUserSummaryIUserSummary.getUpdate()public void setAccess(Date access)
setAccess in interface IUserSummaryIUserSummary.setAccess(java.util.Date)public void setEmail(String email)
setEmail in interface IUserSummaryIUserSummary.setEmail(java.lang.String)public void setFullName(String fullName)
setFullName in interface IUserSummaryIUserSummary.setFullName(java.lang.String)public void setLoginName(String loginName)
setLoginName in interface IUserSummaryIUserSummary.setLoginName(java.lang.String)public void setUpdate(Date update)
setUpdate in interface IUserSummaryIUserSummary.setUpdate(java.util.Date)public IUserSummary.UserType getType()
IUserSummarygetType in interface IUserSummaryIUserSummary.getType()public void setType(IUserSummary.UserType type)
IUserSummarysetType in interface IUserSummaryIUserSummary.setType(com.perforce.p4java.core.IUserSummary.UserType)public Date getTicketExpiration()
IUserSummaryThis field will only be non-null if a) the user summary object it's a part of was retrieved using the IOptionsServer.getUsers method with the GetUsersOptions().setExtendedOutput option set to true; b) the caller was a super-user or admin; and, c) the Perforce server was 2011.1 or above. In all other cases the value of this field is either null or not reliable. This is a read-only field synthesized by the Perforce server, and can not be meaningfully set in the client.
getTicketExpiration in interface IUserSummaryIUserSummary.getTicketExpiration()public Date getPasswordChange()
IUserSummaryThis field will only be non-null if a) the user summary object it's a part of was retrieved using the IOptionsServer.getUsers method with the GetUsersOptions().setExtendedOutput option set to true; b) the caller was a super-user or admin; and, c) the Perforce server was 2011.1 or above. In all other cases the value of this field is either null or not reliable. This is a read-only field synthesized by the Perforce server, and can not be meaningfully set in the client.
getPasswordChange in interface IUserSummaryIUserSummary.getPasswordChange()Copyright © 2017 Perforce Software. All Rights Reserved.