Package lumis.service.announcement
Class AnnouncementBigDataPersister
- java.lang.Object
-
- lumis.doui.bigdata.TabularSourceBigDataPersister<ContentTableSource>
-
- lumis.content.bigdata.ContentTableSourceBigDataPersister
-
- lumis.service.announcement.AnnouncementBigDataPersister
-
- All Implemented Interfaces:
IContentTableSourceBigDataPersister
,ISourceBigDataPersister<ContentTableSource>
public class AnnouncementBigDataPersister extends ContentTableSourceBigDataPersister
ContentTableSourceBigDataPersister
implementation for Announcement service.- Since:
- 4.0.4
- Version:
- $Revision: 17544 $ $Date: 2015-07-09 15:15:34 -0300 (Thu, 09 Jul 2015) $
-
-
Constructor Summary
Constructors Constructor Description AnnouncementBigDataPersister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
generateDocumentPublishedContextURL(ContentTableSource source, ISourceData row, String serviceInstanceId)
Generates the URL For a published context to refer a row on a service instance.-
Methods inherited from class lumis.content.bigdata.ContentTableSourceBigDataPersister
addContextDocuments, addDocumentPublications, deleteDocumentsByContentId, generateDocuments, generateDocumentType, getPublishedPrincipalIds
-
Methods inherited from class lumis.doui.bigdata.TabularSourceBigDataPersister
addDocumentPublications, addDocuments, addDocuments, addDocuments, deleteBigData, deleteContextDocuments, deleteDocuments, deleteDocuments, getDocumentPopularity, getDocumentTypeFieldId, getDocumentTypeId, getServiceSource, initBigData, updateBigData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.doui.bigdata.ISourceBigDataPersister
addDocuments, addDocuments, deleteBigData, deleteContextDocuments, deleteDocuments, deleteDocuments, initBigData, updateBigData
-
-
-
-
Method Detail
-
generateDocumentPublishedContextURL
protected String generateDocumentPublishedContextURL(ContentTableSource source, ISourceData row, String serviceInstanceId)
Description copied from class:TabularSourceBigDataPersister
Generates the URL For a published context to refer a row on a service instance.This method is called by
#addDocumentPublications(StandardDocument, TabularSource, String, Collection)
.This method may return
null
, if no URL is available for the given row. In this case, a publication will not be generated.- Overrides:
generateDocumentPublishedContextURL
in classTabularSourceBigDataPersister<ContentTableSource>
- Parameters:
source
- the source the document is being generated for.row
- the row being processed.serviceInstanceId
- the service instance identifier.- Returns:
- the published context URL.
-
-