Java Doc for LibresourceSynchronizerServiceBean.java in  » Groupware » LibreSource » org » libresource » so6 » server » ls » ejb » 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 » Groupware » LibreSource » org.libresource.so6.server.ls.ejb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.libresource.LibresourceServiceBase
      org.libresource.so6.server.ls.ejb.LibresourceSynchronizerServiceBean

LibresourceSynchronizerServiceBean
abstract public class LibresourceSynchronizerServiceBean extends LibresourceServiceBase (Code)
The Libresource Sycnhronization service
author:
   Sebastien Jourdain - author:
   href="http://www.inria.fr">INRIA Lorraine
author:
   Sebastien (Artenum) Reecriture des methodes de generation du dataflow


Field Summary
final public static  intBUFFER_SIZE
    
final public static  StringDEFAULT_BINARY_EXTENTION
    
final public static  StringPATCH_TABLE_PARAM
    
final public static  StringSO6_COMMIT
    
final public static  StringSO6_CREATE_WORKSPACE
    


Method Summary
public  voidaddBinExt(URI uri, String ext)
    
public  voidaddPatch(URI uri, long fromTicket, long toTicket, FileData patchfile, String wsName, String comment, long time, boolean validateTicketNumber, String changeLog)
    
public  voidaddPatchSystem(URI uri, long fromTicket, long toTicket, FileData patchfile, String wsName, String comment, long time, boolean validateTicketNumber, boolean builtPatch, String changeLog)
    
public  voidcompressSynchronizer(URI uri, long from, long to)
    
public  voidcompressSynchronizerSystem(URI uri, long from, long to)
    
public  voidcreateSynchronizer(URI uri, String name, String description, String binExt)
    
public  voidcreateSynchronizer(URI uri, String name, String description, String encoding, String binExt)
    
public  voidcreateWorkspace(String workspaceId)
    
public  StringcreateWorkspaceConnection(URI uri, String wsid, String name, String wsPath)
    
public  voiddataflowBuilder(XMLSerializer out, Collection wsConnectionIds, SynchronizerResourceValue value)
    
public  voiddataflowBuilder(XMLSerializer out, Collection wsConnectionIds, WorkspaceValue value)
    
public  voiddataflowBuilder(XMLSerializer out, Collection wsConnectionIds, WsConnectionResourceValue value, boolean isWsToQueue)
    
public  voiddeleteSynchronizer(URI uri)
    
public  voiddeleteWorkspaceConnection(URI uri)
    
public  voiddeleteWorkspaceConnection(URI synchronizerUri, String workspaceId)
    
public  voideditPatch(URI uri, long fromTicket, long toTicket, String comment, String tagName, boolean tagged)
    
public  voideditSynchronizer(URI uri, String name, String description, String fileEncoding, String binaryExtention)
    
public  voideditWorkspaceConnection(URI uri, String name, String wsPath, String managerUri)
    
public  voidexportFileFromDatabase(long fromTicket, long toTicket, String synchronizerId, Connection con, String filePath, String fieldName)
    
public  StringgetBinExt(URI uri)
    
public static  ConnectiongetConnection()
    
public static  StringgetCreatePatchTableQuery(String synchronizerId)
    
public static  StringgetDistributedFileSystem()
    
public  LibresourceIndexableContentgetIndexableContent(LibresourceResourceIdentifier resourceIdentifier)
    
public  FileDatagetNetworkFromQueue(URI queueUri)
    
public  FileDatagetNetworkFromWorkspace(String workspaceId)
    
public  FileDatagetPatch(URI uri, long fromTicket)
    
public  FileDatagetPatch(URI uri, long fromTicket, long toTicket)
    
public  SynchronizerResourceValuegetSynchronizer(URI uri)
    
public static  StringgetSynchronizerBasePath(String synchronizerId)
    
public  PatchBeangetSynchronizerPatchValue(URI uri, long fromTicket, long toTicket)
    
public  WsConnectionResourceValuegetWorkspaceConnection(URI uri)
    
public  SynchronizerResourceValuegetWorkspaceConnectionSynchronizer(URI uri)
    
public  WorkspaceValuegetWorkspaceFromWorkspaceConnection(URI uri)
    
public  LibresourceExportHandlergetXmlExportHandlerForResource(URI uri)
    
public  LibresourceImportHandlergetXmlImportHandler(String type)
    
public  intimportFileInDbSystem(FileData patchfile)
    
public  voidimportFileIntoDatabase(String ticketField, long ticket, String synchronizerId, Connection con, String filePath, String fieldName)
    
public  voidinsertPatchMetaDataSystem(URI uri, String syncId, long fromTicket, long toTicket, String wsName, String comment, int patchOID, long patchSize, long time, boolean builtPatch, String changeLog)
    
public  SynchronizerResourceValue[]listAllSynchronizers()
    
public  String[]listAvailablesEvents(LibresourceResourceIdentifier resourceIdentifier)
    
public  String[]listAvailablesPermissions(LibresourceResourceIdentifier resourceIdentifier)
    
public  VectorlistManagerWsConnection(String manager)
    
public  SynchronizerResourceValue[]listSynchronizerAt(URI uri)
    
public  WsConnectionResourceValue[]listSynchronizerConnections(URI uri)
    
public  PatchBean[]listSynchronizerPatch(URI uri, int compressedPatch)
    
public  WsConnectionResourceValue[]listWorkspaceConnectionsAt(URI uri)
    
public  WsConnectionResourceValue[]listWorkspaceConnectionsFromWorkspace(String workspaceId)
    
public  voidremoveBinExt(URI uri, String ext)
    
public  voidremovePatch(URI uri, long fromTicket, long toTicket)
    
public  voidremoveWorkspace(String workspaceId)
    
public  voidtagState(URI uri)
    
public  voidtagStateSystem(URI uri)
    
public  voidupdateWorkspaceConnectionTicket(URI uri, long newLastTicket)
    
public  voidupdateWorkspaceConnectionTicket(URI uri, long newLastTicket, Date lastSynchro)
    
public  voidupdateWorkspaceConnections(String workspaceId, String[] queueIds)
    

Field Detail
BUFFER_SIZE
final public static int BUFFER_SIZE(Code)



DEFAULT_BINARY_EXTENTION
final public static String DEFAULT_BINARY_EXTENTION(Code)



PATCH_TABLE_PARAM
final public static String PATCH_TABLE_PARAM(Code)



SO6_COMMIT
final public static String SO6_COMMIT(Code)



SO6_CREATE_WORKSPACE
final public static String SO6_CREATE_WORKSPACE(Code)





Method Detail
addBinExt
public void addBinExt(URI uri, String ext) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



addPatch
public void addPatch(URI uri, long fromTicket, long toTicket, FileData patchfile, String wsName, String comment, long time, boolean validateTicketNumber, String changeLog) throws LibresourceSynchronizerException, InvalideTicketException, LibresourceSecurityException, URINotExistException(Code)



addPatchSystem
public void addPatchSystem(URI uri, long fromTicket, long toTicket, FileData patchfile, String wsName, String comment, long time, boolean validateTicketNumber, boolean builtPatch, String changeLog) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException, InvalideTicketException(Code)



compressSynchronizer
public void compressSynchronizer(URI uri, long from, long to) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



compressSynchronizerSystem
public void compressSynchronizerSystem(URI uri, long from, long to) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



createSynchronizer
public void createSynchronizer(URI uri, String name, String description, String binExt) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



createSynchronizer
public void createSynchronizer(URI uri, String name, String description, String encoding, String binExt) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



createWorkspace
public void createWorkspace(String workspaceId) throws LibresourceSynchronizerException(Code)



createWorkspaceConnection
public String createWorkspaceConnection(URI uri, String wsid, String name, String wsPath) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



dataflowBuilder
public void dataflowBuilder(XMLSerializer out, Collection wsConnectionIds, SynchronizerResourceValue value) throws IOException, LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException, SAXException(Code)



dataflowBuilder
public void dataflowBuilder(XMLSerializer out, Collection wsConnectionIds, WorkspaceValue value) throws IOException, LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException, SAXException(Code)



dataflowBuilder
public void dataflowBuilder(XMLSerializer out, Collection wsConnectionIds, WsConnectionResourceValue value, boolean isWsToQueue) throws IOException, LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException, SAXException(Code)



deleteSynchronizer
public void deleteSynchronizer(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



deleteWorkspaceConnection
public void deleteWorkspaceConnection(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



deleteWorkspaceConnection
public void deleteWorkspaceConnection(URI synchronizerUri, String workspaceId) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



editPatch
public void editPatch(URI uri, long fromTicket, long toTicket, String comment, String tagName, boolean tagged) throws Exception(Code)



editSynchronizer
public void editSynchronizer(URI uri, String name, String description, String fileEncoding, String binaryExtention) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



editWorkspaceConnection
public void editWorkspaceConnection(URI uri, String name, String wsPath, String managerUri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



exportFileFromDatabase
public void exportFileFromDatabase(long fromTicket, long toTicket, String synchronizerId, Connection con, String filePath, String fieldName) throws LibresourceSynchronizerException(Code)



getBinExt
public String getBinExt(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getConnection
public static Connection getConnection() throws SQLException, NamingException(Code)



getCreatePatchTableQuery
public static String getCreatePatchTableQuery(String synchronizerId) throws SQLException(Code)



getDistributedFileSystem
public static String getDistributedFileSystem() throws LibresourceSynchronizerException(Code)



getIndexableContent
public LibresourceIndexableContent getIndexableContent(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)



getNetworkFromQueue
public FileData getNetworkFromQueue(URI queueUri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getNetworkFromWorkspace
public FileData getNetworkFromWorkspace(String workspaceId) throws LibresourceSynchronizerException, LibresourceSecurityException(Code)



getPatch
public FileData getPatch(URI uri, long fromTicket) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException, InvalideTicketException(Code)



getPatch
public FileData getPatch(URI uri, long fromTicket, long toTicket) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException, InvalideTicketException(Code)



getSynchronizer
public SynchronizerResourceValue getSynchronizer(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getSynchronizerBasePath
public static String getSynchronizerBasePath(String synchronizerId) throws LibresourceSynchronizerException(Code)



getSynchronizerPatchValue
public PatchBean getSynchronizerPatchValue(URI uri, long fromTicket, long toTicket) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getWorkspaceConnection
public WsConnectionResourceValue getWorkspaceConnection(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getWorkspaceConnectionSynchronizer
public SynchronizerResourceValue getWorkspaceConnectionSynchronizer(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getWorkspaceFromWorkspaceConnection
public WorkspaceValue getWorkspaceFromWorkspaceConnection(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



getXmlExportHandlerForResource
public LibresourceExportHandler getXmlExportHandlerForResource(URI uri) throws LibresourceException(Code)



getXmlImportHandler
public LibresourceImportHandler getXmlImportHandler(String type) throws LibresourceException(Code)



importFileInDbSystem
public int importFileInDbSystem(FileData patchfile) throws Exception(Code)



importFileIntoDatabase
public void importFileIntoDatabase(String ticketField, long ticket, String synchronizerId, Connection con, String filePath, String fieldName) throws SQLException(Code)



insertPatchMetaDataSystem
public void insertPatchMetaDataSystem(URI uri, String syncId, long fromTicket, long toTicket, String wsName, String comment, int patchOID, long patchSize, long time, boolean builtPatch, String changeLog) throws Exception(Code)



listAllSynchronizers
public SynchronizerResourceValue[] listAllSynchronizers() throws LibresourceSynchronizerException(Code)



listAvailablesEvents
public String[] listAvailablesEvents(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)



listAvailablesPermissions
public String[] listAvailablesPermissions(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)



listManagerWsConnection
public Vector listManagerWsConnection(String manager) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



listSynchronizerAt
public SynchronizerResourceValue[] listSynchronizerAt(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



listSynchronizerConnections
public WsConnectionResourceValue[] listSynchronizerConnections(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException(Code)



listSynchronizerPatch
public PatchBean[] listSynchronizerPatch(URI uri, int compressedPatch) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)

Parameters:
  compressedPatch -
  • -1 for all kind of patch
  • 0 for user patch
  • 1 for generated compressed patch



listWorkspaceConnectionsAt
public WsConnectionResourceValue[] listWorkspaceConnectionsAt(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



listWorkspaceConnectionsFromWorkspace
public WsConnectionResourceValue[] listWorkspaceConnectionsFromWorkspace(String workspaceId) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



removeBinExt
public void removeBinExt(URI uri, String ext) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



removePatch
public void removePatch(URI uri, long fromTicket, long toTicket) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



removeWorkspace
public void removeWorkspace(String workspaceId) throws LibresourceSynchronizerException(Code)



tagState
public void tagState(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



tagStateSystem
public void tagStateSystem(URI uri) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



updateWorkspaceConnectionTicket
public void updateWorkspaceConnectionTicket(URI uri, long newLastTicket) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



updateWorkspaceConnectionTicket
public void updateWorkspaceConnectionTicket(URI uri, long newLastTicket, Date lastSynchro) throws LibresourceSynchronizerException, LibresourceSecurityException, URINotExistException(Code)



updateWorkspaceConnections
public void updateWorkspaceConnections(String workspaceId, String[] queueIds) throws LibresourceSynchronizerException(Code)



Fields inherited from org.libresource.LibresourceServiceBase
protected transient SessionContext ctx(Code)(Java Doc)

Methods inherited from org.libresource.LibresourceServiceBase
public boolean canMapResourceForSecurity(URI fromResource, URI toResource) throws LibresourceException(Code)(Java Doc)
public void ejbActivate() throws EJBException, RemoteException(Code)(Java Doc)
public void ejbCreate() throws EJBException, RemoteException(Code)(Java Doc)
public void ejbPassivate() throws EJBException, RemoteException(Code)(Java Doc)
public void ejbRemove() throws EJBException, RemoteException(Code)(Java Doc)
public LibresourceIndexableContent getIndexableContent(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)(Java Doc)
abstract public String[] getLibresourceServiceDepends()(Code)(Java Doc)
abstract public String getLibresourceServiceName()(Code)(Java Doc)
public String getShortResourceName(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)(Java Doc)
public LibresourceExportHandler getXmlExportHandlerForResource(URI uri) throws LibresourceException(Code)(Java Doc)
public LibresourceImportHandler getXmlImportHandler(String type) throws LibresourceException(Code)(Java Doc)
public String[] listAvailablesEvents(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)(Java Doc)
public String[] listAvailablesPermissions(LibresourceResourceIdentifier resourceIdentifier) throws LibresourceException(Code)(Java Doc)
public void setSessionContext(SessionContext c)(Code)(Java Doc)
public void unsetEntityContext()(Code)(Java Doc)

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.