com.arsdigita.acs.fs
Class FileStorageProcs
java.lang.Object
|
+--com.arsdigita.acs.fs.FileStorageProcs
- public class FileStorageProcs
- extends Object
Method Summary |
static boolean |
checkRead(Integer userId,
Integer version_id)
|
static boolean |
checkWrite(UserInfo user,
Integer version_id)
|
static String |
datePicture()
|
static String |
fsFolderDefSelection(Database db,
Integer user_id,
Integer group_id,
boolean public_p,
Integer file_id,
Integer folder_default)
|
static String |
guessSource(Database db,
boolean public_p,
Integer owner_id,
Integer group_id,
UserInfo local_user)
|
static String |
headerRowForFiles(String title,
boolean authorP)
|
static Integer |
latestVersion(Database db,
Integer file_id)
|
static void |
orderFiles(Database db)
|
static String |
privateGroupOption(Integer groupId,
String groupName)
|
static String |
privateIndividualOption()
|
static String |
publicGroupOption(Integer groupId,
String groupName)
|
static String |
publicIndividualOption(Integer userId,
String userName)
|
static String |
publicOption()
|
static String |
rowForOneFile(ResultSet rs,
boolean linksP,
String exportURLVars,
boolean authorP,
Integer ownerId,
String ownerName)
|
static String |
rowForOneFile(ResultSet rs,
String exportURLVars)
|
static String |
sharedOption()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileStorageProcs
public FileStorageProcs()
privateIndividualOption
public static String privateIndividualOption()
publicIndividualOption
public static String publicIndividualOption(Integer userId,
String userName)
privateGroupOption
public static String privateGroupOption(Integer groupId,
String groupName)
publicGroupOption
public static String publicGroupOption(Integer groupId,
String groupName)
publicOption
public static String publicOption()
sharedOption
public static String sharedOption()
headerRowForFiles
public static String headerRowForFiles(String title,
boolean authorP)
rowForOneFile
public static String rowForOneFile(ResultSet rs,
String exportURLVars)
rowForOneFile
public static String rowForOneFile(ResultSet rs,
boolean linksP,
String exportURLVars,
boolean authorP,
Integer ownerId,
String ownerName)
fsFolderDefSelection
public static String fsFolderDefSelection(Database db,
Integer user_id,
Integer group_id,
boolean public_p,
Integer file_id,
Integer folder_default)
checkRead
public static boolean checkRead(Integer userId,
Integer version_id)
throws ACSException
checkWrite
public static boolean checkWrite(UserInfo user,
Integer version_id)
throws ACSException,
SQLException
orderFiles
public static void orderFiles(Database db)
throws SQLException
latestVersion
public static Integer latestVersion(Database db,
Integer file_id)
throws SQLException
guessSource
public static String guessSource(Database db,
boolean public_p,
Integer owner_id,
Integer group_id,
UserInfo local_user)
throws ACSException,
SQLException
datePicture
public static String datePicture()