Loading src/com/owncloud/android/lib/resources/shares/GetRemoteSharesForFileOperation.java +3 −3 Original line number Diff line number Diff line Loading @@ -56,9 +56,9 @@ public class GetRemoteSharesForFileOperation extends RemoteOperation { * Constructor * * @param remoteFilePath Path to file or folder * @param reshares If set to false (default), only shares from the current user are * returned * If set to true, all shares from the given file are returned * @param reshares If set to false (default), only shares owned by the current user are * returned. * If set to true, shares owned by any user from the given file are returned. * @param subfiles If set to false (default), lists only the folder being shared * If set to true, all shared files within the folder are returned. */ Loading src/com/owncloud/android/lib/resources/shares/OCShare.java +10 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,16 @@ public class OCShare implements Parcelable, Serializable { public static final int CREATE_PERMISSION_FLAG = 4; public static final int DELETE_PERMISSION_FLAG = 8; public static final int SHARE_PERMISSION_FLAG = 16; public static final int MAXIMUM_PERMISSIONS_FOR_FILE = READ_PERMISSION_FLAG + UPDATE_PERMISSION_FLAG + SHARE_PERMISSION_FLAG ; public static final int MAXIMUM_PERMISSIONS_FOR_FOLDER = MAXIMUM_PERMISSIONS_FOR_FILE + CREATE_PERMISSION_FLAG + DELETE_PERMISSION_FLAG ; private long mId; private long mFileSource; Loading Loading
src/com/owncloud/android/lib/resources/shares/GetRemoteSharesForFileOperation.java +3 −3 Original line number Diff line number Diff line Loading @@ -56,9 +56,9 @@ public class GetRemoteSharesForFileOperation extends RemoteOperation { * Constructor * * @param remoteFilePath Path to file or folder * @param reshares If set to false (default), only shares from the current user are * returned * If set to true, all shares from the given file are returned * @param reshares If set to false (default), only shares owned by the current user are * returned. * If set to true, shares owned by any user from the given file are returned. * @param subfiles If set to false (default), lists only the folder being shared * If set to true, all shared files within the folder are returned. */ Loading
src/com/owncloud/android/lib/resources/shares/OCShare.java +10 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,16 @@ public class OCShare implements Parcelable, Serializable { public static final int CREATE_PERMISSION_FLAG = 4; public static final int DELETE_PERMISSION_FLAG = 8; public static final int SHARE_PERMISSION_FLAG = 16; public static final int MAXIMUM_PERMISSIONS_FOR_FILE = READ_PERMISSION_FLAG + UPDATE_PERMISSION_FLAG + SHARE_PERMISSION_FLAG ; public static final int MAXIMUM_PERMISSIONS_FOR_FOLDER = MAXIMUM_PERMISSIONS_FOR_FILE + CREATE_PERMISSION_FLAG + DELETE_PERMISSION_FLAG ; private long mId; private long mFileSource; Loading