Package org.alfresco.rest.api.impl
Class ContentStorageInformationImpl
- java.lang.Object
-
- org.alfresco.rest.api.impl.ContentStorageInformationImpl
-
- All Implemented Interfaces:
ContentStorageInformation
@Experimental public class ContentStorageInformationImpl extends Object implements ContentStorageInformation
Default implementation forContentStorageInformation
Note: Currently marked as experimental and subject to change.- Author:
- mpichura
-
-
Field Summary
Fields Modifier and Type Field Description static char
PREFIX_SEPARATOR
-
Constructor Summary
Constructors Constructor Description ContentStorageInformationImpl(ContentService contentService, org.alfresco.service.namespace.NamespaceService namespaceService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentStorageInfo
getStorageInfo(String nodeId, String contentPropName, Parameters parameters)
Note: Currently marked as experimental and subject to change.boolean
requestArchiveContent(String nodeId, String contentPropName, ArchiveContentRequest archiveContentRequest)
Note: Currently marked as experimental and subject to change.boolean
requestRestoreContentFromArchive(String nodeId, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest)
Note: Currently marked as experimental and subject to change.
-
-
-
Field Detail
-
PREFIX_SEPARATOR
public static final char PREFIX_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContentStorageInformationImpl
public ContentStorageInformationImpl(ContentService contentService, org.alfresco.service.namespace.NamespaceService namespaceService)
-
-
Method Detail
-
getStorageInfo
@Experimental public ContentStorageInfo getStorageInfo(String nodeId, String contentPropName, Parameters parameters)
Note: Currently marked as experimental and subject to change.- Specified by:
getStorageInfo
in interfaceContentStorageInformation
- Parameters:
nodeId
- Identifier of the nodecontentPropName
- Qualified name of content property (e.g. 'cm_content')parameters
-Parameters
object to get the parameters passed into the request- Returns:
ContentStorageInfo
object consisting of qualified name of content property and a map of storage properties
-
requestArchiveContent
public boolean requestArchiveContent(String nodeId, String contentPropName, ArchiveContentRequest archiveContentRequest)
Note: Currently marked as experimental and subject to change.- Specified by:
requestArchiveContent
in interfaceContentStorageInformation
- Parameters:
nodeId
- Identifier of the nodecontentPropName
- Qualified name of content property (e.g. 'cm_content')archiveContentRequest
-ArchiveContentRequest
object holding parameters for archive content request- Returns:
- true when request successful, false when unsuccessful
-
requestRestoreContentFromArchive
public boolean requestRestoreContentFromArchive(String nodeId, String contentPropName, RestoreArchivedContentRequest restoreArchivedContentRequest)
Note: Currently marked as experimental and subject to change.- Specified by:
requestRestoreContentFromArchive
in interfaceContentStorageInformation
- Parameters:
nodeId
- Identifier of the nodecontentPropName
- Qualified name of content property (e.g. 'cm_content')restoreArchivedContentRequest
-RestoreArchivedContentRequest
object holding parameters for restore from archive request- Returns:
- true when request successful, false when unsuccessful
-
-