BrightSide Workbench Full Report + Source Code
client/ProjectGrantDashboard.java
Go to the documentation of this file.
1
/*
2
* TurrĂ³ i Cutiller Foundation. License notice.
3
* Copyright (C) 2024 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU Affero General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU Affero General Public License for more details.
14
*
15
* You should have received a copy of the GNU Affero General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
package
org.turro.alliance.client;
20
21
import
org.turro.collections.CollectionHtmlIterator;
22
import
org.turro.dashboard.AbstractDashboard;
23
import
org.turro.elephant.context.ElephantContext;
24
import
org.turro.jpa.search.DaoHtmlSearch;
25
30
public
class
ProjectGrantDashboard
extends
AbstractDashboard
{
31
32
private
ProjectGrantCollectionIterator
di;
33
34
@Override
35
protected
CollectionHtmlIterator
initIterator
() {
36
di =
new
ProjectGrantCollectionIterator
(
getConstructor
(),
null
,
false
);
37
return
di;
38
}
39
40
@Override
41
protected
void
initSearchEngine
() {
42
DaoHtmlSearch
dhs =
DaoHtmlSearch
.
getInstance
(
getConstructor
(),
ElephantContext
.
getContextVariable
(
getConstructor
()));
43
if
(dhs !=
null
) {
44
dhs.
setTagRoot
(
"axproject-grant"
);
45
}
46
}
47
48
}
org.turro.alliance.client.ProjectGrantCollectionIterator
Definition:
ProjectGrantCollectionIterator.java:52
org.turro.alliance.client.ProjectGrantDashboard
Definition:
client/ProjectGrantDashboard.java:30
org.turro.alliance.client.ProjectGrantDashboard.initSearchEngine
void initSearchEngine()
Definition:
client/ProjectGrantDashboard.java:41
org.turro.alliance.client.ProjectGrantDashboard.initIterator
CollectionHtmlIterator initIterator()
Definition:
client/ProjectGrantDashboard.java:35
org.turro.collections.CollectionHtmlIterator
Definition:
CollectionHtmlIterator.java:43
org.turro.dashboard.AbstractDashboard
Definition:
AbstractDashboard.java:31
org.turro.elephant.context.ElephantContext
Definition:
ElephantContext.java:59
org.turro.elephant.context.ElephantContext.getContextVariable
static String getContextVariable(IConstructor constructor)
Definition:
ElephantContext.java:133
org.turro.elephant.impl.abstracts.AbstractElement.getConstructor
IConstructor getConstructor()
Definition:
AbstractElement.java:97
org.turro.jpa.search.DaoHtmlSearch
Definition:
DaoHtmlSearch.java:41
org.turro.jpa.search.DaoHtmlSearch.setTagRoot
void setTagRoot(String tagRoot)
Definition:
DaoHtmlSearch.java:121
org.turro.jpa.search.DaoHtmlSearch.getInstance
static DaoHtmlSearch getInstance(IConstructor constructor, String context)
Definition:
DaoHtmlSearch.java:59
TurroProjects
Public
Elephant
elephant-alliance
src
main
java
org
turro
alliance
client
ProjectGrantDashboard.java
Generated on Tue Mar 12 2024 07:01:20 for BrightSide by
1.9.1