com.altair.hwm.fileserver.server
Class HWMServerConstants

java.lang.Object
  extended by com.altair.hwm.fileserver.server.HWMServerConstants

public class HWMServerConstants
extends java.lang.Object

Title: HWMServerConstants

Description: This class contains all the constants used for querying/updating the database and the property names in the server's config file

Company: Altair Engineering, Inc.


Field Summary
static java.lang.String ATTR_COUT
           
static java.lang.String ATTR_DATE
           
static java.lang.String ATTR_DIR
           
static java.lang.String ATTR_FDESC
           
static java.lang.String ATTR_FID
           
static java.lang.String ATTR_FNAME
           
static java.lang.String ATTR_FTYPE
           
static java.lang.String ATTR_MFNAME
           
static java.lang.String ATTR_NUMFILES
           
static java.lang.String ATTR_REVID
           
static java.lang.String ATTR_REVNAME
           
static java.lang.String ATTR_TIME
           
static java.lang.String ATTR_UNAME
           
static java.lang.String ATTR_VDESC
           
static java.lang.String ATTR_VER
           
static java.lang.String ATTR_VERID
           
static java.lang.String CFG_BASEDIR
          The base directory where the files will be placed
static java.lang.String CFG_DBINFO
          The db info class name in the config file
static java.lang.String CFG_DBNAME
          The prop name for database name in the config file
static java.lang.String CFG_DBPATH
          The prop name for database server path in the config file
static java.lang.String CFG_DBPORT
          The prop name for database server port in the config file
static java.lang.String CFG_DBPWD
          The password to use
static java.lang.String CFG_DBUSER
          The user name
static java.lang.String CFG_FILELIMIT
          The limit on number of files that can be placed under a directory
static java.lang.String CFG_INITCXNS
          The initial number of connections that should be created
static java.lang.String CFG_MAXCXNS
          The maximum number of connections allowed
static java.lang.String PROP_EPIC_HOME
          The sys property name for epic home
static java.lang.String SERVICES_DIR_NAME
          The sys property name for the dir where executable jars are placed
static int START_VERSION
          The starting version for a file
static java.lang.String TBL_ADMIN
           
static java.lang.String TBL_FILE
           
static java.lang.String TBL_REV
           
static java.lang.String TBL_VER
           
static java.lang.String TBLADMIN_DELETEALL
          delete contents of admin table
static java.lang.String TBLADMIN_INSERT
          Insert into admin table the dir name and number of files
static java.lang.String TBLADMIN_QUERYNUMFILES
          Get the number of files in each dir in the admin table
static java.lang.String TBLADMIN_UPDATE
          Update the number of files in the specified dir in the admin table
static java.lang.String TBLFILE_DELFILESWITHID
          delete a particular file with given id
static java.lang.String TBLFILE_GETINFO
          Get file infor for a file with given id
static java.lang.String TBLFILE_INSERT
          Insert into file table the file name, type and desc
static java.lang.String TBLREV_DELREVSWITHFILEID
          delete revisions associated with a particular file id
static java.lang.String TBLREV_DELREVSWITHREVID
          delete a revision associated with a particular file id
static java.lang.String TBLREV_HASREVS
          Check if there are more recent revisions
static java.lang.String TBLREV_INSERT
          Insert into revision table the revision name, file id and check out status
static java.lang.String TBLREV_QUERYREVINFO
          Get the revision info given file id and revision
static java.lang.String TBLREV_QUERYREVS
          Get the revisions from revision table for a file id
static java.lang.String TBLREV_QUERYVERS
          Get the versions from version table for a given rev id
static java.lang.String TBLREV_UPDATECOCIN
          Update the revision table by setting the given revid as checked out/checked in
static java.lang.String TBLVER_DELVERSWITHREVID
          delete versions associated with a particular revision and file id
static java.lang.String TBLVER_DELVERWITHVERID
          delete a version associated with a particular rev id and file id
static java.lang.String TBLVER_GETVERWITHFID
          get versions associated with a particular file id
static java.lang.String TBLVER_GETVERWITHREVANDFID
          get versions associated with a particular rev name and file id
static java.lang.String TBLVER_GETVERWITHREVFIDANDVER
          get version info associated with a particular rev name, version and file id
static java.lang.String TBLVER_HASVERS
          Check if there are more recent versions
static java.lang.String TBLVER_INSERT
          Insert into version table the version, rev id, user name, date, time and desc for this file version
static java.lang.String TBLVER_QUERYVERINFO
          Get the version info given file id, revision id and version
static java.lang.String TBLVER_UPDATEMFNAME
          Update version table with the dir location and mangled file name
static java.lang.String ZIP_EXT
          The extension for the files stored in the file system
 
Constructor Summary
HWMServerConstants()
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZIP_EXT

public static final java.lang.String ZIP_EXT
The extension for the files stored in the file system

See Also:
Constant Field Values

CFG_DBPATH

public static final java.lang.String CFG_DBPATH
The prop name for database server path in the config file

See Also:
Constant Field Values

CFG_DBPORT

public static final java.lang.String CFG_DBPORT
The prop name for database server port in the config file

See Also:
Constant Field Values

CFG_DBNAME

public static final java.lang.String CFG_DBNAME
The prop name for database name in the config file

See Also:
Constant Field Values

CFG_BASEDIR

public static final java.lang.String CFG_BASEDIR
The base directory where the files will be placed

See Also:
Constant Field Values

CFG_FILELIMIT

public static final java.lang.String CFG_FILELIMIT
The limit on number of files that can be placed under a directory

See Also:
Constant Field Values

CFG_DBINFO

public static final java.lang.String CFG_DBINFO
The db info class name in the config file

See Also:
Constant Field Values

CFG_DBUSER

public static final java.lang.String CFG_DBUSER
The user name

See Also:
Constant Field Values

CFG_DBPWD

public static final java.lang.String CFG_DBPWD
The password to use

See Also:
Constant Field Values

CFG_MAXCXNS

public static final java.lang.String CFG_MAXCXNS
The maximum number of connections allowed

See Also:
Constant Field Values

CFG_INITCXNS

public static final java.lang.String CFG_INITCXNS
The initial number of connections that should be created

See Also:
Constant Field Values

PROP_EPIC_HOME

public static final java.lang.String PROP_EPIC_HOME
The sys property name for epic home

See Also:
Constant Field Values

SERVICES_DIR_NAME

public static final java.lang.String SERVICES_DIR_NAME
The sys property name for the dir where executable jars are placed

See Also:
Constant Field Values

START_VERSION

public static final int START_VERSION
The starting version for a file

See Also:
Constant Field Values

TBL_FILE

public static final java.lang.String TBL_FILE
See Also:
Constant Field Values

TBL_ADMIN

public static final java.lang.String TBL_ADMIN
See Also:
Constant Field Values

TBL_REV

public static final java.lang.String TBL_REV
See Also:
Constant Field Values

TBL_VER

public static final java.lang.String TBL_VER
See Also:
Constant Field Values

ATTR_DIR

public static final java.lang.String ATTR_DIR
See Also:
Constant Field Values

ATTR_NUMFILES

public static final java.lang.String ATTR_NUMFILES
See Also:
Constant Field Values

ATTR_FID

public static final java.lang.String ATTR_FID
See Also:
Constant Field Values

ATTR_FNAME

public static final java.lang.String ATTR_FNAME
See Also:
Constant Field Values

ATTR_FTYPE

public static final java.lang.String ATTR_FTYPE
See Also:
Constant Field Values

ATTR_FDESC

public static final java.lang.String ATTR_FDESC
See Also:
Constant Field Values

ATTR_REVID

public static final java.lang.String ATTR_REVID
See Also:
Constant Field Values

ATTR_REVNAME

public static final java.lang.String ATTR_REVNAME
See Also:
Constant Field Values

ATTR_COUT

public static final java.lang.String ATTR_COUT
See Also:
Constant Field Values

ATTR_VERID

public static final java.lang.String ATTR_VERID
See Also:
Constant Field Values

ATTR_VER

public static final java.lang.String ATTR_VER
See Also:
Constant Field Values

ATTR_MFNAME

public static final java.lang.String ATTR_MFNAME
See Also:
Constant Field Values

ATTR_UNAME

public static final java.lang.String ATTR_UNAME
See Also:
Constant Field Values

ATTR_DATE

public static final java.lang.String ATTR_DATE
See Also:
Constant Field Values

ATTR_TIME

public static final java.lang.String ATTR_TIME
See Also:
Constant Field Values

ATTR_VDESC

public static final java.lang.String ATTR_VDESC
See Also:
Constant Field Values

TBLADMIN_DELETEALL

public static java.lang.String TBLADMIN_DELETEALL
delete contents of admin table


TBLADMIN_INSERT

public static java.lang.String TBLADMIN_INSERT
Insert into admin table the dir name and number of files


TBLADMIN_UPDATE

public static java.lang.String TBLADMIN_UPDATE
Update the number of files in the specified dir in the admin table


TBLADMIN_QUERYNUMFILES

public static java.lang.String TBLADMIN_QUERYNUMFILES
Get the number of files in each dir in the admin table


TBLFILE_INSERT

public static java.lang.String TBLFILE_INSERT
Insert into file table the file name, type and desc


TBLFILE_GETINFO

public static java.lang.String TBLFILE_GETINFO
Get file infor for a file with given id


TBLFILE_DELFILESWITHID

public static java.lang.String TBLFILE_DELFILESWITHID
delete a particular file with given id


TBLREV_INSERT

public static java.lang.String TBLREV_INSERT
Insert into revision table the revision name, file id and check out status


TBLREV_QUERYREVS

public static java.lang.String TBLREV_QUERYREVS
Get the revisions from revision table for a file id


TBLREV_QUERYREVINFO

public static java.lang.String TBLREV_QUERYREVINFO
Get the revision info given file id and revision


TBLREV_UPDATECOCIN

public static java.lang.String TBLREV_UPDATECOCIN
Update the revision table by setting the given revid as checked out/checked in


TBLREV_HASREVS

public static java.lang.String TBLREV_HASREVS
Check if there are more recent revisions


TBLREV_DELREVSWITHFILEID

public static java.lang.String TBLREV_DELREVSWITHFILEID
delete revisions associated with a particular file id


TBLREV_DELREVSWITHREVID

public static java.lang.String TBLREV_DELREVSWITHREVID
delete a revision associated with a particular file id


TBLREV_QUERYVERS

public static java.lang.String TBLREV_QUERYVERS
Get the versions from version table for a given rev id


TBLVER_QUERYVERINFO

public static java.lang.String TBLVER_QUERYVERINFO
Get the version info given file id, revision id and version


TBLVER_INSERT

public static java.lang.String TBLVER_INSERT
Insert into version table the version, rev id, user name, date, time and desc for this file version


TBLVER_UPDATEMFNAME

public static java.lang.String TBLVER_UPDATEMFNAME
Update version table with the dir location and mangled file name


TBLVER_HASVERS

public static java.lang.String TBLVER_HASVERS
Check if there are more recent versions


TBLVER_DELVERSWITHREVID

public static java.lang.String TBLVER_DELVERSWITHREVID
delete versions associated with a particular revision and file id


TBLVER_DELVERWITHVERID

public static java.lang.String TBLVER_DELVERWITHVERID
delete a version associated with a particular rev id and file id


TBLVER_GETVERWITHFID

public static java.lang.String TBLVER_GETVERWITHFID
get versions associated with a particular file id


TBLVER_GETVERWITHREVANDFID

public static java.lang.String TBLVER_GETVERWITHREVANDFID
get versions associated with a particular rev name and file id


TBLVER_GETVERWITHREVFIDANDVER

public static java.lang.String TBLVER_GETVERWITHREVFIDANDVER
get version info associated with a particular rev name, version and file id

Constructor Detail

HWMServerConstants

public HWMServerConstants()
Constructor