|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PublishCommand
The PublishCommand transfers the specified resource between two servers. Once the resource is moved it is only visible for a certain set of users. The resource will be hidden by a visibiliry rule
Note: This command can only be executed once.
| Method Summary | |
|---|---|
void |
execute()
Executes the Publish command |
void |
setNextResource(Identifiable sibling)
Sets the reference to the next resource |
void |
setNextResource(java.lang.String siblingUniqueName)
Sets the reference to the next resource |
void |
setParentResource(Identifiable parent)
Sets the reference to the parent |
void |
setParentResource(java.lang.String parentUniqueName)
Sets the reference to the parent |
| Methods inherited from interface com.ibm.portal.sitemanagement.command.SitemanagementCommand |
|---|
setHierarchy, setResource, setResource |
| Methods inherited from interface com.ibm.portal.Disposable |
|---|
dispose |
| Method Detail |
|---|
void execute()
throws SiblingNotFoundException,
ParentNotFoundException,
NodeNotFoundException,
CannotPublishPageException
execute in interface SitemanagementCommandSiblingNotFoundException - is thrown if the referenced sibling couldn't be found
ParentNotFoundException - is thrown if the referenced parent couldn't be found
NodeNotFoundException - is thrown if the given resource couldn't be found
CannotPublishPageException - is thrown if an error during the publish proccessing occursvoid setParentResource(Identifiable parent)
parent - Identifiable referencevoid setParentResource(java.lang.String parentUniqueName)
parentUniqueName - referencevoid setNextResource(Identifiable sibling)
sibling - Identifiable referencevoid setNextResource(java.lang.String siblingUniqueName)
siblingUniqueName - reference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||