com.groupdocs.annotation.data.connector.data
Class AbstractDataConnector

java.lang.Object
  extended by com.groupdocs.annotation.data.connector.data.AbstractDataConnector
All Implemented Interfaces:
IDataConnector, IConnector
Direct Known Subclasses:
JsonDataConnector, XmlDataConnector

public abstract class AbstractDataConnector
extends Object
implements IDataConnector

Abstract data connector

Author:
Aleksey Permyakov (29.09.2014)

Constructor Summary
AbstractDataConnector()
           
 
Method Summary
 void closeConnection()
          Close connection to database
 IStorageSchemaUpdater getStorageSchemaUpdater()
          Callback object.
 StoreLogic getStoreLogic()
          Getter for property 'storeLogic'.
 void openConnection()
          Open connection to database
protected  void setStoreLogic(StoreLogic storeLogic)
          Setter for property 'storeLogic'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.groupdocs.annotation.data.connector.IConnector
getAnnotationDao, getCollaboratorDao, getDocumentDao, getReplyDao, getSessionDao, getSystemInfoDao, getUserDao
 

Constructor Detail

AbstractDataConnector

public AbstractDataConnector()
Method Detail

closeConnection

public void closeConnection()
                     throws AnnotationException
Close connection to database

Specified by:
closeConnection in interface IConnector
Throws:
AnnotationException

openConnection

public void openConnection()
                    throws AnnotationException
Open connection to database

Specified by:
openConnection in interface IConnector
Throws:
AnnotationException

getStoreLogic

public StoreLogic getStoreLogic()
Getter for property 'storeLogic'.

Specified by:
getStoreLogic in interface IDataConnector
Returns:
Value for property 'storeLogic'.

setStoreLogic

protected void setStoreLogic(StoreLogic storeLogic)
Setter for property 'storeLogic'.

Parameters:
storeLogic - Value to set for property 'storeLogic'.

getStorageSchemaUpdater

public IStorageSchemaUpdater getStorageSchemaUpdater()
Callback object. Will be used for update storage structure

Specified by:
getStorageSchemaUpdater in interface IConnector


Copyright © 2014. All rights reserved.