org.ChinaVO.FITSManager.Category
Class DBOperatorCategory

java.lang.Object
  extended by org.ChinaVO.FITSManager.Category.DBOperatorCategory

public class DBOperatorCategory
extends java.lang.Object


Constructor Summary
DBOperatorCategory()
           
 
Method Summary
 void addFile2Category(java.io.File f, int categoryID)
           
 void addFile2Star(java.io.File f, int i)
           
static void createTables()
           
 java.util.List<java.lang.Integer> getFileCategoryIDs(java.lang.String path)
           
 java.lang.String getFileComment(java.lang.String path)
           
 int getFileStarLevel(int fileid)
           
 int getFileStarLevel(java.lang.String path)
           
 void setFileComment(java.io.File f, java.lang.String comment)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBOperatorCategory

public DBOperatorCategory()
Method Detail

createTables

public static void createTables()

addFile2Star

public void addFile2Star(java.io.File f,
                         int i)

getFileStarLevel

public int getFileStarLevel(int fileid)

getFileStarLevel

public int getFileStarLevel(java.lang.String path)

addFile2Category

public void addFile2Category(java.io.File f,
                             int categoryID)

getFileCategoryIDs

public java.util.List<java.lang.Integer> getFileCategoryIDs(java.lang.String path)

setFileComment

public void setFileComment(java.io.File f,
                           java.lang.String comment)

getFileComment

public java.lang.String getFileComment(java.lang.String path)