@Override public String getFilterExpr() { return entity.getFilterExpr(); }
public String getFilterExpr() { return entity.getFilterExpr(); }
/** Is this collection shared? * * @return true/false */ @NoProxy @NoDump @NoWrap public boolean getTombstoned() { String f = getFilterExpr(); return (f != null) && f.equals(tombstonedFilter); }
private FilterBase parseExpr(final BwCalendar col) throws CalFacadeException { SimpleFilterParser sfp = parser.getParser(); ParseResult pr = sfp.parse(col.getFilterExpr(), false, col.getPath()); if (!pr.ok) { throw pr.cfe; } return pr.filter; }
if (applyFilter && (cal.getFilterExpr() != null)) { fltr = parseExpr(cal);
if (col.getFilterExpr() != null) { if (subParser == null) { subParser = callGetParser(); final ParseResult pr = subParser.parse(col.getFilterExpr(), false, col.getPath());
public BwCalendar shallowClone() { final BwCalendar cal = new BwCalendar(); super.copyTo(cal); cal.setName(getName()); cal.setPath(getPath()); cal.setSummary(getSummary()); cal.setDescription(getDescription()); cal.setMailListId(getMailListId()); cal.setCalType(getCalType()); cal.setCreated(getCreated()); final BwCollectionLastmod lm = (BwCollectionLastmod)getLastmod().clone(); lm.setDbEntity(cal); cal.setLastmod(lm); cal.setAliasUri(getAliasUri()); cal.setDisplay(getDisplay()); cal.setAffectsFreeBusy(getAffectsFreeBusy()); cal.setIgnoreTransparency(getIgnoreTransparency()); cal.setUnremoveable(getUnremoveable()); cal.setRefreshRate(getRefreshRate()); cal.setLastRefresh(getLastRefresh()); cal.setLastEtag(getLastEtag()); cal.setFilterExpr(getFilterExpr()); if (!Util.isEmpty(getCategoryHrefs())) { final Set<String> uids = new TreeSet<>(getCategoryHrefs()); cal.setCategoryHrefs(uids); } return cal; }