Updated to use alfresco-data-model:6.1-SNAPSHOT that includes the removal of ContentStore.getUrls methods

- Fixed derived code to remove the implementations


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@131256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2016-10-06 19:46:02 +00:00
parent 4125597e28
commit 245770e049
17 changed files with 306 additions and 1068 deletions

View File

@@ -29,7 +29,7 @@ import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import org.alfresco.repo.content.AbstractContentStore;
import org.alfresco.service.ServiceRegistry;
import org.alfresco.service.cmr.repository.ContentData;
@@ -37,6 +37,8 @@ import org.alfresco.service.cmr.repository.ContentReader;
import org.alfresco.service.cmr.security.AuthenticationService;
import org.alfresco.service.transaction.TransactionService;
import org.alfresco.util.ApplicationContextHelper;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.ApplicationContext;
/**
@@ -46,10 +48,15 @@ import org.springframework.context.ApplicationContext;
* having to have shared access to the binary data on the various machines.
*
* @since 2.1
* @author Derek Hulley
*/
* @author Derek Hulley
*
* @deprecated Removed in 5.2
*/
@Deprecated
public class HttpAlfrescoStore extends AbstractContentStore
{
{
private static final Log logger = LogFactory.getLog(HttpAlfrescoStore.class);
private TransactionService transactionService;
private AuthenticationService authenticationService;
private String baseHttpUrl;
@@ -58,7 +65,8 @@ public class HttpAlfrescoStore extends AbstractContentStore
* Default constructor for bean instantiation.
*/
public HttpAlfrescoStore()
{
{
logger.warn("HttpAlfrescoStore has been deprecated since Alfresco 5.2.");
}
/**