Commit f8ac5205 authored by Greg Messner's avatar Greg Messner
Browse files

Deprecated minAccessLevel().

parent 84367504
......@@ -212,12 +212,24 @@ public class ProjectFilter {
*
* @param minAccessLevel limit by current user minimal access level
* @return the reference to this ProjectFilter instance
* @deprecated Replaced by {@link #withMinAccessLevel(AccessLevel) getComponentAt}
*/
public ProjectFilter minAccessLevel(AccessLevel minAccessLevel) {
this.minAccessLevel = minAccessLevel;
return (this);
}
/**
* Limit by current user minimal access level
*
* @param minAccessLevel limit by current user minimal access level
* @return the reference to this ProjectFilter instance
*/
public ProjectFilter withMinAccessLevel(AccessLevel minAccessLevel) {
this.minAccessLevel = minAccessLevel;
return (this);
}
/**
* Get the query params specified by this filter.
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment