Merged V3.1 to HEAD

13175: Basic implementation of timestamp propagation
   13176: Fixed ETHREEOH-1172: NodeService.getProperties sometimes returning instance of "Collections.SingletonList"
   13184: Merged V3.0 to V3.1
      13179: Merged V2.2 to V3.0
         13141: Fix for ETWOTWO-1109: WCM - content publisher cannot submit modified assets (2.2.3-dev regress)
         13144: Fix for repopened ETWOTWO-1082:  AVM has concurrency limitations via CIFS/NFS/FTP ...
      13180: Merged V2.2 to V3.0
         13144: Fix for repopened ETWOTWO-1082:  AVM has concurrency limitations via CIFS/NFS/FTP ...
   13185: Logging enhancements to FileFolderService to aid debugging of ETHREEOH-1247
   13187: Changed NPE to IllegalArgumentException
   13191: Fix for ETHREEOH-1267 malformed JSON.
   13203: Fix ETHREEOH-1309 regress
   13205: Fixed typo of UNKNOWN
   13206: DM index check - allow index transaction tracker to be reset, etc
   13213: Fixed ETHREEOH-1313: System Property Overrides not working when using the installer
   13214: WCM services - add/update unit tests - CRUD using different roles
   ___________________________________________________________________
   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/V3.0:r13179-13180
      Merged /alfresco/BRANCHES/V2.2:r13141,13144
      Merged /alfresco/BRANCHES/V3.1:r13172,13175-13176,13179-13181,13184-13189,13191,13203,13205-13206,13210-13215


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13610 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2009-03-12 20:15:34 +00:00
parent 39bc2536d5
commit 07114a1ed2
21 changed files with 736 additions and 68 deletions

View File

@@ -228,8 +228,8 @@ public interface FileFolderService
/**
* Resolve a file or folder name path from a given root node down to the final node.
*
* @param rootNodeRef the start of the path given, i.e. the '/' in '/A/B/C' for example
* @param pathElements a list of names in the path
* @param rootNodeRef the start point node - a cm:folder type or subtype, e.g. the Company Home's nodeRef
* @param pathElements a list of names in the path. Do not include the referenced rootNodeRef's path element.
* @return Returns the info of the file or folder
* @throws FileNotFoundException if no file or folder exists along the path
*/
@@ -266,6 +266,14 @@ public interface FileFolderService
public ContentWriter getWriter(NodeRef nodeRef);
/**
* Check the validity of a node reference
*
* @return returns <tt>true</tt> if the NodeRef is valid
*/
@Auditable(key = Auditable.Key.ARG_0, parameters = {"nodeRef"})
public boolean exists(NodeRef nodeRef);
/**
* Checks the type for whether it is a recognised file or folder type or is invalid for the FileFolderService.
*