| Package | Description |
|---|---|
| org.alfresco.wcm.asset | |
| org.alfresco.wcm.sandbox | |
| org.alfresco.wcm.sandbox.script |
| Modifier and Type | Class and Description |
|---|---|
class |
AssetInfoImpl
Provides information about a WCM asset
|
| Modifier and Type | Method and Description |
|---|---|
AssetInfo |
AssetService.copyAsset(AssetInfo asset,
String parentFolderPath)
Copy asset(s) within sandbox
|
AssetInfo |
AssetServiceImpl.copyAsset(AssetInfo asset,
String parentFolderPath) |
AssetInfo |
AssetService.getAsset(String sbStoreId,
int version,
String path,
boolean includeDeleted)
Get asset (file or folder) for given sandbox version and path, optionally include deleted assets
|
AssetInfo |
AssetServiceImpl.getAsset(String sbStoreId,
int version,
String path,
boolean includeDeleted) |
AssetInfo |
AssetService.getAsset(String sbStoreId,
String path)
Get asset (file or folder) for given sandbox and path
|
AssetInfo |
AssetServiceImpl.getAsset(String sbStoreId,
String path) |
AssetInfo |
AssetService.getAssetWebApp(String sbStoreId,
String webApp,
String pathRelativeToWebApp)
Get asset (file or folder) for given sandbox, webApp and path (within webApp)
|
AssetInfo |
AssetServiceImpl.getAssetWebApp(String sbStoreId,
String webApp,
String pathRelativeToWebApp) |
AssetInfo |
AssetService.getAssetWebApp(String sbStoreId,
String webApp,
String pathRelativeToWebApp,
boolean includeDeleted)
Get asset (file or folder) for given sandbox, webApp and path (within webApp), optionally include deleted assets
|
AssetInfo |
AssetServiceImpl.getAssetWebApp(String sbStoreId,
String webApp,
String pathRelativeToWebApp,
boolean includeDeleted) |
AssetInfo |
AssetService.moveAsset(AssetInfo asset,
String parentFolderPath)
Move asset within sandbox
|
AssetInfo |
AssetServiceImpl.moveAsset(AssetInfo asset,
String parentFolderPath) |
AssetInfo |
AssetService.renameAsset(AssetInfo asset,
String newName)
Rename asset
|
AssetInfo |
AssetServiceImpl.renameAsset(AssetInfo asset,
String newName) |
| Modifier and Type | Method and Description |
|---|---|
List<AssetInfo> |
AssetService.listAssets(String sbStoreId,
int version,
String parentFolderPath,
boolean includeDeleted)
List assets within given sandbox version and path, optionally include deleted
|
List<AssetInfo> |
AssetServiceImpl.listAssets(String sbStoreId,
int version,
String parentFolderPath,
boolean includeDeleted) |
List<AssetInfo> |
AssetService.listAssets(String sbStoreId,
String parentFolderPath,
boolean includeDeleted)
List assets within given sandbox and path, optionally include deleted
|
List<AssetInfo> |
AssetServiceImpl.listAssets(String sbStoreId,
String parentFolderPath,
boolean includeDeleted) |
List<AssetInfo> |
AssetService.listAssetsWebApp(String sbStoreId,
String webApp,
String parentFolderPathRelativeToWebApp,
boolean includeDeleted)
List assets within given sandbox and webApp and path (within webApp), optionally include deleted
|
List<AssetInfo> |
AssetServiceImpl.listAssetsWebApp(String sbStoreId,
String webApp,
String parentFolderPathRelativeToWebApp,
boolean includeDeleted) |
| Modifier and Type | Method and Description |
|---|---|
void |
AssetService.addAspect(AssetInfo asset,
org.alfresco.service.namespace.QName aspectName,
Map<org.alfresco.service.namespace.QName,Serializable> properties)
Apply aspect to asset, with given properties (can be null)
|
void |
AssetServiceImpl.addAspect(AssetInfo asset,
org.alfresco.service.namespace.QName aspectName,
Map<org.alfresco.service.namespace.QName,Serializable> properties) |
AssetInfo |
AssetService.copyAsset(AssetInfo asset,
String parentFolderPath)
Copy asset(s) within sandbox
|
AssetInfo |
AssetServiceImpl.copyAsset(AssetInfo asset,
String parentFolderPath) |
void |
AssetService.deleteAsset(AssetInfo asset)
Delete asset
|
void |
AssetServiceImpl.deleteAsset(AssetInfo asset) |
Set<org.alfresco.service.namespace.QName> |
AssetService.getAspects(AssetInfo asset)
Get set of aspects applied to asset
|
Set<org.alfresco.service.namespace.QName> |
AssetServiceImpl.getAspects(AssetInfo asset) |
Map<org.alfresco.service.namespace.QName,Serializable> |
AssetService.getAssetProperties(AssetInfo asset)
Get asset properties
|
Map<org.alfresco.service.namespace.QName,Serializable> |
AssetServiceImpl.getAssetProperties(AssetInfo asset) |
org.alfresco.service.cmr.repository.ContentReader |
AssetService.getContentReader(AssetInfo fileAsset)
Get content reader for given file asset, to allow file contents to be read
|
org.alfresco.service.cmr.repository.ContentReader |
AssetServiceImpl.getContentReader(AssetInfo asset) |
org.alfresco.service.cmr.repository.ContentWriter |
AssetService.getContentWriter(AssetInfo fileAsset)
Get content writer for given file asset, to allow file contents to be written or updated
|
org.alfresco.service.cmr.repository.ContentWriter |
AssetServiceImpl.getContentWriter(AssetInfo asset) |
String |
AssetService.getLockOwner(AssetInfo fileAsset)
Runtime check to get lock (and owner) for asset - null if not locked
|
String |
AssetServiceImpl.getLockOwner(AssetInfo asset) |
boolean |
AssetService.hasAspect(AssetInfo asset,
org.alfresco.service.namespace.QName aspectName)
True, if asset has given aspect applied
|
boolean |
AssetServiceImpl.hasAspect(AssetInfo asset,
org.alfresco.service.namespace.QName aspectName) |
boolean |
AssetService.hasLockAccess(AssetInfo fileAsset)
Runtime check to check if the current user can perform (write) operations on the asset when locked
|
boolean |
AssetServiceImpl.hasLockAccess(AssetInfo asset) |
AssetInfo |
AssetService.moveAsset(AssetInfo asset,
String parentFolderPath)
Move asset within sandbox
|
AssetInfo |
AssetServiceImpl.moveAsset(AssetInfo asset,
String parentFolderPath) |
void |
AssetService.removeAspect(AssetInfo asset,
org.alfresco.service.namespace.QName aspectName)
Remove aspect from asset, and any related properties
|
void |
AssetServiceImpl.removeAspect(AssetInfo asset,
org.alfresco.service.namespace.QName aspectName) |
AssetInfo |
AssetService.renameAsset(AssetInfo asset,
String newName)
Rename asset
|
AssetInfo |
AssetServiceImpl.renameAsset(AssetInfo asset,
String newName) |
void |
AssetService.setAssetProperties(AssetInfo asset,
Map<org.alfresco.service.namespace.QName,Serializable> properties)
Set asset properties (will replace all existing properties)
|
void |
AssetServiceImpl.setAssetProperties(AssetInfo asset,
Map<org.alfresco.service.namespace.QName,Serializable> properties) |
void |
AssetService.updateAssetProperties(AssetInfo asset,
Map<org.alfresco.service.namespace.QName,Serializable> properties)
Update asset properties (will replace given set of properties, if they already exist)
|
void |
AssetServiceImpl.updateAssetProperties(AssetInfo asset,
Map<org.alfresco.service.namespace.QName,Serializable> properties) |
| Modifier and Type | Method and Description |
|---|---|
List<AssetInfo> |
SandboxService.listChanged(String sbStoreId,
String relativePath,
boolean includeDeleted)
List changed assets for given sandbox path (eg.
|
List<AssetInfo> |
SandboxServiceImpl.listChanged(String sbStoreId,
String relativePath,
boolean includeDeleted) |
List<AssetInfo> |
SandboxService.listChanged(String srcSandboxStoreId,
String srcRelativePath,
String dstSandboxStoreId,
String dstRelativePath,
boolean includeDeleted)
List changed (new/modified/deleted) assets between any two sandbox paths
|
List<AssetInfo> |
SandboxServiceImpl.listChanged(String srcSandboxStoreId,
String srcRelativePath,
String dstSandboxStoreId,
String dstRelativePath,
boolean includeDeleted) |
List<AssetInfo> |
SandboxService.listChangedAll(String sbStoreId,
boolean includeDeleted)
List all changed assets for given sandbox (eg.
|
List<AssetInfo> |
SandboxServiceImpl.listChangedAll(String sbStoreId,
boolean includeDeleted) |
List<AssetInfo> |
SandboxService.listChangedWebApp(String sbStoreId,
String webApp,
boolean includeDeleted)
List changed assets for given sandbox and web app (eg.
|
List<AssetInfo> |
SandboxServiceImpl.listChangedWebApp(String sbStoreId,
String webApp,
boolean includeDeleted) |
| Modifier and Type | Method and Description |
|---|---|
void |
SandboxService.revertListAssets(String sbStoreId,
List<AssetInfo> assets)
Revert list of changed assets for given sandbox (eg.
|
void |
SandboxServiceImpl.revertListAssets(String sbStoreId,
List<AssetInfo> assets) |
void |
SandboxService.submitListAssets(String sbStoreId,
List<AssetInfo> assets,
String submitLabel,
String submitDescription)
Submit list of changed assets for given sandbox (eg.
|
void |
SandboxServiceImpl.submitListAssets(String sbStoreId,
List<AssetInfo> assets,
String submitLabel,
String submitComment) |
| Constructor and Description |
|---|
Asset(Sandbox sandbox,
AssetInfo asset) |
Copyright © 2005–2014 Alfresco Software. All rights reserved.