Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
core
Commits
0df1b338
Commit
0df1b338
authored
7 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
SearchResultFactory class removed
parent
70fdf473
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!286
Resolve "Remove View objects from service"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/src/main/java/lcsb/mapviewer/services/search/SearchResultFactory.java
+0
-55
0 additions, 55 deletions
...a/lcsb/mapviewer/services/search/SearchResultFactory.java
with
0 additions
and
55 deletions
service/src/main/java/lcsb/mapviewer/services/search/SearchResultFactory.java
deleted
100644 → 0
+
0
−
55
View file @
70fdf473
package
lcsb.mapviewer.services.search
;
import
java.util.List
;
import
org.apache.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.transaction.annotation.Transactional
;
import
lcsb.mapviewer.annotation.data.Target
;
import
lcsb.mapviewer.model.map.model.Model
;
import
lcsb.mapviewer.model.map.species.Element
;
/**
* Factory for {@link ISearchResultView search results}.
*
* @author Piotr Gawron
*
* @param <T>
* type from which objects arec reated
* @param <S>
* search ruslt type
*/
@Transactional
(
value
=
"txManager"
)
public
abstract
class
SearchResultFactory
<
T
,
S
extends
ISearchResultView
>
extends
ElementViewFactory
<
T
,
S
>
{
/**
* Default class logger.
*/
@SuppressWarnings
(
"unused"
)
private
final
Logger
logger
=
Logger
.
getLogger
(
SearchResultFactory
.
class
);
private
ElementMatcher
elementMatcher
=
new
ElementMatcher
();
protected
boolean
elementMatch
(
Target
target
,
Element
element
)
{
return
elementMatcher
.
elementMatch
(
target
,
element
);
}
/**
* @return the elementMatcher
* @see #elementMatcher
*/
public
ElementMatcher
getElementMatcher
()
{
return
elementMatcher
;
}
/**
* @param elementMatcher
* the elementMatcher to set
* @see #elementMatcher
*/
public
void
setElementMatcher
(
ElementMatcher
elementMatcher
)
{
this
.
elementMatcher
=
elementMatcher
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment