projects
/
DHBWCampusApp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
alpha 0.0.2
[DHBWCampusApp.git]
/
app
/
src
/
main
/
java
/
de
/
dhbwloe
/
campusapp
/
search
/
SearchIndices.java
diff --git
a/app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java
b/app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java
index fe1db98bb2d81a3adddf8d408ddcbbcef2e38d73..9b4cab5c65667be862449375059d6909c7e0cc14 100644
(file)
--- a/
app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java
+++ b/
app/src/main/java/de/dhbwloe/campusapp/search/SearchIndices.java
@@
-1,13
+1,16
@@
package de.dhbwloe.campusapp.search;
package de.dhbwloe.campusapp.search;
+import java.util.ArrayList;
import java.util.Date;
import java.util.Date;
+import de.dhbwloe.campusapp.CampusAppContext;
+
/**
* Created by pk910 on 19.01.2016.
*/
public class SearchIndices {
private String keyname = null;
/**
* Created by pk910 on 19.01.2016.
*/
public class SearchIndices {
private String keyname = null;
- private StringBu
ffer keywordsBuffer = new StringBuff
er();
+ private StringBu
ilder keywordsBuffer = new StringBuild
er();
protected boolean isStatic = false;
protected String target = new String();
protected String keywords = null;
protected boolean isStatic = false;
protected String target = new String();
protected String keywords = null;
@@
-31,6
+34,10
@@
public class SearchIndices {
keywordsBuffer.append(words);
}
keywordsBuffer.append(words);
}
+ public void addKeyWord(int words) {
+ addKeyWord(CampusAppContext.getInstance().getResString(words));
+ }
+
public void setTarget(String target) {
this.target = target;
}
public void setTarget(String target) {
this.target = target;
}
@@
-43,6
+50,14
@@
public class SearchIndices {
this.title = title;
}
this.title = title;
}
+ public void setDescription(int description) {
+ this.description = CampusAppContext.getInstance().getResString(description);
+ }
+
+ public void setTitle(int title) {
+ this.title = CampusAppContext.getInstance().getResString(title);
+ }
+
public void setUpdateTime(long updateTime) {
this.updateTime = updateTime;
}
public void setUpdateTime(long updateTime) {
this.updateTime = updateTime;
}