|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SettingsManager
This interface defines an OSGi service to manage the banned and reserved web user words within Webmanager.
| Method Summary | |
|---|---|
void |
addBanned(int webId,
java.lang.String banned)
Adds a banned word for the given web id. |
void |
addReserved(int webId,
java.lang.String reserved)
Adds a reserved word for the given web id. |
void |
deleteBanned(int webId,
java.lang.String banned)
Deletes a banned word for the given web id. |
void |
deleteReserved(int webId,
java.lang.String reserved)
Deletes a reserved word for the given web id. |
boolean |
isClean(int webId,
java.lang.String word)
Determines if a given word is clean by checking it against banned and reserved words. |
java.util.List<java.lang.String> |
searchBanned(int webId,
java.lang.String word)
Searched banned words that contain the given string. |
java.util.List<java.lang.String> |
searchReserved(int webId,
java.lang.String word)
Searched reserved words that contain the given string. |
| Method Detail |
|---|
void addBanned(int webId,
java.lang.String banned)
throws UserSettingsException
webId - the web idbanned - the banned word to add
UserSettingsException
void addReserved(int webId,
java.lang.String reserved)
throws UserSettingsException
webId - the web idreserved - the reserved word to add
UserSettingsException
void deleteBanned(int webId,
java.lang.String banned)
throws UserSettingsException
webId - the web idbanned - the banned word to delete
UserSettingsException
void deleteReserved(int webId,
java.lang.String reserved)
throws UserSettingsException
webId - the web idreserved - the reserved word to delete
UserSettingsException
java.util.List<java.lang.String> searchBanned(int webId,
java.lang.String word)
throws UserSettingsException
webId - the web idword - the word to look for, if null or empty then all words are returned
UserSettingsException
java.util.List<java.lang.String> searchReserved(int webId,
java.lang.String word)
throws UserSettingsException
webId - the web idword - the word to look for, if null or empty then all words are returned
UserSettingsException
boolean isClean(int webId,
java.lang.String word)
throws UserSettingsException
webId - the web idword - the word to look for
UserSettingsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||