public class CacheContentWrapper extends Object
Wrapper class for ContentReference
and @ContentMetadata
which adds the update time of the document.
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_METADATA_FIELD |
static String |
CONTENT_REFERENCE_FIELD |
static String |
UPDATE_TIME_FIELD |
Constructor and Description |
---|
CacheContentWrapper(ContentReference contentReference,
ContentMetadata contentMetadata,
Instant updateTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
ContentMetadata |
getContentMetadata() |
ContentReference |
getContentReference() |
Instant |
getUpdateTime() |
int |
hashCode() |
public static final String CONTENT_REFERENCE_FIELD
public static final String CONTENT_METADATA_FIELD
public static final String UPDATE_TIME_FIELD
public CacheContentWrapper(ContentReference contentReference, ContentMetadata contentMetadata, Instant updateTime)
public ContentReference getContentReference()
public ContentMetadata getContentMetadata()
public Instant getUpdateTime()
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.