Package mks.ci.server.engine
Class LocalTriggerManager.ScriptReviewSessionBean
- java.lang.Object
-
- mks.frame.triggers.ScriptExposableBaseBean
-
- mks.frame.triggers.beans.ScriptBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
-
- mks.ci.server.engine.LocalTriggerManager.ScriptReviewSessionBean
-
- All Implemented Interfaces:
mks.frame.triggers.ScriptExposableBean
- Enclosing class:
- LocalTriggerManager
public static class LocalTriggerManager.ScriptReviewSessionBean extends LocalTriggerManager.ScriptIMBaseBean implements mks.frame.triggers.ScriptExposableBean
The Review session Bean. This bean may be obtained from the server bean, via thegetReviewSessionOpBean
call. This is a read only bean
-
-
Constructor Summary
Constructors Constructor Description ScriptReviewSessionBean(int reviewSessionID, int contextID, int userId, java.util.Set<java.lang.String> reviewersList, java.lang.String operation, java.sql.Connection c)
Create a new ScriptReviewSessionBean
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getContextID()
Return the id of the documentjava.lang.String
getExposedName()
Returns the name of this bean that is exposed to the scripting language.java.lang.String
getOperation()
Returns operation performed on review session.java.util.Set<java.lang.String>
getReviewersList()
Returns the list containing reviewer namesint
getReviewSessionID()
Return the id of the review session-
Methods inherited from class mks.ci.server.engine.LocalTriggerManager.ScriptIMBaseBean
getCurrentDatabaseTime, getCurrentDatabaseTime, getCurrentUser, getServerBean, getUserID, isParallelProcessingEnabled
-
Methods inherited from class mks.frame.triggers.beans.ScriptBaseBean
getEnvironmentBean, setEnvironmentBean
-
-
-
-
Constructor Detail
-
ScriptReviewSessionBean
public ScriptReviewSessionBean(int reviewSessionID, int contextID, int userId, java.util.Set<java.lang.String> reviewersList, java.lang.String operation, java.sql.Connection c)
Create a new ScriptReviewSessionBean- Parameters:
reviewSessionID
-userId
- the current userc
- the database connectionreviewersList
-contextID
-operation
-
-
-
Method Detail
-
getExposedName
public java.lang.String getExposedName()
Returns the name of this bean that is exposed to the scripting language.- Specified by:
getExposedName
in interfacemks.frame.triggers.ScriptExposableBean
- Specified by:
getExposedName
in classScriptBaseBean
- Returns:
- the bean name:
imReviewSessionBean
.
-
getReviewSessionID
public int getReviewSessionID()
Return the id of the review session- Returns:
- the id of the review session
-
getContextID
public int getContextID()
Return the id of the document- Returns:
- the id of the document
-
getReviewersList
public java.util.Set<java.lang.String> getReviewersList()
Returns the list containing reviewer names- Returns:
- list of reviewers
-
getOperation
public java.lang.String getOperation()
Returns operation performed on review session.- Returns:
- operation performed
-
-