Package org.gvsig.vcsgis.lib.repository
Class AbstractRepository
java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.vcsgis.lib.repository.AbstractRepository
- All Implemented Interfaces:
org.gvsig.json.SupportFromJson,org.gvsig.json.SupportJson,org.gvsig.json.SupportToJson,org.gvsig.tools.dispose.Disposable,org.gvsig.tools.util.PropertiesSupport,VCSGisRepository
- Direct Known Subclasses:
VCSGisRepositoryClientImpl,VCSGisRepositoryLocaldbImpl
public abstract class AbstractRepository
extends org.gvsig.tools.dispose.impl.AbstractDisposable
implements VCSGisRepository
- Author:
- jjdelcerro
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.slf4j.Loggerprotected org.gvsig.tools.util.PropertiesSupportHelperprotected Stringprotected StringFields inherited from interface org.gvsig.vcsgis.lib.repository.VCSGisRepository
DATA_TABLE_BATCH_SIZE, NOTIFICATION_COMMAND, NOTIFICATION_COSA, NOTIFICATION_URL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(String tableName, String type, String operation, String command) intauthenticate(String userId, String password, org.gvsig.tools.task.SimpleTaskStatus status) intexecute(VCSGisRequest request) intgetLabel()getProperty(String name) voidsetAuthenticationToken(String token) voidsetProperty(String name, Object value) voidsetUserCode(String userCode) javax.json.JsonObjecttoJson()Methods inherited from class org.gvsig.tools.dispose.impl.AbstractDisposable
dispose, dispose, doDisposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.tools.dispose.Disposable
disposeMethods inherited from interface org.gvsig.json.SupportFromJson
fromJsonMethods inherited from interface org.gvsig.json.SupportToJson
toJson, toJsonBuilder, toJsonBuilderMethods inherited from interface org.gvsig.vcsgis.lib.repository.VCSGisRepository
createAuthenticateRequest, createCheckoutRequest, createCommitRequest, createEntitiesRequest, createHistoryRequest, createListWCRequest, createLogRequest, createPrepareWCRequest, createRevisionChangesRequest, createRowCreateRequest, createRowDeleteRequest, createRowIsOutofdatedRequest, createRowUpdateRequest, createTopologyPlansRequest, createUpdateRequest, createUsersRequest, getCode, getEntityByName, getTimeoutForReceiveElements
-
Field Details
-
LOGGER
protected static final org.slf4j.Logger LOGGER -
token
-
userCode
-
propertiesHelper
protected org.gvsig.tools.util.PropertiesSupportHelper propertiesHelper
-
-
Constructor Details
-
AbstractRepository
protected AbstractRepository()
-
-
Method Details
-
toJson
public javax.json.JsonObject toJson()- Specified by:
toJsonin interfaceorg.gvsig.json.SupportToJson
-
createUniqueCode
- Specified by:
createUniqueCodein interfaceVCSGisRepository
-
getLabel
- Specified by:
getLabelin interfaceVCSGisRepository
-
getAuthenticationToken
- Specified by:
getAuthenticationTokenin interfaceVCSGisRepository
-
getUserCode
- Specified by:
getUserCodein interfaceVCSGisRepository
-
setAuthenticationToken
- Specified by:
setAuthenticationTokenin interfaceVCSGisRepository
-
setUserCode
- Specified by:
setUserCodein interfaceVCSGisRepository
-
getDataTableBatchSize
public int getDataTableBatchSize()- Specified by:
getDataTableBatchSizein interfaceVCSGisRepository
-
addObserver
- Specified by:
addObserverin interfaceVCSGisRepository
-
authenticate
public int authenticate(String userId, String password, org.gvsig.tools.task.SimpleTaskStatus status) - Specified by:
authenticatein interfaceVCSGisRepository
-
execute
- Specified by:
executein interfaceVCSGisRepository
-
getProperty
- Specified by:
getPropertyin interfaceorg.gvsig.tools.util.PropertiesSupport
-
setProperty
- Specified by:
setPropertyin interfaceorg.gvsig.tools.util.PropertiesSupport
-
getProperties
- Specified by:
getPropertiesin interfaceorg.gvsig.tools.util.PropertiesSupport
-