it.sistematica.isharedoc.sharecloud.engine.replica
Class ReplicaServerLegaldocImpl

java.lang.Object
  extended by it.sistematica.isharedoc.sharecloud.engine.replica.ReplicaServerLegaldocImpl
All Implemented Interfaces:
ReplicaServer

public class ReplicaServerLegaldocImpl
extends java.lang.Object
implements ReplicaServer


Field Summary
(package private)  it.neverworks.data.EntityManager entities
           
(package private)  NotificationService notificationService
           
(package private)  org.hibernate.SessionFactory sessionFactory
           
(package private)  it.neverworks.application.service.TemporaryFileService temporaryFileService
           
(package private)  org.springframework.transaction.PlatformTransactionManager transactionManager
           
(package private)  it.neverworks.xml.XmlHttpExtService webservicesReplicaLegaldocService
           
 
Constructor Summary
ReplicaServerLegaldocImpl()
           
 
Method Summary
 java.lang.String getIcon16()
           
 java.lang.String getRootFolderName()
           
 java.lang.String getServerDescription()
           
 java.lang.String getServerId()
           
 java.lang.Boolean isEnabled()
           
 void replica(java.lang.Long id)
           
 void replicaAll()
           
 void setConnectionProperties(java.util.Map<java.lang.String,java.lang.String> connectionProperties)
           
 void updateReplicaStatus(ReplicaURL url, java.lang.String status, java.lang.String description)
           
 void updateReplicaStatus(java.lang.String providerId, java.lang.String replicaId, java.lang.String status, java.lang.String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entities

it.neverworks.data.EntityManager entities

webservicesReplicaLegaldocService

it.neverworks.xml.XmlHttpExtService webservicesReplicaLegaldocService

temporaryFileService

it.neverworks.application.service.TemporaryFileService temporaryFileService

transactionManager

org.springframework.transaction.PlatformTransactionManager transactionManager

sessionFactory

org.hibernate.SessionFactory sessionFactory

notificationService

NotificationService notificationService
Constructor Detail

ReplicaServerLegaldocImpl

public ReplicaServerLegaldocImpl()
Method Detail

setConnectionProperties

public void setConnectionProperties(java.util.Map<java.lang.String,java.lang.String> connectionProperties)

getServerId

public java.lang.String getServerId()
Specified by:
getServerId in interface ReplicaServer

getServerDescription

public java.lang.String getServerDescription()
Specified by:
getServerDescription in interface ReplicaServer

getRootFolderName

public java.lang.String getRootFolderName()
Specified by:
getRootFolderName in interface ReplicaServer

getIcon16

public java.lang.String getIcon16()
Specified by:
getIcon16 in interface ReplicaServer

isEnabled

public java.lang.Boolean isEnabled()
Specified by:
isEnabled in interface ReplicaServer

replicaAll

@Transactional(propagation=REQUIRES_NEW)
public void replicaAll()
                throws java.lang.Exception
Specified by:
replicaAll in interface ReplicaServer
Throws:
java.lang.Exception

replica

public void replica(java.lang.Long id)
             throws java.lang.Exception
Specified by:
replica in interface ReplicaServer
Throws:
java.lang.Exception

updateReplicaStatus

public void updateReplicaStatus(ReplicaURL url,
                                java.lang.String status,
                                java.lang.String description)
Specified by:
updateReplicaStatus in interface ReplicaServer

updateReplicaStatus

public void updateReplicaStatus(java.lang.String providerId,
                                java.lang.String replicaId,
                                java.lang.String status,
                                java.lang.String description)
Specified by:
updateReplicaStatus in interface ReplicaServer