|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wdf.stack.Control
com.sapportals.wcm.control.base.WcmBaseControl
com.sapportals.wcm.control.base.WcmResourceControl
com.sapportals.wcm.control.navigation.ArchivingControl
public class ArchivingControl
This control take a possibility to the user to mark for archiving given resource. This happen only in the cases when the document isn't marked yet and when the approval is enable for this resource.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sapportals.wcm.control.base.WcmResourceControl |
|---|
WcmResourceControl.ResourceNotFoundException |
| Field Summary |
|---|
| Fields inherited from class com.sapportals.wcm.control.base.WcmResourceControl |
|---|
START_PAGE_BROWSE, START_PAGE_DETAILS, uri |
| Fields inherited from class com.sapportals.wcm.control.base.WcmBaseControl |
|---|
BLANK_LINK_TARGET, CELL_PADDING_STANDARD, CELL_SPACING_STANDARD, CONTROL_HEADER_STANDARD, DETAILS_CONFIG_FILE, NONE, RES_BUTTON_ADD, RES_BUTTON_APPLY, RES_BUTTON_BACK, RES_BUTTON_CANCEL, RES_BUTTON_CLOSE, RES_BUTTON_LOAD, RES_BUTTON_MORE, RES_BUTTON_OK, RES_BUTTON_REMOVE, RES_BUTTON_SAVE, RES_BUTTON_SELECT, RES_BUTTON_UPDATE, resourceContext, SUMMARY |
| Fields inherited from class com.sapportals.wdf.stack.Control |
|---|
id |
| Constructor Summary | |
|---|---|
ArchivingControl()
Default Constructor |
|
ArchivingControl(String controlID)
Constructor with ConstrolID |
|
| Method Summary | |
|---|---|
boolean |
getSendBackEvent()
Gets the sendBackEvent attribute of the ResourceSetStatemanagementControl object |
boolean |
isApprovalActive()
|
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event)
Description of the Method |
com.sapportals.wdf.event.WdfEvent |
onCancelApproval(com.sapportals.htmlb.event.Event event)
Handle method for button 'CancelApproval' |
com.sapportals.wdf.event.WdfEvent |
onForceApproval(com.sapportals.htmlb.event.Event event)
Handle method for button 'ForceApproval' |
com.sapportals.wdf.event.WdfEvent |
onMark(com.sapportals.htmlb.event.Event event)
Mark the resource and its children if the resource is collection |
com.sapportals.wdf.event.WdfEvent |
onUnMark(com.sapportals.htmlb.event.Event event)
Handlermethod for button 'UnMark' |
void |
readInputData()
|
void |
receive(com.sapportals.wdf.event.WdfEvent impEvent)
Description of the Method |
com.sapportals.htmlb.Component |
render()
renderes the complete Control |
void |
setSendBackEvent(boolean flag)
Sets the sendBackEvent attribute of the ResourceSetStatemanagementControl object |
| Methods inherited from class com.sapportals.wcm.control.base.WcmResourceControl |
|---|
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUri |
| Methods inherited from class com.sapportals.wcm.control.base.WcmBaseControl |
|---|
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisible |
| Methods inherited from class com.sapportals.wdf.stack.Control |
|---|
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchivingControl()
throws WcmException
WcmException - Exception raised in failure situation
public ArchivingControl(String controlID)
throws WcmException
controlID - Description of the param
WcmException - Exception raised in failure situation| Method Detail |
|---|
public com.sapportals.htmlb.Component render()
render in class com.sapportals.wdf.stack.Controlpublic com.sapportals.wdf.event.WdfEvent onMark(com.sapportals.htmlb.event.Event event)
event - Description of the param
public com.sapportals.wdf.event.WdfEvent onUnMark(com.sapportals.htmlb.event.Event event)
event - Description of the param
public com.sapportals.wdf.event.WdfEvent onCancelApproval(com.sapportals.htmlb.event.Event event)
event - Description of the param
public com.sapportals.wdf.event.WdfEvent onForceApproval(com.sapportals.htmlb.event.Event event)
event - Description of the param
public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws WcmException
event - Description of the param
WcmException - Exception raised in failure situation
public void readInputData()
throws com.sapportals.wdf.WdfException
readInputData in class WcmBaseControlcom.sapportals.wdf.WdfException
public void receive(com.sapportals.wdf.event.WdfEvent impEvent)
throws com.sapportals.wdf.WdfException
receive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlimpEvent - Description of the param
com.sapportals.wdf.WdfException - Exception raised in failure situationpublic void setSendBackEvent(boolean flag)
flag - The new sendBackEvent valuepublic boolean getSendBackEvent()
public boolean isApprovalActive()
throws WcmException
WcmException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||