com.altair.hwm.fileserver.server
Class HWMCheckIn

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

public class HWMCheckIn
extends java.lang.Object

Title: HWMCheckIn

Description: Check in a previously checked out file. Check in can be done using:

a> file id, revision, user, version description, file object: The given revision of the file with given id is checked in as a new version under the given revision

Company: Altair Engineering, Inc.


Constructor Summary
HWMCheckIn(HWMFileServer hwmFS)
          Constructor
 
Method Summary
 HWMFileInfo CheckIn(int nFileID, java.lang.String strRevision, java.lang.String strUser, java.lang.String strVerDesc, java.io.ByteArrayInputStream bis)
          The given revision of the file with given id is checked in under a new version under the given revision.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HWMCheckIn

public HWMCheckIn(HWMFileServer hwmFS)
Constructor

Parameters:
hwmFS - The file server object that initailizes the file server and contains the db cxn pool
Method Detail

CheckIn

public HWMFileInfo CheckIn(int nFileID,
                           java.lang.String strRevision,
                           java.lang.String strUser,
                           java.lang.String strVerDesc,
                           java.io.ByteArrayInputStream bis)
                    throws java.lang.Exception
The given revision of the file with given id is checked in under a new version under the given revision.

Parameters:
nFID - The file id to check in
strRevision - The revision name for the new file
strUser - The user who wants to add the file
strVerDesc - The description for the first version
bis - The byte array input stream to the file
Returns:
HWMFileInfo The file information
Throws:
java.lang.Exception