|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.dmsdialogs.views.OwStandardCheckInHandler
public class OwStandardCheckInHandler
Standard implementation for OwCheckInHandler
.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary | |
---|---|
static String |
CHECKIN_MODES_CONTROL_NAME
name of the HTML release checkbox |
static String |
CHECKIN_RELEASE_CONTROL_NAME
name of the HTML release checkbox |
protected boolean |
m_checkInAsMajorVersion
major version check in flag |
protected List |
m_checkInModes
check in modes list |
protected boolean |
m_displayReleaseBox
flag for displaying release checkbox |
protected Object |
m_ModeObject
current checkin mode selection |
protected boolean |
m_releaseVersion
release version flag |
Constructor Summary | |
---|---|
OwStandardCheckInHandler()
|
Method Summary | |
---|---|
void |
computeCheckinOptions(javax.servlet.http.HttpServletRequest request_p)
Compute the checkin options. |
Object |
getCheckinModeObject()
Get selected check in mode. |
boolean |
isReleaseVersion()
Getter for release version flag. |
void |
renderCheckInModes(Writer w_p,
OwMainAppContext context_p)
Render the check in modes. |
void |
renderCheckInOptions(Writer w_p,
OwMainAppContext context_p)
Render the check in option (checkbox for creating a released version) |
void |
setCheckInOptions(List modes_p,
boolean fDisplayReleaseBox_p)
Set the check in options. |
void |
setCheckInVersionMajor(boolean checkInAsMajorVersion_p)
set if check-in Version is major or minor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List m_checkInModes
protected boolean m_displayReleaseBox
protected boolean m_checkInAsMajorVersion
protected boolean m_releaseVersion
protected Object m_ModeObject
public static final String CHECKIN_RELEASE_CONTROL_NAME
public static final String CHECKIN_MODES_CONTROL_NAME
Constructor Detail |
---|
public OwStandardCheckInHandler()
Method Detail |
---|
public void setCheckInOptions(List modes_p, boolean fDisplayReleaseBox_p) throws Exception
OwCheckInHandler
setCheckInOptions
in interface OwCheckInHandler
modes_p
- - the list of checkin objects.fDisplayReleaseBox_p
- - flag for displaying a check box for release.
Exception
public void setCheckInVersionMajor(boolean checkInAsMajorVersion_p)
setCheckInVersionMajor
in interface OwCheckInHandler
checkInAsMajorVersion_p
- public void computeCheckinOptions(javax.servlet.http.HttpServletRequest request_p)
computeCheckinOptions
in interface OwCheckInHandler
request_p
- - the HttpServletRequest
objectpublic Object getCheckinModeObject()
OwCheckInHandler
getCheckinModeObject
in interface OwCheckInHandler
public boolean isReleaseVersion()
OwCheckInHandler
isReleaseVersion
in interface OwCheckInHandler
true
if the created document is releasedpublic void renderCheckInOptions(Writer w_p, OwMainAppContext context_p) throws Exception
OwCheckInHandler
renderCheckInOptions
in interface OwCheckInHandler
w_p
- - the Writer
objectcontext_p
- - the OwMainAppContext
object
Exception
public void renderCheckInModes(Writer w_p, OwMainAppContext context_p) throws Exception
OwCheckInHandler
renderCheckInModes
in interface OwCheckInHandler
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |