|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.fileserver.client.soap.HWMFileServerClientSOAP
public class HWMFileServerClientSOAP
Title: HWMFileServerClientSOAP
Description: This is the SOAP implementation of file server client.
Company: Altair Engineering, Inc.
Constructor Summary | |
---|---|
HWMFileServerClientSOAP()
Constructor |
Method Summary | |
---|---|
HWMFileInfo |
AddFile(java.io.File file,
java.lang.String strFName,
java.lang.String strFType,
java.lang.String strRevision,
java.lang.String strUser,
java.lang.String strFDesc,
java.lang.String strVerDesc,
boolean bCompress)
Adds the file into the database |
HWMFileInfo |
CheckIn(java.io.File file,
int nFileID,
java.lang.String strRevision,
java.lang.String strUser,
java.lang.String strVerDesc,
boolean bCompress)
The given revision of the file with given id is checked in under a new version under the given revision. |
HWMFileInfo |
CheckOut(int nFileID,
java.lang.String strUser,
boolean bUnCompress)
Check out the latest version under the latest revision of the file with given id |
HWMFileInfo |
CheckOut(int nFileID,
java.lang.String strRevision,
int nVersion,
java.lang.String strUser,
boolean bUnCompress)
Check out the given version under the given revision of the file with given id |
HWMFileInfo |
CheckOut(int nFileID,
java.lang.String strRevision,
java.lang.String strUser,
boolean bUnCompress)
Check out the latest version under the given revision of the file with given id |
void |
Connect(java.lang.String strURL)
Connect to the server |
void |
Disconnect()
Disconnect from the server |
HWMFileInfo |
Get(int nFileID,
boolean bUnCompress)
Get the latest version under the latest revision of the file with given id |
HWMFileInfo |
Get(int nFileID,
java.lang.String strRevision,
boolean bUnCompress)
Get the latest version under the given revision of the file with given id |
HWMFileInfo |
Get(int nFileID,
java.lang.String strRevision,
int nVersion,
boolean bUnCompress)
Get the given version under the given revision of the file with given id |
HWMFileInfo |
GetFileInfo(int nFileID)
Get the file info of latest version under the latest revision of the file with given id |
HWMFileInfo |
GetFileInfo(int nFileID,
java.lang.String strRevision)
Get the file info of latest version under the given revision of the file with given id |
HWMFileInfo |
GetFileInfo(int nFileID,
java.lang.String strRevision,
int nVersion)
Get the file info of given version under the given revision of the file with given id |
void |
Purge(int nFileID)
Remove all the files associated with the given file id |
void |
Purge(int nFileID,
java.lang.String strRevision)
Remove the given revision and versions under the revision of file associated with the given file id |
void |
Purge(int nFileID,
java.lang.String strRevision,
int nVersion)
Remove the version under the given revision of file associated with the given file id |
java.util.Vector |
Query(java.lang.String strFName,
int nFileID,
java.lang.String strFType,
java.lang.String strFDesc,
java.lang.String strRevision,
int nVersion,
java.lang.String strUser,
java.lang.String verDesc,
boolean bAnd)
Query for file information. |
HWMFileInfo |
Revise(int nFileID,
java.lang.String strRevision,
int nVersion,
java.lang.String strNewRevision,
java.lang.String strVerDesc,
java.lang.String strUser)
Create a new revision for the file with given attributes. |
HWMFileInfo |
Revise(int nFileID,
java.lang.String strRevision,
java.lang.String strNewRevision,
java.lang.String strVerDesc,
java.lang.String strUser)
Create a new revision for the file with given attributes. |
void |
UndoCheckOut(int nFileID,
java.lang.String strUser)
The check out status on the latest revision of the file with given id is set back to checked in if it was checked out by the same user. |
void |
UndoCheckOut(int nFileID,
java.lang.String strRevision,
java.lang.String strUser)
The check out status on the revision of the file with given id is set back to checked in if it was checked out by the same user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HWMFileServerClientSOAP()
Method Detail |
---|
public void Connect(java.lang.String strURL) throws java.lang.Exception
strURL
- The URL of the server
java.lang.Exception
public void Disconnect()
public HWMFileInfo AddFile(java.io.File file, java.lang.String strFName, java.lang.String strFType, java.lang.String strRevision, java.lang.String strUser, java.lang.String strFDesc, java.lang.String strVerDesc, boolean bCompress) throws java.lang.Exception
AddFile
in interface IHWMFileServerClient
file
- The file to addstrFName
- The file name to addstrFType
- The file typestrRevision
- The revision name for the new filestrUser
- The user who wants to add the filestrFDesc
- The description for this new filestrVerDesc
- The description for the first versionbCompress
- Compress the file or not. if true - compreesion will
be done.
java.lang.Exception
public HWMFileInfo CheckIn(java.io.File file, int nFileID, java.lang.String strRevision, java.lang.String strUser, java.lang.String strVerDesc, boolean bCompress) throws java.lang.Exception
CheckIn
in interface IHWMFileServerClient
file
- The file to check innFID
- The file id to check instrRevision
- The revision name for the new filestrUser
- The user who wants to add the filestrVerDesc
- The description for the first versionbCompress
- Compress the file or not. if true - compreesion will
be done.
java.lang.Exception
public HWMFileInfo CheckOut(int nFileID, java.lang.String strUser, boolean bUnCompress) throws java.lang.Exception
CheckOut
in interface IHWMFileServerClient
nFileID
- The file id of the file to check outstrUser
- The name of the user who wants to check out the filebUnCompress
- Uncompress the file or not. if true - uncompression
will be done.
java.lang.Exception
public HWMFileInfo CheckOut(int nFileID, java.lang.String strRevision, java.lang.String strUser, boolean bUnCompress) throws java.lang.Exception
CheckOut
in interface IHWMFileServerClient
nFileID
- The file id of the file to check outstrRevision
- The revision of the file to check outstrUser
- The name of the user who wants to check out the filebUnCompress
- Uncompress the file or not. if true - uncompression
will be done.
java.lang.Exception
public HWMFileInfo CheckOut(int nFileID, java.lang.String strRevision, int nVersion, java.lang.String strUser, boolean bUnCompress) throws java.lang.Exception
CheckOut
in interface IHWMFileServerClient
nFileID
- The file id of the file to check outstrRevision
- The revision of the file to check outnVersion
- the version to check out.strUser
- The name of the user who wants to check out the filebUnCompress
- Uncompress the file or not. if true - uncompression
will be done.
java.lang.Exception
public HWMFileInfo Get(int nFileID, boolean bUnCompress) throws java.lang.Exception
Get
in interface IHWMFileServerClient
nFileID
- The file id of the file to returnbUnCompress
- Uncompress the file or not. if true - uncompression
will be done.
java.lang.Exception
public HWMFileInfo Get(int nFileID, java.lang.String strRevision, boolean bUnCompress) throws java.lang.Exception
Get
in interface IHWMFileServerClient
nFileID
- The file id of the file to returnstrRevision
- The revision of the file to returnbUnCompress
- Uncompress the file or not. if true - uncompression
will be done.
java.lang.Exception
public HWMFileInfo Get(int nFileID, java.lang.String strRevision, int nVersion, boolean bUnCompress) throws java.lang.Exception
Get
in interface IHWMFileServerClient
nFileID
- The file id of the file to returnstrRevision
- The revision of the file to returnnVersion
- the version to return.bUnCompress
- Uncompress the file or not. if true - uncompression
will be done.
java.lang.Exception
public HWMFileInfo GetFileInfo(int nFileID) throws java.lang.Exception
GetFileInfo
in interface IHWMFileServerClient
nFileID
- The file id of the file info to return
java.lang.Exception
public HWMFileInfo GetFileInfo(int nFileID, java.lang.String strRevision) throws java.lang.Exception
GetFileInfo
in interface IHWMFileServerClient
nFileID
- The file id of the file info to returnstrRevision
- The revision of the file info to return
java.lang.Exception
public HWMFileInfo GetFileInfo(int nFileID, java.lang.String strRevision, int nVersion) throws java.lang.Exception
GetFileInfo
in interface IHWMFileServerClient
nFileID
- The file id of the file info to returnstrRevision
- The revision of the file info to returnnVersion
- the version to return.
java.lang.Exception
public void Purge(int nFileID) throws java.lang.Exception
Purge
in interface IHWMFileServerClient
nFileID
- The file id to remove
java.lang.Exception
public void Purge(int nFileID, java.lang.String strRevision) throws java.lang.Exception
Purge
in interface IHWMFileServerClient
nFileID
- The file id to removestrRevision
- The revision to remove
java.lang.Exception
public void Purge(int nFileID, java.lang.String strRevision, int nVersion) throws java.lang.Exception
Purge
in interface IHWMFileServerClient
nFileID
- The file id to removestrRevision
- The revision to removenVersion
- The version to remove
java.lang.Exception
public java.util.Vector Query(java.lang.String strFName, int nFileID, java.lang.String strFType, java.lang.String strFDesc, java.lang.String strRevision, int nVersion, java.lang.String strUser, java.lang.String verDesc, boolean bAnd) throws java.lang.Exception
Query
in interface IHWMFileServerClient
strFName
- The file namenFileID
- The file id If -1 - ignoredstrFType
- The file typestrFDesc
- The file decsriptionstrRevision
- The revision namenVersion
- The version for the file. If -1 - ignoredstrUser
- The user namestrVerDesc
- the version descriptionbAnd
- If true - the conjunction of all the conditions is considered
else disjunction
java.lang.Exception
public HWMFileInfo Revise(int nFileID, java.lang.String strRevision, java.lang.String strNewRevision, java.lang.String strVerDesc, java.lang.String strUser) throws java.lang.Exception
Revise
in interface IHWMFileServerClient
nFileID
- The ID of the file to revisestrRevision
- The revision name of the file to revisestrNewRevision
- The new revision namestrVerDesc
- The version description to use for the first
version of the new file.strUser
- The user name whois creating a new revision
java.lang.Exception
public HWMFileInfo Revise(int nFileID, java.lang.String strRevision, int nVersion, java.lang.String strNewRevision, java.lang.String strVerDesc, java.lang.String strUser) throws java.lang.Exception
Revise
in interface IHWMFileServerClient
nFileID
- The ID of the file to revisestrRevision
- The revision name of the file to revisenVersion
- The version of the file to revisestrNewRevision
- The new revision namestrVerDesc
- The version description to use for the first
version of the new file.strUser
- The user name whois creating a new revision
java.lang.Exception
public void UndoCheckOut(int nFileID, java.lang.String strUser) throws java.lang.Exception
UndoCheckOut
in interface IHWMFileServerClient
nFileID
- The file id of the file to undo check outstrUser
- The name of the user who wants to undo check out
java.lang.Exception
public void UndoCheckOut(int nFileID, java.lang.String strRevision, java.lang.String strUser) throws java.lang.Exception
UndoCheckOut
in interface IHWMFileServerClient
nFileID
- The file id of the file to undo check outstrRevision
- The revision to undo check out onstrUser
- The name of the user who wants to undo check out
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |