|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.data.constructor.AnnotationConstructor<T>
public class AnnotationConstructor<T extends IAnnotation>
Constructor for create Annotation object
| Method Summary | ||
|---|---|---|
static AnnotationConstructor |
create()
Create empty constructor with entity object |
|
static
|
create(P entity)
Create entity constructor with provided entity object |
|
T |
end()
Get result entity object |
|
AnnotationConstructor |
insert()
Inset entity to database |
|
IAnnotation |
select()
Select entity from database by guid |
|
static void |
setConstructor(IConstructor<IAnnotation> constructor)
Setter for property 'constructor'. |
|
AnnotationConstructor |
withAccess(int access)
Set access to entity object |
|
AnnotationConstructor |
withAnnotationLeft(double annotationLeft)
Set entity left value to entity object |
|
AnnotationConstructor |
withAnnotationSessionId(int annotationSessionId)
Set entity session ID value to entity object |
|
AnnotationConstructor |
withAnnotationTop(double annotationTop)
Set entity top value to entity object |
|
AnnotationConstructor |
withCreatedOn(Date createdOn)
Set created date to entity object |
|
AnnotationConstructor |
withFieldText(String fieldText)
Set field text to entity object |
|
AnnotationConstructor |
withFontColor(int fontColor)
Set font color to entity object |
|
AnnotationConstructor |
withFontFamily(String fontFamily)
Set font family to entity object |
|
AnnotationConstructor |
withFontSize(float fontSize)
Set font size value to entity object |
|
AnnotationConstructor |
withGuid(String guid)
Set Guid to entity object |
|
AnnotationConstructor |
withHeight(double height)
Set height to entity object |
|
AnnotationConstructor |
withId(int id)
Set ID to entity object |
|
AnnotationConstructor |
withMarkerLeft(double markerLeft)
Set marker left value to entity object |
|
AnnotationConstructor |
withMarkerTop(double markerTop)
Set marker top value to entity object |
|
AnnotationConstructor |
withPageNumber(int pageNumber)
Set page number to entity object |
|
AnnotationConstructor |
withPenColor(int penColor)
Set pen color to entity object |
|
AnnotationConstructor |
withPenStyle(int penStyle)
Set pen style to entity object |
|
AnnotationConstructor |
withPenWidth(int penWidth)
Set pen width to entity object |
|
AnnotationConstructor |
withReplies(List<IReply> replies)
Set replies to entity object |
|
AnnotationConstructor |
withSvgPath(String svgPath)
Set svg path to entity object |
|
AnnotationConstructor |
withTextLength(int textLength)
Set text length to entity object |
|
AnnotationConstructor |
withTextPosition(int textPosition)
Set text position to entity object |
|
AnnotationConstructor |
withType(int type)
Set type to entity object |
|
AnnotationConstructor |
withUserId(int userId)
Set user id to entity object |
|
AnnotationConstructor |
withWidth(double width)
Set width 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 AnnotationConstructor create()
public static <P extends IAnnotation> AnnotationConstructor<IAnnotation> create(P entity)
public static void setConstructor(IConstructor<IAnnotation> constructor)
constructor - Value to set for property 'constructor'.public AnnotationConstructor withId(int id)
id - ID value
public AnnotationConstructor withCreatedOn(Date createdOn)
createdOn - created date
public AnnotationConstructor withGuid(String guid)
guid - Guid value
public AnnotationConstructor withFontFamily(String fontFamily)
fontFamily - font family
public AnnotationConstructor withAccess(int access)
access - access value
public AnnotationConstructor withAnnotationLeft(double annotationLeft)
annotationLeft - entity left value
public AnnotationConstructor withAnnotationTop(double annotationTop)
annotationTop - entity top
public AnnotationConstructor withAnnotationSessionId(int annotationSessionId)
annotationSessionId - entity session ID
public AnnotationConstructor withFieldText(String fieldText)
fieldText - field text value
public AnnotationConstructor withFontColor(int fontColor)
fontColor - font color value
public AnnotationConstructor withFontSize(float fontSize)
fontSize - font size value
public AnnotationConstructor withHeight(double height)
height - height value
public AnnotationConstructor withWidth(double width)
width - width value
public AnnotationConstructor withMarkerLeft(double markerLeft)
markerLeft - marker left value
public AnnotationConstructor withMarkerTop(double markerTop)
markerTop - marker top value
public AnnotationConstructor withPageNumber(int pageNumber)
pageNumber - page number
public AnnotationConstructor withPenColor(int penColor)
penColor - pen color
public AnnotationConstructor withPenStyle(int penStyle)
penStyle - pen style
public AnnotationConstructor withPenWidth(int penWidth)
penWidth - pen width
public AnnotationConstructor withReplies(List<IReply> replies)
replies - list of replies
public AnnotationConstructor withSvgPath(String svgPath)
svgPath - svg path
public AnnotationConstructor withTextLength(int textLength)
textLength - text length
public AnnotationConstructor withTextPosition(int textPosition)
textPosition - text position
public AnnotationConstructor withType(int type)
type - type
public AnnotationConstructor withUserId(int userId)
userId - user id
public T end()
public AnnotationConstructor insert()
throws AnnotationException
AnnotationException
public IAnnotation select()
throws AnnotationException
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||