public class ReferenceDefaultCacheStrategy extends StrategyBase implements IReferenceBaseCacheStrategy
Modifier and Type | Field and Description |
---|---|
protected String |
afterAuthor |
protected String |
afterYear |
protected String |
beforeYear |
Modifier and Type | Method and Description |
---|---|
protected String |
addYear(String string,
Reference ref) |
String |
getAbbrevTitleCache(Reference reference)
Returns the abbreviated title cache which is a title cache which uses the
abbrev title |
String |
getCitation(Reference referenceBase)
Returns a short version of the reference, suitable for citation (e.g.
|
String |
getTitleCache(Reference strictReferenceBase)
Returns the computed
title cache . |
protected UUID |
getUuid() |
static ReferenceDefaultCacheStrategy |
NewInstance() |
static String |
putAuthorToEndOfString(String referenceTitleCache,
String authorTitleCache) |
isBlank, isCollection, isNotBlank, isPrimitive, isSingleCdmBaseObject, isUserType, Nz
protected String beforeYear
protected String afterYear
protected String afterAuthor
public static ReferenceDefaultCacheStrategy NewInstance()
public String getAbbrevTitleCache(Reference reference)
IReferenceBaseCacheStrategy
abbrev title
getAbbrevTitleCache
in interface IReferenceBaseCacheStrategy
public String getTitleCache(Reference strictReferenceBase)
IIdentifiableEntityCacheStrategy
title cache
.getTitleCache
in interface IIdentifiableEntityCacheStrategy<Reference>
strictReferenceBase
- the identifiable entitypublic String getCitation(Reference referenceBase)
IReferenceBaseCacheStrategy
getCitation
in interface IReferenceBaseCacheStrategy
protected UUID getUuid()
getUuid
in class StrategyBase
Copyright © 2007-2016 EDIT. All Rights Reserved.