|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.data.constructor.CollaboratorConstructor<T>
public class CollaboratorConstructor<T extends ICollaborator>
Constructor for create ICollaborator object
| Method Summary | ||
|---|---|---|
static CollaboratorConstructor |
create()
Create empty constructor with collaborator object |
|
static
|
create(P obj)
Create collaborator constructor with provided collaborator object |
|
T |
end()
Get result entity object |
|
CollaboratorConstructor |
insert()
Inset entity to database |
|
ICollaborator |
select()
Select entity from database by guid |
|
static void |
setConstructor(IConstructor<ICollaborator> constructor)
Setter for property 'constructor'. |
|
CollaboratorConstructor |
withAccessRights(int accessRights)
Set accessRights to collaborator object |
|
CollaboratorConstructor |
withAnnotationSessionId(int annotationSessionId)
Set ID to collaborator object |
|
CollaboratorConstructor |
withColor(int color)
Set ID to collaborator object |
|
CollaboratorConstructor |
withGuid(String guid)
Set guid to collaborator object |
|
CollaboratorConstructor |
withId(int id)
Set ID to collaborator object |
|
CollaboratorConstructor |
withJoinedOn(Date joinedOn)
Set ID to collaborator object |
|
CollaboratorConstructor |
withUserId(int userId)
Set user id to collaborator object |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CollaboratorConstructor create()
public static <P extends ICollaborator> CollaboratorConstructor<ICollaborator> create(P obj)
public static void setConstructor(IConstructor<ICollaborator> constructor)
constructor - Value to set for property 'constructor'.public CollaboratorConstructor withId(int id)
id - ID to set
public CollaboratorConstructor withAccessRights(int accessRights)
accessRights - access rights
public CollaboratorConstructor withAnnotationSessionId(int annotationSessionId)
annotationSessionId - annotation session id to set
public CollaboratorConstructor withColor(int color)
color - color to set
public CollaboratorConstructor withJoinedOn(Date joinedOn)
joinedOn - joined on date to set
public CollaboratorConstructor withUserId(int userId)
userId - user id to set
public CollaboratorConstructor withGuid(String guid)
guid - guid to set
public T end()
public CollaboratorConstructor insert()
throws AnnotationException
AnnotationException
public ICollaborator select()
throws AnnotationException
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||