BrightSide Workbench Full Report + Source Code
org.turro.contacts.www.DirectoryDashboard Class Reference
Inheritance diagram for org.turro.contacts.www.DirectoryDashboard:
Collaboration diagram for org.turro.contacts.www.DirectoryDashboard:

Protected Member Functions

DaoHtmlIterator initIterator ()
 
void initSearchEngine ()
 
- Protected Member Functions inherited from org.turro.dashboard.AbstractDaoDashboard
DaoHtmlSearch getSearchEngine ()
 

Additional Inherited Members

- Public Member Functions inherited from org.turro.dashboard.AbstractDaoDashboard
void loadData () throws ServletException, IOException
 
DaoHtmlIterator getIterator ()
 
String getFullTemplate ()
 
String getSummaryTemplate ()
 
int getCount ()
 
boolean isAllowInterest ()
 
boolean isAllowComments ()
 
boolean isAllowVotes ()
 
boolean isAllowDescriptions ()
 
boolean isAllowAttachments ()
 
boolean isAllowFiles ()
 
boolean isAllowPolls ()
 
boolean isRestricted ()
 
boolean isAllowRanking ()
 
boolean isAllowMatching ()
 
boolean isAllowSorting ()
 
boolean isDoMatching ()
 
String getSclass ()
 
String getStart ()
 
String getEnd ()
 
void startConstruction () throws ServletException, IOException
 
- Public Member Functions inherited from org.turro.elephant.impl.abstracts.AbstractElement
 AbstractElement ()
 
String getId ()
 
String getType ()
 
String getTitle ()
 
void setTitle (String title)
 
Collection< String > getMetas ()
 
void setMetas (Collection< String > metas)
 
ElContext getContext ()
 
IConstructor getConstructor ()
 
void setConfiguration (IConstructor constructor, ElContext context)
 
String getStartTitle ()
 
String getEndTitle ()
 
String getStartBody ()
 
String getEndBody ()
 
String getStartFooter ()
 
String getEndFooter ()
 
String getStartOption ()
 
String getEndOption ()
 
boolean canDisplay ()
 
boolean isSelectable ()
 
boolean isInRole ()
 
boolean canPrint ()
 
String getElementFolder ()
 
boolean isOriginalContext ()
 
void setRootCategories (ElContext root)
 
String getTypeName ()
 
AttributeSupport getAttributes ()
 
void applyChanges ()
 
void populateFromParent ()
 
void setDefaultMetas ()
 
void setConfiguration (Element conf, Element factory)
 
- Protected Attributes inherited from org.turro.elephant.impl.abstracts.AbstractElement
IConstructor constructor
 
ElContext context
 
AttributeSupport attrSupport
 
Element conf = null
 
String[] types
 
String title
 
Collection< String > metas
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 34 of file DirectoryDashboard.java.

Member Function Documentation

◆ initIterator()

DaoHtmlIterator org.turro.contacts.www.DirectoryDashboard.initIterator ( )
protected

Reimplemented from org.turro.dashboard.AbstractDaoDashboard.

Definition at line 37 of file DirectoryDashboard.java.

37  {
38  DirectoryContentIterator dci = new DirectoryContentIterator(getConstructor(), null, Authentication.getIContact(), false, getContext().getFullPath());
39  dci.setTypes(getAttributes().getAttributeValue("attrib:types", "typed"));
40  dci.setSyndications(getAttributes().getAttributeValue("attrib:syndications", null));
41  return dci;
42  }
Here is the call graph for this function:

◆ initSearchEngine()

void org.turro.contacts.www.DirectoryDashboard.initSearchEngine ( )
protected

Reimplemented from org.turro.dashboard.AbstractDaoDashboard.

Definition at line 45 of file DirectoryDashboard.java.

45  {
46  DaoHtmlSearch dhs = getSearchEngine();
47  if(dhs != null) {
48  dhs.setTagRoot("contact");
49  DaoSearchKey dsk = dhs.get("point-of-view");
50  if(dsk != null && Strings.isBlank(dsk.getValue())) {
51  dsk = new DaoSearchKey("point-of-view", "text");
52  dsk.setValue(isDoMatching() ? "1" : "0");
53  dhs.put("point-of-view", dsk);
54  }
55  if(dsk != null) {
56  if("1".equals(dsk.getValue())) {
57  dhs.setAttribute(getConstructor(), "variables", Indicators.getMatchingVariablesFinal("contact"));
58  } else {
59  dhs.setAttribute(getConstructor(), "variables", Indicators.getRankingVariablesFinal("contact"));
60  }
61  }
62  }
63  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: