Support for sub-types of folder in site.getContainer() - to allow for specialised types of component folder and backwards compatibility with existing models such as forum.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9306 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2008-05-29 11:37:42 +00:00
parent e09ae51c1d
commit 14660ea397
5 changed files with 56 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ import java.util.List;
import java.util.Map;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
/**
* Site service fundamental API.
@@ -113,9 +114,10 @@ public interface SiteService
*
* @param shortName short name of site
* @param componentId component id
* @return noderef of folder container
* @param folderType type of folder to create (if null, creates standard folder)
* @return noderef of container
*/
NodeRef getContainer(String shortName, String componentId);
NodeRef getContainer(String shortName, String componentId, QName folderType);
/**
* Determines if a "container" folder for the specified component exists.