|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.data.constructor.ReplyConstructor<T>
public class ReplyConstructor<T extends IReply>
Constructor for create Reply object
| Method Summary | ||
|---|---|---|
static ReplyConstructor |
create()
Create empty constructor with entity object |
|
static
|
create(P entity)
Create entity constructor with provided entity object |
|
T |
end()
Get created reply object |
|
ReplyConstructor |
insert()
Inset entity to database |
|
IReply |
select()
Select entity from database by guid |
|
static void |
setConstructor(IConstructor<IReply> constructor)
Setter for property 'constructor'. |
|
ReplyConstructor |
withAnnotationId(int annotationId)
Set annotation id to reply object |
|
ReplyConstructor |
withGuid(String guid)
Set guid to reply object |
|
ReplyConstructor |
withId(int id)
Set ID to reply object |
|
ReplyConstructor |
withMessage(String messageText)
Set message text to reply object |
|
ReplyConstructor |
withParentReplyId(int parentReplyId)
Set parent reply id to reply object |
|
ReplyConstructor |
withRepliedOn(Date repliedOn)
Set replied date to reply object |
|
ReplyConstructor |
withUserId(int userId)
Set user id to reply object |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ReplyConstructor create()
public static <P extends IReply> ReplyConstructor<IReply> create(P entity)
public static void setConstructor(IConstructor<IReply> constructor)
constructor - Value to set for property 'constructor'.public ReplyConstructor withId(int id)
id - ID to set
public ReplyConstructor withRepliedOn(Date repliedOn)
repliedOn - reply date
public ReplyConstructor withUserId(int userId)
userId - user id
public ReplyConstructor withAnnotationId(int annotationId)
annotationId - annotation id
public ReplyConstructor withGuid(String guid)
guid - guid to set
public ReplyConstructor withMessage(String messageText)
messageText - message text
public ReplyConstructor withParentReplyId(int parentReplyId)
parentReplyId - parent reply id
public T end()
public ReplyConstructor insert()
throws AnnotationException
AnnotationException
public IReply select()
throws AnnotationException
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||