|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.fileserver.server.HWMReviseFile
public class HWMReviseFile
Title: HWMReviseFile
Description: This class provides the revision functionality where a new revision can be created. To revise a file the following data is required:
a> file id, user name, version description, revision name of the file to revise and new revision name. b> file id, user name, version description, revision name of the file to revise, version of the file to revise and new revision name. Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMReviseFile(HWMFileServer hwmFS)
Constructor |
Method Summary | |
---|---|
HWMFileInfo |
Revise(int nFileID,
java.lang.String strRevision,
int nVersion,
java.lang.String strUser,
java.lang.String strNewRevision,
java.lang.String strVerDesc)
Create a new revision for the file with given attributes. |
HWMFileInfo |
Revise(int nFileID,
java.lang.String strRevision,
java.lang.String strUser,
java.lang.String strNewRevision,
java.lang.String strVerDesc)
Create a new revision for the file with given attributes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMReviseFile(HWMFileServer hwmFS)
hwmFS
- The file server object that initailizes the file server and
contains the db cxn poolMethod Detail |
---|
public HWMFileInfo Revise(int nFileID, java.lang.String strRevision, java.lang.String strUser, java.lang.String strNewRevision, java.lang.String strVerDesc) throws java.lang.Exception
nFileID
- The ID of the file to revisestrRevision
- The revision name of the file to revisestrUser
- The user name whois creating a new revisionstrNewRevision
- The new revision namestrVerDesc
- The version description to use for the first
version of the new file.
java.lang.Exception
public HWMFileInfo Revise(int nFileID, java.lang.String strRevision, int nVersion, java.lang.String strUser, java.lang.String strNewRevision, java.lang.String strVerDesc) throws java.lang.Exception
nFileID
- The ID of the file to revisestrRevision
- The revision name of the file to revisenVersion
- The version # to revisestrUser
- The user name whois creating a new revisionstrNewRevision
- The new revision namestrVerDesc
- The version description to use for the first
version of the new file.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |