|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RefreshPageLayoutCommand
This command re-loads the page layout template information and updates the static page content accordingly.
The command can be used as follows:
RefreshPageLayoutCommand.ExecutionContext ctx = DefaultRefreshPageLayoutCommandContext.getContext(yourContentModelController, yourCorContext); RefreshPageLayoutCommand cmd = yourCommandFactory.createCommand(ctx); cmd.refresh(yourStaticContentPage); // you may now call the refresh() for other static pages using the same controller ... ctrl.commit(); ctrl.dispose(); cmd.dispose();
ContentModelController
,
CommandFactory
,
com.ibm.portal.model.command.helper.DefaultRefreshPageLayoutCommandContext
Nested Class Summary | |
---|---|
static interface |
RefreshPageLayoutCommand.ExecutionContext
The command context. |
Method Summary | |
---|---|
void |
fullRefresh(StaticContentPage page)
Re-loads the page layout template information and updates the static page content accordingly. |
void |
refresh(StaticContentPage page)
Re-loads the page layout template information and updates the static page content accordingly. |
Methods inherited from interface com.ibm.portal.model.command.Command |
---|
getCommandClass |
Methods inherited from interface com.ibm.portal.Disposable |
---|
dispose |
Method Detail |
---|
void refresh(StaticContentPage page) throws ModelException, java.net.URISyntaxException, java.io.IOException
controller
- The controller object responsible for comitting this operation. The page won't be acutally refreshed until the controller's commit()
method is invoked.page
- The page to be refreshed.
ModelException
java.net.URISyntaxException
java.io.IOException
void fullRefresh(StaticContentPage page) throws ModelException, java.net.URISyntaxException, java.io.IOException
controller
- The controller object responsible for comitting this operation. The page won't be acutally refreshed until the controller's commit()
method is invoked.page
- The page to be refreshed.
ModelException
java.net.URISyntaxException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |