Bert Leunis pushed to branch master at cms-community / hippo-cms-commons
Commits: f5f53cfc by Michael Metternich at 2018-03-27T15:58:30+02:00 CMS-11146 Deprecate DocumentLink annotation - - - - - 6141f35e by Bert Leunis at 2018-03-27T17:00:23+02:00 CMS-11146 Update license header. Mention create content tag in javadoc. - - - - - 681d1e0a by Bert Leunis at 2018-03-27T17:01:37+02:00 CMS-11146 Reintegrate feature/CMS-11146 - - - - - 1 changed file: - src/main/java/org/hippoecm/hst/core/parameters/DocumentLink.java Changes: ===================================== src/main/java/org/hippoecm/hst/core/parameters/DocumentLink.java ===================================== --- a/src/main/java/org/hippoecm/hst/core/parameters/DocumentLink.java +++ b/src/main/java/org/hippoecm/hst/core/parameters/DocumentLink.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2015 Hippo B.V. (http://www.onehippo.com) + * Copyright 2011-2018 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. @@ -20,8 +20,13 @@ import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +/** + * @deprecated use {@link JcrPath} instead for picking documents. Use the {@code HstManageContentTag} to create + * documents from the channel manager. + */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) +@Deprecated public @interface DocumentLink { /** View it on GitLab: https://code.onehippo.org/cms-community/hippo-cms-commons/compare/fd1a6757092ffb4e4d10a4745896d180a335010b...681d1e0a98297b331a2c7a6ef82a11065d5910e8 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-cms-commons/compare/fd1a6757092ffb4e4d10a4745896d180a335010b...681d1e0a98297b331a2c7a6ef82a11065d5910e8 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn