|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.content.AbstractContentStore
org.alfresco.repo.content.http.HttpAlfrescoStore
public class HttpAlfrescoStore
A read-only store using HTTP to access content from a remote Alfresco application.
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.alfresco.repo.content.ContentStore |
|---|
ContentStore.ContentUrlHandler |
| Field Summary |
|---|
| Fields inherited from interface org.alfresco.repo.content.ContentStore |
|---|
NEW_CONTENT_CONTEXT, PROTOCOL_DELIMITER |
| Constructor Summary | |
|---|---|
HttpAlfrescoStore()
Default constructor for bean instantiation. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.alfresco.repo.content.AbstractContentStore |
|---|
delete, exists, getContentUrlParts, getRootLocation, getSpaceFree, getSpaceTotal, getSpaceUsed, getTotalSize, getUrls, getUrls, getWriter, getWriter, getWriterInternal, isContentUrlSupported, isValidContentUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpAlfrescoStore()
| Method Detail |
|---|
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 located
ContentStore.exists(String),
ContentReader.exists(),
EmptyContentReaderpublic static void main(java.lang.String[] args)
HttpAlfrescoStore help
Print the usage message
args - the program arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||