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(com.edorasware.commons.core.content.ContentReference contentReference,
                   com.edorasware.commons.core.content.ContentMetadata contentMetadata,
                   Instant updateTime)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
com.edorasware.commons.core.content.ContentMetadata | 
getContentMetadata()  | 
com.edorasware.commons.core.content.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(com.edorasware.commons.core.content.ContentReference contentReference,
                           com.edorasware.commons.core.content.ContentMetadata contentMetadata,
                           Instant updateTime)
public com.edorasware.commons.core.content.ContentReference getContentReference()
public com.edorasware.commons.core.content.ContentMetadata getContentMetadata()
public Instant getUpdateTime()
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.