|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.data.constructor.DocumentConstructor<T>
public class DocumentConstructor<T extends IDocument>
Constructor for create Document object
| Method Summary | ||
|---|---|---|
static DocumentConstructor |
create()
Create empty constructor with entity object |
|
static
|
create(P entity)
Create entity constructor with provided entity object |
|
T |
end()
Get created document object |
|
DocumentConstructor |
insert()
Inset entity to database |
|
IDocument |
select()
Select entity from database by guid |
|
static void |
setConstructor(IConstructor<IDocument> constructor)
Setter for property 'constructor'. |
|
DocumentConstructor |
withDocumentName(String documentName)
Set document name to document object |
|
DocumentConstructor |
withGuid(String guid)
Set guid to document object |
|
DocumentConstructor |
withId(int id)
Set id to document object |
|
DocumentConstructor |
withSessionId(int sessionId)
Set session id to document object |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DocumentConstructor create()
public static <P extends IDocument> DocumentConstructor<IDocument> create(P entity)
public static void setConstructor(IConstructor<IDocument> constructor)
constructor - Value to set for property 'constructor'.public DocumentConstructor withId(int id)
id - ID to set
public DocumentConstructor withDocumentName(String documentName)
documentName - document name
public DocumentConstructor withSessionId(int sessionId)
sessionId - session id
public DocumentConstructor withGuid(String guid)
guid - document guid
public T end()
public DocumentConstructor insert()
throws AnnotationException
AnnotationException
public IDocument select()
throws AnnotationException
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||