com.arsdigita.acs.fs
Class StoredFile
java.lang.Object
|
+--com.arsdigita.acs.fs.StoredFile
- public class StoredFile
- extends Object
Represents a single file in the file storage module.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allVersionsQuery
public static final String allVersionsQuery
oneVersionQuery
public static final String oneVersionQuery
StoredFile
public StoredFile()
getTitle
public String getTitle()
getParentTitle
public String getParentTitle()
getIsFolder
public boolean getIsFolder()
getParentId
public Integer getParentId()
getIsPublic
public boolean getIsPublic()
getOwnerId
public Integer getOwnerId()
getGroupId
public Integer getGroupId()
getFileId
public Integer getFileId()
getDeleted
public boolean getDeleted()
getUrl
public String getUrl()
getOwnerName
public String getOwnerName()
getVersionCount
public int getVersionCount()
getTreeName
public String getTreeName()
getOlderVersions
public int getOlderVersions(Database db)
throws SQLException,
ACSException
select
public void select(Database db,
Integer fileId,
Integer userId)
throws SQLException
getAllVersions
public StoredFileVersion[] getAllVersions(Database db,
Integer userId)
throws SQLException
- Returns all versions of a file visible to a given user.
getLatestVersion
public StoredFileVersion getLatestVersion(Database db,
Integer userId)
throws SQLException
- Returns the latest version of a file visible to a given user.
getNavbar
public ContextBarWs getNavbar(Database db,
String source)
throws SQLException,
ACSException