Package org.alfresco.repo.content
Class ContentContext
java.lang.Object
org.alfresco.repo.content.ContentContext
- All Implemented Interfaces:
Serializable
The location and lookup data for content. The very least data required to
find content or assign a content writer is the content URL and any previous
content that may have logically existed.
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.
- Author:
- Derek Hulley
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContentContext
(ContentReader existingContentReader, String contentUrl) Construct the instance with the content URL. -
Method Summary
-
Field Details
-
NULL_CONTEXT
An empty context.
-
-
Constructor Details
-
ContentContext
Construct the instance with the content URL.- Parameters:
existingContentReader
- content with which to seed the new writer - may be nullcontentUrl
- the content URL - may be null
-
-
Method Details