◆ ProductIterator()
org.turro.financials.product.www.ProductIterator.ProductIterator |
( |
IConstructor |
constructor, |
|
|
String |
context, |
|
|
String |
uniqueId |
|
) |
| |
Definition at line 63 of file ProductIterator.java.
64 super(
new FinancialsPU(),
new ElephantMarker(
constructor));
65 this.context = context;
66 this.uniqueId = uniqueId;
67 DaoHtmlSearch dhs = DaoHtmlSearch.getInstance(
constructor, ElephantContext.getContextVariable(
constructor));
void setSearchEngine(DaoHtmlSearch searchEngine)
◆ entity()
Product org.turro.financials.product.www.ProductIterator.entity |
( |
Long |
value | ) |
|
|
protected |
◆ entityRoot()
String org.turro.financials.product.www.ProductIterator.entityRoot |
( |
| ) |
|
|
protected |
◆ getActualParameters()
String org.turro.financials.product.www.ProductIterator.getActualParameters |
( |
| ) |
|
Definition at line 146 of file ProductIterator.java.
147 return Strings.isBlank(actualParameters) ?
"?a=b" : actualParameters;
◆ getCountClause()
WhereClause org.turro.financials.product.www.ProductIterator.getCountClause |
( |
| ) |
|
|
protected |
◆ getWhereClause()
WhereClause org.turro.financials.product.www.ProductIterator.getWhereClause |
( |
| ) |
|
|
protected |
◆ isExact()
boolean org.turro.financials.product.www.ProductIterator.isExact |
( |
| ) |
|
◆ isOnlyPromoted()
boolean org.turro.financials.product.www.ProductIterator.isOnlyPromoted |
( |
| ) |
|
◆ isPublishable()
boolean org.turro.financials.product.www.ProductIterator.isPublishable |
( |
| ) |
|
◆ isShowAttachments()
boolean org.turro.financials.product.www.ProductIterator.isShowAttachments |
( |
| ) |
|
◆ isShowDescriptions()
boolean org.turro.financials.product.www.ProductIterator.isShowDescriptions |
( |
| ) |
|
◆ metas()
Collection<String> org.turro.financials.product.www.ProductIterator.metas |
( |
Product |
e | ) |
|
|
protected |
Definition at line 297 of file ProductIterator.java.
298 ArrayList<RepositoryFile> files =
new ArrayList<>();
299 String path = getItemLink(e, 0);
300 if(!SocialImageMap.hasImage(path)) {
301 FileAttach fa =
new FileAttach(FinancialsPU.getObjectPath(e));
302 Repository repository = fa.getPublishableRepository(
constructor);
303 files.addAll(repository.getRepositoryFiles(
"*_social.png,*_social.jpg"));
304 files.addAll(repository.getRepositoryFiles(
"*.png,*.jpg"));
306 String desc = DescribeItUtil.descriptionString(DescribeItUtil.DEFAULT_ID, FinancialsPU.getObjectPath(e));
307 if(desc ==
null) desc = e.getKeywords();
308 SocialNet sn =
new SocialNet(path, e.getDescription(), desc, files);
309 return sn.getMetas();
◆ renderItem()
void org.turro.financials.product.www.ProductIterator.renderItem |
( |
ElephantMarker |
marker, |
|
|
Product |
e, |
|
|
int |
page |
|
) |
| |
|
protected |
Definition at line 158 of file ProductIterator.java.
159 prepareValues(e, page,
false);
161 actualParameters = getPageLink(page);
void process(String rootTmpl, String tmpl)
◆ renderSummary()
void org.turro.financials.product.www.ProductIterator.renderSummary |
( |
ElephantMarker |
marker, |
|
|
Product |
e, |
|
|
int |
page |
|
) |
| |
|
protected |
Definition at line 151 of file ProductIterator.java.
152 prepareValues(e, page,
false);
154 actualParameters = getPageLink(page);
String getSummaryTemplate()
◆ setAllowComments()
void org.turro.financials.product.www.ProductIterator.setAllowComments |
( |
boolean |
allowComments | ) |
|
◆ setAllowGroups()
void org.turro.financials.product.www.ProductIterator.setAllowGroups |
( |
boolean |
allowGroups | ) |
|
◆ setAllowInterest()
void org.turro.financials.product.www.ProductIterator.setAllowInterest |
( |
boolean |
allowInterest | ) |
|
◆ setAllowVotes()
void org.turro.financials.product.www.ProductIterator.setAllowVotes |
( |
boolean |
allowVotes | ) |
|
◆ setExact()
void org.turro.financials.product.www.ProductIterator.setExact |
( |
boolean |
exact | ) |
|
◆ setOnlyPromoted()
void org.turro.financials.product.www.ProductIterator.setOnlyPromoted |
( |
boolean |
onlyPromoted | ) |
|
◆ setPublishable()
void org.turro.financials.product.www.ProductIterator.setPublishable |
( |
boolean |
publishable | ) |
|
◆ setShowAttachments()
void org.turro.financials.product.www.ProductIterator.setShowAttachments |
( |
boolean |
showAttachments | ) |
|
◆ setShowDescriptions()
void org.turro.financials.product.www.ProductIterator.setShowDescriptions |
( |
boolean |
showDescriptions | ) |
|
◆ title()
String org.turro.financials.product.www.ProductIterator.title |
( |
Product |
e | ) |
|
|
protected |
The documentation for this class was generated from the following file: