|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.perforce.p4java.impl.generic.core.ServerResource
com.perforce.p4java.impl.generic.core.UserSummary
public class UserSummary
Default implementation class for IUserSummary interface.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.perforce.p4java.core.IUserSummary |
|---|
IUserSummary.UserType |
| Field Summary | |
|---|---|
protected Date |
passwordChange
|
protected Date |
ticketExpiration
|
protected IUserSummary.UserType |
type
|
| Fields inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
|---|
refreshable, server, updateable |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource |
|---|
canRefresh, canUpdate, complete, refresh, setRefreshable, setServer, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.perforce.p4java.core.IServerResource |
|---|
canRefresh, canUpdate, refresh, setServer, update |
| Field Detail |
|---|
protected IUserSummary.UserType type
protected Date ticketExpiration
protected Date passwordChange
| Constructor Detail |
|---|
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.
| Method Detail |
|---|
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()
IUserSummary
getType in interface IUserSummaryIUserSummary.getType()public void setType(IUserSummary.UserType type)
IUserSummary
setType 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||