public class ContentContext
extends java.lang.Object
implements java.io.Serializable
Although this class is doesn't enforce any conditions on the context, derived instances may have relationships that need to be maintained between various context values.
| Modifier and Type | Field and Description |
|---|---|
static ContentContext |
NULL_CONTEXT
An empty context.
|
| Constructor and Description |
|---|
ContentContext(org.alfresco.service.cmr.repository.ContentReader existingContentReader,
java.lang.String contentUrl)
Construct the instance with the content URL.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentUrl() |
org.alfresco.service.cmr.repository.ContentReader |
getExistingContentReader() |
java.lang.String |
toString() |
public static final ContentContext NULL_CONTEXT
public ContentContext(org.alfresco.service.cmr.repository.ContentReader existingContentReader,
java.lang.String contentUrl)
existingContentReader - content with which to seed the new writer - may be nullcontentUrl - the content URL - may be nullpublic java.lang.String toString()
toString in class java.lang.Objectpublic org.alfresco.service.cmr.repository.ContentReader getExistingContentReader()
public java.lang.String getContentUrl()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.