public interface I_CmsContextMenuHandler
限定符和类型 | 方法和说明 |
---|---|
boolean |
ensureLockOnResource(CmsUUID structureId)
Tries to lock the given resource and returns
true on success. |
java.util.Map<java.lang.String,I_CmsContextMenuCommand> |
getContextMenuCommands()
Returns the available context menu commands as a map by class name.
|
void |
leavePage(java.lang.String targetUri)
Leaves the current page calling the target URI.
|
void |
refreshResource(CmsUUID structureId)
Reloads the resource edited.
|
void |
unlockResource(CmsUUID structureId)
Unlocks the resource if appropriate.
|
boolean ensureLockOnResource(CmsUUID structureId)
true
on success.
If not successful a warning should be displayed.structureId
- the structure id of the resource to locktrue
if successfuljava.util.Map<java.lang.String,I_CmsContextMenuCommand> getContextMenuCommands()
void leavePage(java.lang.String targetUri)
targetUri
- the target URIvoid refreshResource(CmsUUID structureId)
structureId
- the structure id of the resource to lockvoid unlockResource(CmsUUID structureId)
structureId
- the structure id of the resource to lock