public class HttpAlfrescoStore extends AbstractContentStore
The primary purpose of this component is to allow clustered content sharing without having to have shared access to the binary data on the various machines.
ContentStore.ContentUrlHandlercontentLimitProviderNEW_CONTENT_CONTEXT, PROTOCOL_DELIMITER| Constructor and Description |
|---|
HttpAlfrescoStore()
Default constructor for bean instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.service.cmr.repository.ContentReader |
getReader(java.lang.String contentUrl)
Get the accessor with which to read from the content at the given URL.
|
boolean |
isWriteSupported()
This is a read only store.
|
static void |
main(java.lang.String[] args)
Tests the HTTP store against a given server.
Usage: |
void |
setAuthenticationService(AuthenticationService authenticationService) |
void |
setBaseHttpUrl(java.lang.String baseHttpUrl)
Set the base HTTP URL of the remote Alfresco application.
For example: |
void |
setTransactionService(TransactionService transactionService) |
delete, exists, getContentUrlParts, getRootLocation, getSpaceFree, getSpaceTotal, getSpaceUsed, getTotalSize, getUrls, getUrls, getWriter, getWriter, getWriterInternal, isContentUrlSupported, isValidContentUrl, setContentLimitProviderpublic HttpAlfrescoStore()
public void setTransactionService(TransactionService transactionService)
transactionService - used to ensure proper ticket propagation in a clusterpublic void setAuthenticationService(AuthenticationService authenticationService)
authenticationService - used to retrieve authentication ticketpublic void setBaseHttpUrl(java.lang.String baseHttpUrl)
http://192.168.1.66:8080/alfresco.
baseHttpUrl - the remote HTTP address including the .../alfrescopublic boolean isWriteSupported()
public org.alfresco.service.cmr.repository.ContentReader getReader(java.lang.String contentUrl)
contentUrl - the path to where the content is locatedContentStore.exists(String),
ContentReader.exists(),
EmptyContentReaderpublic static void main(java.lang.String[] args)
HttpAlfrescoStore help
Print the usage message
args - the program argumentsCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.