| Package | Description |
|---|---|
| org.alfresco.wcm.sandbox.script |
| Modifier and Type | Method and Description |
|---|---|
Asset |
Sandbox.getAsset(String path)
Get the specified asset (Either folder or file)
|
Asset |
Sandbox.getAssetWebApp(String webApp,
String path)
Get the specified asset with a path relative to the specified web app.
|
Asset[] |
Asset.getChildren()
Get children of this asset, returns an empty array if there are no children.
|
Asset[] |
Sandbox.getModifiedAssets()
Get the modified assets within this sandbox
|
Asset[] |
Sandbox.getModifiedAssetsWebApp(String webApp)
Get the modified assets within this sandbox
|
Asset |
Asset.move(String newPath)
move this asset
|
Asset |
Asset.rename(String newName)
rename this asset
|
| Modifier and Type | Method and Description |
|---|---|
void |
Sandbox.revertAssets(Asset[] files)
Revert the specified assets (files and directories) modified contents of this sandbox
|
void |
Sandbox.submitAssets(Asset[] files,
String submitLabel,
String submitComment)
Submit the specified assets (files and directories) modified contents of this sandbox
|
Copyright © 2005–2014 Alfresco Software. All rights reserved.