mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.2 to HEAD
8231: Fix for AR-2055 8240: Fix for AR-2055 - missing file 8253: Add caching to audit queries git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -26,6 +26,7 @@ package org.alfresco.service.cmr.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.alfresco.service.Auditable;
|
||||
import org.alfresco.service.PublicService;
|
||||
import org.alfresco.service.cmr.repository.ContentReader;
|
||||
@@ -200,6 +201,8 @@ public interface FileFolderService
|
||||
* @param folderTypeQName the types of nodes to create. This must be a valid subtype of
|
||||
* {@link org.alfresco.model.ContentModel#TYPE_FOLDER they folder type}.
|
||||
* @return Returns the info of the last folder in the path.
|
||||
*
|
||||
* @deprecated - See the static helper method FileFolderServiceImpl.makeFolders
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"parentNodeRef", "pathElements", "folderTypeQName"})
|
||||
public FileInfo makeFolders(NodeRef parentNodeRef, List<String> pathElements, QName folderTypeQName);
|
||||
@@ -262,4 +265,14 @@ public interface FileFolderService
|
||||
*/
|
||||
@Auditable(key = Auditable.Key.ARG_0, parameters = {"nodeRef"})
|
||||
public ContentWriter getWriter(NodeRef nodeRef);
|
||||
|
||||
|
||||
/**
|
||||
* Checks the type for whether it is a recognised file or folder type or is invalid for the FileFolderService.
|
||||
*
|
||||
* @param typeQName the type to check
|
||||
* @return - the type
|
||||
*/
|
||||
@Auditable(parameters = {"typeQName"})
|
||||
public FileFolderServiceType getType(QName typeQName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user