|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.groupdocs.annotation.data.constructor.SessionConstructor<T>
public class SessionConstructor<T extends ISession>
Constructor for create Session object
| Method Summary | ||
|---|---|---|
static SessionConstructor |
create()
Create empty constructor with entity object |
|
static
|
create(P entity)
Create entity constructor with provided entity object |
|
ISession |
end()
Get created entity object |
|
SessionConstructor |
insert()
Inset entity to database |
|
ISession |
select()
Select entity from database by guid |
|
static void |
setConstructor(IConstructor<ISession> constructor)
Setter for property 'constructor'. |
|
SessionConstructor |
withCallbackUrl(String callbackUrl)
Set callback url to entity object |
|
SessionConstructor |
withDocumentId(int documentId)
Set Document id to entity object |
|
SessionConstructor |
withGuid(String guid)
Set Guid to entity object |
|
SessionConstructor |
withId(int id)
Set ID to entity object |
|
SessionConstructor |
withSharedLinkAccessRights(int sharedLinkAccessRights)
Set shared link access rights to entity object |
|
SessionConstructor |
withStartedOn(Date startedOn)
Set started on date to entity object |
|
SessionConstructor |
withUserId(int userId)
Set user id 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 SessionConstructor create()
public static <P extends ISession> SessionConstructor<ISession> create(P entity)
public static void setConstructor(IConstructor<ISession> constructor)
constructor - Value to set for property 'constructor'.public SessionConstructor withId(int id)
id - ID to set
public SessionConstructor withUserId(int userId)
userId - user id
public SessionConstructor withCallbackUrl(String callbackUrl)
callbackUrl - callback url
public SessionConstructor withDocumentId(int documentId)
documentId - document id
public SessionConstructor withGuid(String guid)
guid - guid
public SessionConstructor withSharedLinkAccessRights(int sharedLinkAccessRights)
sharedLinkAccessRights - shared link access rights
public SessionConstructor withStartedOn(Date startedOn)
startedOn - started on date
public ISession end()
public SessionConstructor insert()
throws AnnotationException
AnnotationException
public ISession select()
throws AnnotationException
AnnotationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||