public class SyncModeConfig extends SingletonValueProcessorExtension implements java.io.Serializable
Constructor and Description |
---|
SyncModeConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
protected java.lang.String |
getValueName()
Output value name for informational and error messages to the administrator.
|
protected java.lang.String |
retrieveValue(java.lang.String userId,
java.lang.String storeId)
Method for implementing class to provide that retrieve the remote value from the appropriate
endpoint and API.
|
getSingletonValue, getSingletonValue
public java.lang.String getValue()
Will be one of: CLOUD, ON_PREMISE, OFF
protected java.lang.String retrieveValue(java.lang.String userId, java.lang.String storeId) throws org.springframework.extensions.surf.exception.ConnectorServiceException
SingletonValueProcessorExtension
retrieveValue
in class SingletonValueProcessorExtension
userId
- Current user IdstoreId
- Current store Id if any - may be used if per-tenant values are requiredorg.springframework.extensions.surf.exception.ConnectorServiceException
protected java.lang.String getValueName()
SingletonValueProcessorExtension
getValueName
in class SingletonValueProcessorExtension
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.