|
||||||||||
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, update, 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, update, 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 IUserSummary
IUserSummary.getAccess()
public String getEmail()
getEmail
in interface IUserSummary
IUserSummary.getEmail()
public String getFullName()
getFullName
in interface IUserSummary
IUserSummary.getFullName()
public String getLoginName()
getLoginName
in interface IUserSummary
IUserSummary.getLoginName()
public Date getUpdate()
getUpdate
in interface IUserSummary
IUserSummary.getUpdate()
public void setAccess(Date access)
setAccess
in interface IUserSummary
IUserSummary.setAccess(java.util.Date)
public void setEmail(String email)
setEmail
in interface IUserSummary
IUserSummary.setEmail(java.lang.String)
public void setFullName(String fullName)
setFullName
in interface IUserSummary
IUserSummary.setFullName(java.lang.String)
public void setLoginName(String loginName)
setLoginName
in interface IUserSummary
IUserSummary.setLoginName(java.lang.String)
public void setUpdate(Date update)
setUpdate
in interface IUserSummary
IUserSummary.setUpdate(java.util.Date)
public IUserSummary.UserType getType()
IUserSummary
getType
in interface IUserSummary
IUserSummary.getType()
public void setType(IUserSummary.UserType type)
IUserSummary
setType
in interface IUserSummary
IUserSummary.setType(com.perforce.p4java.core.IUserSummary.UserType)
public Date getTicketExpiration()
IUserSummary
This 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 IUserSummary
IUserSummary.getTicketExpiration()
public Date getPasswordChange()
IUserSummary
This 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 IUserSummary
IUserSummary.getPasswordChange()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |