Java Doc for CommandCentral.java in  » Source-Control » sourcejammer » org » sourcejammer » client » gui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Source Control » sourcejammer » org.sourcejammer.client.gui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sourcejammer.client.gui.CommandCentral

CommandCentral
public class CommandCentral implements SJRequestParams,SJResponseParams(Code)
Title: $FileName: CommandCentral.java$
version:
   $VerNum: 34$
author:
   $AuthorName: Rob MacGrogan$


author:
   $Description: Central singleton that handles issuing all
author:
   commands and performing all file system actions for GUI.$

author:
   $KeyWordsOff: $


author:
   Central singleton that handles issuing all commands and performing all
author:
   file system actions for GUI.


Field Summary
final public static  StringAPP_TITLE
    
public static  PrintStreamout
    


Method Summary
public  voidaddFile(long parentUniqueID, String newFileName, String localFileNameLocation, int fileType, int historyType, String description, String afterAddAction, SJRequest request)
    
public  voidaddUserToArchiveControllers(String userName)
    
public  voidaddUserToArchiveUsers(String userName)
    
public  voidbranchAndCheckIn(NodeInfo fileNode, java.io.File flTargetDirectory, String comment, String afterCheckInAction, long parentProjectID, String identifier, SJRequest request)
     Checks in the file.
public  voidbranchFile(NodeInfo flInfo, long parentProjectID, String comment, String identifier, SJRequest request)
    
public  voidbranchProject(long projectID, String comment, String identifier)
    
public  voidchangeFileDescription(NodeInfo flInfo, String newDescription, SJRequest request)
    
public  voidchangePassword(String sPassword)
    
public  voidchangePassword(String sPassword, String userName)
    
public  booleancheckDeletedNodeShareStatus(long projectID, int itemIndex)
    
public  voidcheckInFile(NodeInfo fileNode, java.io.File flTargetDirectory, String comment, String afterCheckInAction, SJRequest request)
    
public  voidcheckOutFile(long fileID, String fileName, java.io.File flTargetDirectory)
    
public  voidcheckOutFile(long fileID, String fileName, java.io.File flTargetDirectory, int eolType, SJRequest request)
    
public  voidcheckOutFileToStream(long fileID, OutputStream stmOut, int eolType)
    
public  ProjectconnectToArchive()
    
public  voidcopyFile(NodeInfo flInfo, long fromProjectID, long toProjectID, SJRequest request)
    
public  voidcopyProject(long projectID, long toProjectID, String newProjectName)
    
public  StringcurrentURL()
    
public  booleandeleteArchive(String archiveName)
     Returns true if the archive deleted is the current archive and the user is now disconnected.
public  voiddeleteRemoved(long lParentID, int iItemNumber)
    
public  voiddeleteRemoved(long lParentID, int iItemNumber, boolean deleteAllShares)
    
public  booleandisconnect()
    
public  booleandoesProjectContainShares(long projectID)
    
public  voidforceCheckIn(NodeInfo fileNode, java.io.File flTargetDirectory, String comment, String afterCheckInAction, SJRequest request)
     Force local version of file into archive without checking file out.
public  String[]getAllCurrentFileNames()
    
public  UserInfo[]getArchiveControllerList()
    
public  StringgetArchiveName()
    
public  String[]getArchiveNameList()
     Returns list of archives available on server user is currently connected to.
public  ArchivePropertiesgetArchiveProperties()
    
public  UserInfo[]getArchiveUserList()
    
public  SJRequestgetBaseRequest()
    
public  StringgetBranchReport(long fileID, SJRequest request)
    
public  voidgetChangeList(long labelID, int newerVer, int olderVer, java.io.File targetFile, int eolType)
    
public  SourceVersionCheckergetChecker(java.io.File flDirectory)
    
public  intgetClientDefaultEOLType()
     Gets the default EOL type for the client from AppConfig.
public  UserInfo[]getCompleteUserList()
    
public  SourceVersionCheckergetCurrentProjectChecker()
    
public  ProjectTreeNodegetCurrentTreeNode()
    
public  StringgetCurrentUserName()
    
public  voidgetFile(NodeInfo fileInfo, java.io.File flTargetDirectory, boolean setReadOnly, RepeatingResponse repeating)
    
public  voidgetFile(NodeInfo fileInfo, java.io.File flTargetDirectory, int eolType, boolean setReadOnly, RepeatingResponse repeating, SJRequest request)
    
public  voidgetFile(NodeInfo fileInfo, java.io.File flTargetDirectory, int eolType, boolean printMessages, boolean setReadOnly, RepeatingResponse repeating, SJRequest request)
    
public  org.sourcejammer.project.view.FilegetFileInfo(NodeInfo flInfo, SJRequest request)
    
public  longgetFileLatestVersionID(long lFileID)
    
public  voidgetFileToStream(long lFileID, OutputStream stmOut, int eolType)
    
public  longgetFileUniqueID(String sjPath)
     Returns unique id of file based on full path to sourcejammer node.
public  voidgetFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, boolean setReadOnly, RepeatingResponse repeating)
    
public  voidgetFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, boolean setReadOnly, RepeatingResponse repeating, SJRequest request)
    
public  voidgetFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, boolean setReadOnly, boolean printMessages, RepeatingResponse repeating)
    
public  voidgetFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, int eolType, boolean setReadOnly, RepeatingResponse repeating, SJRequest request)
    
public  voidgetFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, int eolType, boolean setReadOnly, boolean printMessages, RepeatingResponse repeating, SJRequest request)
    
public  GuiConfgetGuiConf()
    
public static  CommandCentralgetInstance(SJPrimaryWindow rootApplicationFrame)
    
public static  CommandCentralgetInstance()
    
public  voidgetLabel(long labelID, int verNumber, java.io.File flToDirectory, boolean bBuildSubDirs, int eolType, boolean setReadOnly, RepeatingResponse repeating)
     Gets all of the file version in the specified label from the server and writes them to the specified directory (building subdirectories if required and allowed).
public  NodeListgetLabelList()
    
public  StringgetPassword()
    
public  SOAPPortalgetPortal()
    
public  JTablegetPrimaryTable()
    
public  TableColumnModelgetPrimaryTableColumnModel()
    
public  JTreegetProjectTree()
    
public  longgetProjectUniqueID(String sjPath)
     Returns unique id of project based on full path to sourcejammer node.
public  StringgetProxyPassword()
     Returns the proxyPassword.
public  SJPrimaryWindowgetRootAppFrame()
    
public  String[]getSelectedFileNames()
    
public  NodeInfogetSelectedFileNodeInfo()
    
public  NodeInfogetSelectedFileNodeInfo(String name)
    
public  NodeInfo[]getSelectedFilesNodeInfo()
    
public  StringgetUserName()
    
public  booleanhasLocalFileChanged(String fileName, java.io.File flTargetDir)
    
public  booleanisAppWindowRendered()
    
public  booleanisConnected()
    
public  booleanisProxyPasswordSet()
     Returns the proxyPasswordSet.
public  voidmakeArchive(String name, int implementation, String path)
    
public  voidmakeArchiveDisconnected(String userName, String password, String url, String name, int implementation, String path)
    
public  voidmakeLabel(long labelRootProjectID, String labelName, String description)
    
public  longmakeProject(long parentProjectID, String newProjectName)
     Make a new project on the server.
public  voidmakeUser(String sUserName, String sPassword, String sFullName)
    
public  voidmoveFile(NodeInfo flInfo, long fromProjectID, long toProjectID, SJRequest request)
    
public  voidmoveProject(long projectID, long toProjectID, String newProjectName)
    
public  voidrebuildFileView()
    
public  voidrebuildFileView(boolean fromRoot)
    
public  voidrebuildLabel(long labelId, long parentProjectID, String comment, boolean buildChangeList)
     Rebuild the specified label.
public  voidremoveAllSharesOfFile(NodeInfo flInfo, SJRequest request)
    
public  voidremoveFileFromParent(NodeInfo flInfo, long parentID, SJRequest request)
    
public  voidremoveFileShare(NodeInfo flInfo, long fromProjectID, SJRequest request)
    
public  voidremoveProjectAndAllShares(long projectID)
    
public  voidremoveProjectFromParent(long projectID, long parentID)
    
public  voidremoveProjectShare(long projectID)
    
public  voidremoveUser(String sUserName)
    
public  voidremoveUserFromArchiveControllers(String userName)
    
public  voidremoveUserFromArchiveUsers(String userName)
    
public  voidrenameFile(NodeInfo flInfo, long parentID, String newName, SJRequest request)
    
public  voidrenameProject(long projectID, long parentID, String newName)
    
public  voidresetAppTitle()
    
public  voidrestoreRemoved(long parentID, int iItemNumber, String newName)
    
protected  longretrieveFileFromServer(DownloadFileIdentifier id, SJResponse response)
     Returns temp file id.
public  ProjectretrieveProject(long projectID)
     Retrieve info about a project from the server. Migrated to 1.1 unique ID approach.
public  voidrollbackToVersion(NodeInfo flInfo, long versionID, SJRequest request)
     Rolls back a file in the SourceJammer server to the specified previous version of the file.
public  voidselectProject(ProjectTreeNode nd)
     Select the specified project in the project tree.
protected  longsendFileToServer(java.io.File fl, SJRequest request)
    
public  SJResponsesendRequest(SJRequest request, String method)
    
public  voidsetAlternateOut(PrintStream altOut)
     This method can be called to set the static out to some PrintStream other than the message pane.
public  voidsetAppWindowRendered(boolean b)
    
public synchronized  voidsetArchiveConnectInfo(String archive, String userName, String password)
    
public  voidsetArchiveProperties(ArchiveProperties props)
    
public  voidsetCurrentTreeNode(ProjectTreeNode node)
    
public  voidsetDisconnectedDisplaySettings()
    
public  voidsetPrimaryTableColumnModel(TableColumnModel model)
    
public  voidsetProxyPassword(String proxyPassword)
     Sets the proxyPassword.
public  voidsetProxyPasswordSet(boolean proxyPasswordSet)
     Sets the proxyPasswordSet.
public  voidsetServerURL(String url)
    
public  voidsetUserAdminStatus(String userName, boolean status)
    
public  voidshareFile(NodeInfo flInfo, long toProjectID, SJRequest request)
    
public  voidshareProject(long projectID, long toProjectID, String newProjectName)
    
public  voidundoCheckOut(long fileID, String sFileName, java.io.File flTargetDirectory, SJRequest request)
    
public  RemovedItem[]viewRemoved(long projectID)
    
public  StringviewVersionComment(long versionID)
    
protected  byte[]zipByteArrayIfNeeded(byte[] file, SJRequest request, String fileName)
     Checks if a byte array about to be sent is larger than the minimum unzipped file size.

Field Detail
APP_TITLE
final public static String APP_TITLE(Code)



out
public static PrintStream out(Code)





Method Detail
addFile
public void addFile(long parentUniqueID, String newFileName, String localFileNameLocation, int fileType, int historyType, String description, String afterAddAction, SJRequest request) throws GUICommandException, SourceJammerConnectionException, IOException(Code)



addUserToArchiveControllers
public void addUserToArchiveControllers(String userName) throws SourceJammerConnectionException, GUICommandException(Code)



addUserToArchiveUsers
public void addUserToArchiveUsers(String userName) throws SourceJammerConnectionException, GUICommandException(Code)



branchAndCheckIn
public void branchAndCheckIn(NodeInfo fileNode, java.io.File flTargetDirectory, String comment, String afterCheckInAction, long parentProjectID, String identifier, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)
Checks in the file. If file is shared, tells server to branch it on checkin.



branchFile
public void branchFile(NodeInfo flInfo, long parentProjectID, String comment, String identifier, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



branchProject
public void branchProject(long projectID, String comment, String identifier) throws SourceJammerConnectionException, GUICommandException(Code)



changeFileDescription
public void changeFileDescription(NodeInfo flInfo, String newDescription, SJRequest request) throws GUICommandException, SourceJammerConnectionException, IOException(Code)



changePassword
public void changePassword(String sPassword) throws SourceJammerConnectionException, GUICommandException(Code)



changePassword
public void changePassword(String sPassword, String userName) throws SourceJammerConnectionException, GUICommandException(Code)



checkDeletedNodeShareStatus
public boolean checkDeletedNodeShareStatus(long projectID, int itemIndex) throws SourceJammerConnectionException, GUICommandException(Code)



checkInFile
public void checkInFile(NodeInfo fileNode, java.io.File flTargetDirectory, String comment, String afterCheckInAction, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



checkOutFile
public void checkOutFile(long fileID, String fileName, java.io.File flTargetDirectory) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



checkOutFile
public void checkOutFile(long fileID, String fileName, java.io.File flTargetDirectory, int eolType, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



checkOutFileToStream
public void checkOutFileToStream(long fileID, OutputStream stmOut, int eolType) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



connectToArchive
public Project connectToArchive() throws SourceJammerConnectionException, GUICommandException, NoSessionException(Code)



copyFile
public void copyFile(NodeInfo flInfo, long fromProjectID, long toProjectID, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



copyProject
public void copyProject(long projectID, long toProjectID, String newProjectName) throws SourceJammerConnectionException, GUICommandException(Code)



currentURL
public String currentURL()(Code)



deleteArchive
public boolean deleteArchive(String archiveName) throws SourceJammerConnectionException, GUICommandException(Code)
Returns true if the archive deleted is the current archive and the user is now disconnected. Signal to close any open dialog.



deleteRemoved
public void deleteRemoved(long lParentID, int iItemNumber) throws SourceJammerConnectionException, GUICommandException(Code)



deleteRemoved
public void deleteRemoved(long lParentID, int iItemNumber, boolean deleteAllShares) throws SourceJammerConnectionException, GUICommandException(Code)



disconnect
public boolean disconnect() throws SourceJammerConnectionException, GUICommandException(Code)



doesProjectContainShares
public boolean doesProjectContainShares(long projectID) throws SourceJammerConnectionException, GUICommandException(Code)



forceCheckIn
public void forceCheckIn(NodeInfo fileNode, java.io.File flTargetDirectory, String comment, String afterCheckInAction, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)
Force local version of file into archive without checking file out.



getAllCurrentFileNames
public String[] getAllCurrentFileNames()(Code)



getArchiveControllerList
public UserInfo[] getArchiveControllerList() throws SourceJammerConnectionException, GUICommandException(Code)



getArchiveName
public String getArchiveName()(Code)



getArchiveNameList
public String[] getArchiveNameList() throws SourceJammerConnectionException, GUICommandException(Code)
Returns list of archives available on server user is currently connected to.



getArchiveProperties
public ArchiveProperties getArchiveProperties() throws GUICommandException, SourceJammerConnectionException(Code)



getArchiveUserList
public UserInfo[] getArchiveUserList() throws SourceJammerConnectionException, GUICommandException(Code)



getBaseRequest
public SJRequest getBaseRequest()(Code)



getBranchReport
public String getBranchReport(long fileID, SJRequest request) throws GUICommandException, SourceJammerConnectionException(Code)
Get Branch report



getChangeList
public void getChangeList(long labelID, int newerVer, int olderVer, java.io.File targetFile, int eolType) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getChecker
public SourceVersionChecker getChecker(java.io.File flDirectory) throws IOException(Code)



getClientDefaultEOLType
public int getClientDefaultEOLType()(Code)
Gets the default EOL type for the client from AppConfig.



getCompleteUserList
public UserInfo[] getCompleteUserList() throws SourceJammerConnectionException, GUICommandException(Code)



getCurrentProjectChecker
public SourceVersionChecker getCurrentProjectChecker()(Code)



getCurrentTreeNode
public ProjectTreeNode getCurrentTreeNode()(Code)



getCurrentUserName
public String getCurrentUserName()(Code)



getFile
public void getFile(NodeInfo fileInfo, java.io.File flTargetDirectory, boolean setReadOnly, RepeatingResponse repeating) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFile
public void getFile(NodeInfo fileInfo, java.io.File flTargetDirectory, int eolType, boolean setReadOnly, RepeatingResponse repeating, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFile
public void getFile(NodeInfo fileInfo, java.io.File flTargetDirectory, int eolType, boolean printMessages, boolean setReadOnly, RepeatingResponse repeating, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFileInfo
public org.sourcejammer.project.view.File getFileInfo(NodeInfo flInfo, SJRequest request) throws GUICommandException, SourceJammerConnectionException(Code)
Get file info



getFileLatestVersionID
public long getFileLatestVersionID(long lFileID)(Code)



getFileToStream
public void getFileToStream(long lFileID, OutputStream stmOut, int eolType) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFileUniqueID
public long getFileUniqueID(String sjPath) throws SourceJammerConnectionException, GUICommandException(Code)
Returns unique id of file based on full path to sourcejammer node.



getFileVersion
public void getFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, boolean setReadOnly, RepeatingResponse repeating) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFileVersion
public void getFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, boolean setReadOnly, RepeatingResponse repeating, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFileVersion
public void getFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, boolean setReadOnly, boolean printMessages, RepeatingResponse repeating) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFileVersion
public void getFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, int eolType, boolean setReadOnly, RepeatingResponse repeating, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getFileVersion
public void getFileVersion(NodeInfo flInfo, java.io.File flTargetDirectory, int iVersion, long versionID, int eolType, boolean setReadOnly, boolean printMessages, RepeatingResponse repeating, SJRequest request) throws SourceJammerConnectionException, GUICommandException, IOException(Code)



getGuiConf
public GuiConf getGuiConf()(Code)



getInstance
public static CommandCentral getInstance(SJPrimaryWindow rootApplicationFrame)(Code)



getInstance
public static CommandCentral getInstance()(Code)



getLabel
public void getLabel(long labelID, int verNumber, java.io.File flToDirectory, boolean bBuildSubDirs, int eolType, boolean setReadOnly, RepeatingResponse repeating) throws SourceJammerConnectionException, GUICommandException, IOException(Code)
Gets all of the file version in the specified label from the server and writes them to the specified directory (building subdirectories if required and allowed).



getLabelList
public NodeList getLabelList() throws SourceJammerConnectionException, GUICommandException, org.sourcejammer.project.NodeExistsException(Code)



getPassword
public String getPassword()(Code)



getPortal
public SOAPPortal getPortal()(Code)



getPrimaryTable
public JTable getPrimaryTable()(Code)



getPrimaryTableColumnModel
public TableColumnModel getPrimaryTableColumnModel()(Code)



getProjectTree
public JTree getProjectTree()(Code)



getProjectUniqueID
public long getProjectUniqueID(String sjPath) throws SourceJammerConnectionException, GUICommandException(Code)
Returns unique id of project based on full path to sourcejammer node.



getProxyPassword
public String getProxyPassword()(Code)
Returns the proxyPassword. String



getRootAppFrame
public SJPrimaryWindow getRootAppFrame()(Code)



getSelectedFileNames
public String[] getSelectedFileNames()(Code)



getSelectedFileNodeInfo
public NodeInfo getSelectedFileNodeInfo()(Code)



getSelectedFileNodeInfo
public NodeInfo getSelectedFileNodeInfo(String name)(Code)



getSelectedFilesNodeInfo
public NodeInfo[] getSelectedFilesNodeInfo()(Code)



getUserName
public String getUserName()(Code)



hasLocalFileChanged
public boolean hasLocalFileChanged(String fileName, java.io.File flTargetDir) throws IOException(Code)



isAppWindowRendered
public boolean isAppWindowRendered()(Code)



isConnected
public boolean isConnected()(Code)



isProxyPasswordSet
public boolean isProxyPasswordSet()(Code)
Returns the proxyPasswordSet. boolean



makeArchive
public void makeArchive(String name, int implementation, String path) throws SourceJammerConnectionException, GUICommandException(Code)



makeArchiveDisconnected
public void makeArchiveDisconnected(String userName, String password, String url, String name, int implementation, String path) throws SourceJammerConnectionException, GUICommandException, MalformedURLException, NoSessionException(Code)



makeLabel
public void makeLabel(long labelRootProjectID, String labelName, String description) throws SourceJammerConnectionException, GUICommandException(Code)



makeProject
public long makeProject(long parentProjectID, String newProjectName) throws SourceJammerConnectionException, GUICommandException(Code)
Make a new project on the server.



makeUser
public void makeUser(String sUserName, String sPassword, String sFullName) throws GUICommandException, SourceJammerConnectionException(Code)



moveFile
public void moveFile(NodeInfo flInfo, long fromProjectID, long toProjectID, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



moveProject
public void moveProject(long projectID, long toProjectID, String newProjectName) throws SourceJammerConnectionException, GUICommandException(Code)



rebuildFileView
public void rebuildFileView() throws NodeExistsException, IOException(Code)



rebuildFileView
public void rebuildFileView(boolean fromRoot) throws NodeExistsException, IOException(Code)



rebuildLabel
public void rebuildLabel(long labelId, long parentProjectID, String comment, boolean buildChangeList) throws SourceJammerConnectionException, GUICommandException, IOException(Code)
Rebuild the specified label.



removeAllSharesOfFile
public void removeAllSharesOfFile(NodeInfo flInfo, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



removeFileFromParent
public void removeFileFromParent(NodeInfo flInfo, long parentID, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



removeFileShare
public void removeFileShare(NodeInfo flInfo, long fromProjectID, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



removeProjectAndAllShares
public void removeProjectAndAllShares(long projectID) throws SourceJammerConnectionException, GUICommandException(Code)



removeProjectFromParent
public void removeProjectFromParent(long projectID, long parentID) throws SourceJammerConnectionException, GUICommandException(Code)



removeProjectShare
public void removeProjectShare(long projectID) throws SourceJammerConnectionException, GUICommandException(Code)



removeUser
public void removeUser(String sUserName) throws GUICommandException, SourceJammerConnectionException(Code)



removeUserFromArchiveControllers
public void removeUserFromArchiveControllers(String userName) throws SourceJammerConnectionException, GUICommandException(Code)



removeUserFromArchiveUsers
public void removeUserFromArchiveUsers(String userName) throws SourceJammerConnectionException, GUICommandException(Code)



renameFile
public void renameFile(NodeInfo flInfo, long parentID, String newName, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



renameProject
public void renameProject(long projectID, long parentID, String newName)(Code)



resetAppTitle
public void resetAppTitle()(Code)



restoreRemoved
public void restoreRemoved(long parentID, int iItemNumber, String newName)(Code)



retrieveFileFromServer
protected long retrieveFileFromServer(DownloadFileIdentifier id, SJResponse response) throws IOException, SourceJammerConnectionException(Code)
Returns temp file id.



retrieveProject
public Project retrieveProject(long projectID) throws SourceJammerConnectionException, GUICommandException(Code)
Retrieve info about a project from the server. Migrated to 1.1 unique ID approach. --rfm



rollbackToVersion
public void rollbackToVersion(NodeInfo flInfo, long versionID, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)
Rolls back a file in the SourceJammer server to the specified previous version of the file.



selectProject
public void selectProject(ProjectTreeNode nd)(Code)
Select the specified project in the project tree.



sendFileToServer
protected long sendFileToServer(java.io.File fl, SJRequest request) throws IOException, SourceJammerConnectionException(Code)



sendRequest
public SJResponse sendRequest(SJRequest request, String method) throws SourceJammerConnectionException, GUICommandException(Code)



setAlternateOut
public void setAlternateOut(PrintStream altOut)(Code)
This method can be called to set the static out to some PrintStream other than the message pane. Typically, this will be called when SJ is being automated.



setAppWindowRendered
public void setAppWindowRendered(boolean b)(Code)



setArchiveConnectInfo
public synchronized void setArchiveConnectInfo(String archive, String userName, String password) throws IOException(Code)



setArchiveProperties
public void setArchiveProperties(ArchiveProperties props) throws GUICommandException, SourceJammerConnectionException(Code)



setCurrentTreeNode
public void setCurrentTreeNode(ProjectTreeNode node)(Code)



setDisconnectedDisplaySettings
public void setDisconnectedDisplaySettings()(Code)



setPrimaryTableColumnModel
public void setPrimaryTableColumnModel(TableColumnModel model)(Code)



setProxyPassword
public void setProxyPassword(String proxyPassword)(Code)
Sets the proxyPassword.
Parameters:
  proxyPassword - The proxyPassword to set



setProxyPasswordSet
public void setProxyPasswordSet(boolean proxyPasswordSet)(Code)
Sets the proxyPasswordSet.
Parameters:
  proxyPasswordSet - The proxyPasswordSet to set



setServerURL
public void setServerURL(String url) throws MalformedURLException(Code)



setUserAdminStatus
public void setUserAdminStatus(String userName, boolean status) throws SourceJammerConnectionException, GUICommandException(Code)



shareFile
public void shareFile(NodeInfo flInfo, long toProjectID, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



shareProject
public void shareProject(long projectID, long toProjectID, String newProjectName) throws SourceJammerConnectionException, GUICommandException(Code)



undoCheckOut
public void undoCheckOut(long fileID, String sFileName, java.io.File flTargetDirectory, SJRequest request) throws SourceJammerConnectionException, GUICommandException(Code)



viewRemoved
public RemovedItem[] viewRemoved(long projectID) throws SourceJammerConnectionException, GUICommandException(Code)



viewVersionComment
public String viewVersionComment(long versionID) throws SourceJammerConnectionException, GUICommandException(Code)



zipByteArrayIfNeeded
protected byte[] zipByteArrayIfNeeded(byte[] file, SJRequest request, String fileName) throws IOException(Code)
Checks if a byte array about to be sent is larger than the minimum unzipped file size. If so, zips the file and sets the flag in the SJRequest.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.