com.ibm.portal.sitemanagement.command
Interface DemoteCommand

All Superinterfaces:
Disposable, SitemanagementCommand

public interface DemoteCommand
extends SitemanagementCommand

The DemoteCommand moves a promoted resource back into the publish state and in case there is a bacckup version available this one gets moved back into live state. So the old version will be visible for all users again

Note: This command can only be executed once.

Since:
6.1

Method Summary
 void execute()
          Executes the Demote command
 
Methods inherited from interface com.ibm.portal.sitemanagement.command.SitemanagementCommand
setHierarchy, setResource, setResource
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Method Detail

execute

void execute()
             throws NodeNotFoundException,
                    CannotDemotePageException
Executes the Demote command

Specified by:
execute in interface SitemanagementCommand
Throws:
NodeNotFoundException - is thrown if the given resource couldn't be found
CannotDemotePageException - is thrown if an error during the demote proccessing occurs