Jeroen Hoffman pushed to branch feature/ESSCOM-14 at cms-community / hippo-essentials-components
Commits: 07358d3b by Jeroen Hoffman at 2016-12-08T16:24:15+01:00 ESSCOM-14 document why two classes were deprecated - - - - - 2 changed files: - hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/HstQueryBuilder.java - hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/QueryBuilder.java Changes: ===================================== hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/HstQueryBuilder.java ===================================== --- a/hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/HstQueryBuilder.java +++ b/hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/HstQueryBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2014 Hippo B.V. (http://www.onehippo.com) + * Copyright 2014-2016 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,12 @@ import org.onehippo.cms7.essentials.components.utils.SiteUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * QueryBuilder implementation for easier construction of HstQuery objects. + * + * @deprecated Deprecated since version since 3.2.0 in favor of the HST fluent API's HstQueryBuilder + * @see org.hippoecm.hst.content.beans.query.builder.HstQueryBuilder + */ @Deprecated public class HstQueryBuilder implements QueryBuilder { ===================================== hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/QueryBuilder.java ===================================== --- a/hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/QueryBuilder.java +++ b/hst/src/main/java/org/onehippo/cms7/essentials/components/utils/query/QueryBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2014 Hippo B.V. (http://www.onehippo.com) + * Copyright 2014-2016 Hippo B.V. (http://www.onehippo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,6 +23,12 @@ import org.hippoecm.hst.content.beans.query.HstQuery; import org.hippoecm.hst.content.beans.query.filter.Filter; import org.hippoecm.hst.content.beans.standard.HippoBean; +/** + * QueryBuilder interface for easier construction of HstQuery objects. + * + * @deprecated Deprecated since version since 3.2.0 in favor of the HST fluent API's HstQueryBuilder + * @see org.hippoecm.hst.content.beans.query.builder.HstQueryBuilder + */ @Deprecated public interface QueryBuilder { View it on GitLab: https://code.onehippo.org/cms-community/hippo-essentials-components/commit/07358d3b77df754486df52282699b6e63f4fa112
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn