|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.data.constructor.UserConstructor<T>
public class UserConstructor<T extends IUser>
Constructor for create User object
| Method Summary | ||
|---|---|---|
static UserConstructor |
create()
Create empty constructor with entity object |
|
static
|
create(P entity)
Create entity constructor with provided entity object |
|
IUser |
end()
Get created User object |
|
UserConstructor |
insert()
Inset entity to database |
|
IUser |
select()
Select entity from database by guid |
|
static void |
setConstructor(IConstructor<IUser> constructor)
Setter for property 'constructor'. |
|
UserConstructor |
withAccountId(int accountId)
Set account id to entity object |
|
UserConstructor |
withFirstName(String firstName)
Set FirstName to entity object |
|
UserConstructor |
withGuid(String guid)
Set Guid to entity object |
|
UserConstructor |
withId(int id)
Set ID to entity object |
|
UserConstructor |
withIsActivated(Boolean isActivated)
Set IsActivated to entity object |
|
UserConstructor |
withIsPrimary(Boolean isPrimary)
Set IsPrimary to entity object |
|
UserConstructor |
withLastName(String lastName)
Set LastName to entity object |
|
UserConstructor |
withNewsletterEnabled(Boolean newsletterEnabled)
Set NewsletterEnabled to entity object |
|
UserConstructor |
withPassword(String password)
Set Password to entity object |
|
UserConstructor |
withPhoto(byte[] photo)
Set Photo to entity object (bytes of png image) |
|
UserConstructor |
withPswdResetToken(String pswdResetToken)
Set PswdResetToken to entity object |
|
UserConstructor |
withSigninCount(int signinCount)
Set SigninCount to entity object |
|
UserConstructor |
withSigninDate(Date signinDate)
Set SigninDate to entity object |
|
UserConstructor |
withSignupDate(Date signupDate)
Set SignupDate to entity object |
|
UserConstructor |
withUserName(String userName)
Set UserName to entity object |
|
UserConstructor |
withVerificationToken(String verificationToken)
Set VerificationToken to entity object |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static UserConstructor create()
public static <P extends IUser> UserConstructor<IUser> create(P entity)
public static void setConstructor(IConstructor<IUser> constructor)
constructor - Value to set for property 'constructor'.public UserConstructor withId(int id)
id - ID to set
public UserConstructor withGuid(String guid)
guid - Guid
public UserConstructor withAccountId(int accountId)
accountId - account id
public UserConstructor withFirstName(String firstName)
firstName - first name
public UserConstructor withIsActivated(Boolean isActivated)
isActivated - is activated
public UserConstructor withIsPrimary(Boolean isPrimary)
isPrimary - is primary
public UserConstructor withLastName(String lastName)
lastName - last name
public UserConstructor withNewsletterEnabled(Boolean newsletterEnabled)
newsletterEnabled - newsletter enabled
public UserConstructor withPassword(String password)
password - password
public UserConstructor withPhoto(byte[] photo)
photo - photo
public UserConstructor withPswdResetToken(String pswdResetToken)
pswdResetToken - pswd reset token
public UserConstructor withSigninCount(int signinCount)
signinCount - signin count
public UserConstructor withSigninDate(Date signinDate)
signinDate - signin date
public UserConstructor withSignupDate(Date signupDate)
signupDate - signup date
public UserConstructor withUserName(String userName)
userName - user name
public UserConstructor withVerificationToken(String verificationToken)
verificationToken - verification token
public IUser end()
public UserConstructor insert()
throws AnnotationException
AnnotationException
public IUser select()
throws AnnotationException
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||