Merge after backout of changeset 017ec8d2e32f
[pithos] / src / gr / ebs / gss / server / ejb / GSSDAO.java
index 2a58f93..d5107a5 100644 (file)
@@ -95,6 +95,16 @@ public interface GSSDAO {
        public List<Group> getGroups(Long userId) throws ObjectNotFoundException;
 
        /**
        public List<Group> getGroups(Long userId) throws ObjectNotFoundException;
 
        /**
+        * Retrieves the root folder id for the specified user. The caller must ensure
+        * that the userId exists.
+        *
+        * @param userId
+        * @return Long The id
+        * @throws ObjectNotFoundException if no Folder was found
+        */
+       public Long getRootFolderId(final Long userId) throws ObjectNotFoundException;
+       
+       /**
         * Retrieves the root folder for the specified user. The caller must ensure
         * that the userId exists.
         *
         * Retrieves the root folder for the specified user. The caller must ensure
         * that the userId exists.
         *
@@ -514,11 +524,6 @@ public interface GSSDAO {
        public List<UserLogin> getLoginsForUser (Long userId);
 
        /**
        public List<UserLogin> getLoginsForUser (Long userId);
 
        /**
-        * 
-        */
-       void fixSharedFlagForAllFoldersAndFiles();
-       
-       /**
         * Returns a list of all entries related to the date that a user logged in the service. 
         *  
         * @param userId
         * Returns a list of all entries related to the date that a user logged in the service. 
         *  
         * @param userId