X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/938c78466b89ee30d439462ded5b4b25c79190ce..8f1566a21c1dfdc562d701c5514ee616509fcb65:/src/com/owncloud/android/datamodel/DataStorageManager.java diff --git a/src/com/owncloud/android/datamodel/DataStorageManager.java b/src/com/owncloud/android/datamodel/DataStorageManager.java index e824bdea..31515a1a 100644 --- a/src/com/owncloud/android/datamodel/DataStorageManager.java +++ b/src/com/owncloud/android/datamodel/DataStorageManager.java @@ -1,10 +1,10 @@ /* ownCloud Android client application * Copyright (C) 2012 Bartek Przybylski + * Copyright (C) 2012-2013 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * it under the terms of the GNU General Public License version 2, + * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -23,6 +23,8 @@ import java.util.Vector; public interface DataStorageManager { + public static final int ROOT_PARENT_ID = 0; + public OCFile getFileByPath(String path); public OCFile getFileById(long id); @@ -38,4 +40,10 @@ public interface DataStorageManager { public Vector getDirectoryContent(OCFile f); public void removeFile(OCFile file, boolean removeLocalCopy); + + public void removeDirectory(OCFile dir, boolean removeDBData, boolean removeLocalContent); + + public void moveDirectory(OCFile dir, String newPath); + + public Vector getDirectoryImages(OCFile mParentFolder); }