Marked PageModel classes as depcrecated

pull/10/head
Jens Pelzetter 2021-11-09 19:43:45 +01:00
parent 5a94beeccf
commit 82bddff404
90 changed files with 92 additions and 2 deletions

View File

@ -29,6 +29,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public abstract class AbstractContentItemComponentJsonConverter public abstract class AbstractContentItemComponentJsonConverter
extends AbstractComponentModelJsonConverter { extends AbstractComponentModelJsonConverter {

View File

@ -55,6 +55,7 @@ import java.util.Collections;
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
* @param <T> * @param <T>
*/ */
@Deprecated
public abstract class AbstractContentItemComponentRenderer<T extends ContentItemComponent> public abstract class AbstractContentItemComponentRenderer<T extends ContentItemComponent>
implements ComponentRenderer<T> { implements ComponentRenderer<T> {

View File

@ -28,6 +28,7 @@ import static org.librecms.CmsConstants.*;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "CATEGORIZED_ITEM_COMPONENTS", schema = DB_SCHEMA) @Table(name = "CATEGORIZED_ITEM_COMPONENTS", schema = DB_SCHEMA)
public class CategorizedItemComponent extends ContentItemComponent { public class CategorizedItemComponent extends ContentItemComponent {

View File

@ -32,6 +32,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@ConvertsComponentModel(componentModel = CategorizedItemComponent.class) @ConvertsComponentModel(componentModel = CategorizedItemComponent.class)
public class CategorizedItemComponentJsonBuilder public class CategorizedItemComponentJsonBuilder
@ -50,7 +51,7 @@ public class CategorizedItemComponentJsonBuilder
} }
final CategorizedItemComponent component final CategorizedItemComponent component
= (CategorizedItemComponent) componentModel; = (CategorizedItemComponent) componentModel;
convertBasePropertiesToJson(component, objectBuilder); convertBasePropertiesToJson(component, objectBuilder);
convertContentItemComponentPropertiesToJson(component, objectBuilder); convertContentItemComponentPropertiesToJson(component, objectBuilder);
@ -70,7 +71,7 @@ public class CategorizedItemComponentJsonBuilder
} }
final CategorizedItemComponent component final CategorizedItemComponent component
= (CategorizedItemComponent) componentModel; = (CategorizedItemComponent) componentModel;
readBasePropertiesFromJson(jsonObject, component); readBasePropertiesFromJson(jsonObject, component);
readContentItemComponentPropertiesFromJson(jsonObject, component); readContentItemComponentPropertiesFromJson(jsonObject, component);

View File

@ -48,6 +48,7 @@ import org.libreccm.pagemodel.RendersComponent;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@RendersComponent(componentModel = CategorizedItemComponent.class) @RendersComponent(componentModel = CategorizedItemComponent.class)
public class CategorizedItemComponentRenderer public class CategorizedItemComponentRenderer

View File

@ -33,6 +33,7 @@ import static org.librecms.CmsConstants.*;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "CATEGORY_TREE_COMPONENTS", schema = DB_SCHEMA) @Table(name = "CATEGORY_TREE_COMPONENTS", schema = DB_SCHEMA)
public class CategoryTreeComponent extends ComponentModel { public class CategoryTreeComponent extends ComponentModel {

View File

@ -33,6 +33,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@ConvertsComponentModel(componentModel = CategoryTreeComponent.class) @ConvertsComponentModel(componentModel = CategoryTreeComponent.class)
public class CategoryTreeComponentJsonConverter public class CategoryTreeComponentJsonConverter

View File

@ -47,6 +47,7 @@ import org.libreccm.pagemodel.RendersComponent;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@RendersComponent(componentModel = CategoryTreeComponent.class) @RendersComponent(componentModel = CategoryTreeComponent.class)
public class CategoryTreeComponentRenderer public class CategoryTreeComponentRenderer

View File

@ -35,6 +35,7 @@ import static org.librecms.CmsConstants.*;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "CONTENT_ITEM_COMPONENTS", schema = DB_SCHEMA) @Table(name = "CONTENT_ITEM_COMPONENTS", schema = DB_SCHEMA)
public class ContentItemComponent extends ComponentModel { public class ContentItemComponent extends ComponentModel {

View File

@ -34,6 +34,7 @@ import static org.librecms.CmsConstants.*;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "FIXED_CONTENT_ITEM_COMPONENTS", schema = DB_SCHEMA) @Table(name = "FIXED_CONTENT_ITEM_COMPONENTS", schema = DB_SCHEMA)
public class FixedContentItemComponent extends ContentItemComponent { public class FixedContentItemComponent extends ContentItemComponent {

View File

@ -35,6 +35,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@ConvertsComponentModel(componentModel = FixedContentItemComponent.class) @ConvertsComponentModel(componentModel = FixedContentItemComponent.class)
public class FixedContentItemComponentJsonConverter public class FixedContentItemComponentJsonConverter

View File

@ -35,6 +35,7 @@ import org.libreccm.pagemodel.RendersComponent;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@RendersComponent(componentModel = FixedContentItemComponent.class) @RendersComponent(componentModel = FixedContentItemComponent.class)
public class FixedContentItemComponentRenderer public class FixedContentItemComponentRenderer

View File

@ -32,6 +32,7 @@ import static org.librecms.CmsConstants.*;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "GREETING_ITEM_COMPONENTS", schema = DB_SCHEMA) @Table(name = "GREETING_ITEM_COMPONENTS", schema = DB_SCHEMA)
public class GreetingItemComponent extends ContentItemComponent { public class GreetingItemComponent extends ContentItemComponent {

View File

@ -32,6 +32,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@ConvertsComponentModel(componentModel = GreetingItemComponent.class) @ConvertsComponentModel(componentModel = GreetingItemComponent.class)
public class GreetingItemComponentJsonConverter public class GreetingItemComponentJsonConverter

View File

@ -43,6 +43,7 @@ import org.librecms.contentsection.ContentItemVersion;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@RendersComponent(componentModel = GreetingItemComponent.class) @RendersComponent(componentModel = GreetingItemComponent.class)
public class GreetingItemComponentRenderer public class GreetingItemComponentRenderer

View File

@ -41,6 +41,7 @@ import static org.librecms.CmsConstants.*;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "ITEM_LIST_COMPONENTS", schema = DB_SCHEMA) @Table(name = "ITEM_LIST_COMPONENTS", schema = DB_SCHEMA)
public class ItemListComponent extends ComponentModel { public class ItemListComponent extends ComponentModel {

View File

@ -35,6 +35,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@ConvertsComponentModel(componentModel = ItemListComponent.class) @ConvertsComponentModel(componentModel = ItemListComponent.class)
public class ItemListComponentJsonConverter public class ItemListComponentJsonConverter

View File

@ -74,6 +74,7 @@ import javax.persistence.criteria.Predicate;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@RendersComponent(componentModel = ItemListComponent.class) @RendersComponent(componentModel = ItemListComponent.class)
public class ItemListComponentRenderer public class ItemListComponentRenderer

View File

@ -29,6 +29,7 @@ import java.util.Map;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public abstract class AbstractAssetRenderer { public abstract class AbstractAssetRenderer {
/** /**

View File

@ -32,6 +32,7 @@ import javax.inject.Qualifier;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Qualifier @Qualifier
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, @Target({ElementType.METHOD,

View File

@ -37,6 +37,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class AssetRenderers { public class AssetRenderers {

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = AudioAsset.class) @AssetRenderer(renders = AudioAsset.class)
public class AudioAssetRenderer extends BinaryAssetRenderer { public class AudioAssetRenderer extends BinaryAssetRenderer {

View File

@ -33,6 +33,7 @@ import java.util.Objects;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public class BinaryAssetRenderer extends AbstractAssetRenderer { public class BinaryAssetRenderer extends AbstractAssetRenderer {
/** /**

View File

@ -32,6 +32,7 @@ import org.librecms.assets.Bookmark;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = Bookmark.class) @AssetRenderer(renders = Bookmark.class)
public class BookmarkRenderer extends AbstractAssetRenderer { public class BookmarkRenderer extends AbstractAssetRenderer {

View File

@ -35,6 +35,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class ContactableEntityRenderer extends AbstractAssetRenderer { public class ContactableEntityRenderer extends AbstractAssetRenderer {

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = ExternalAudioAsset.class) @AssetRenderer(renders = ExternalAudioAsset.class)
public class ExternalAudioAssetRenderer extends BookmarkRenderer { public class ExternalAudioAssetRenderer extends BookmarkRenderer {

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = ExternalVideoAsset.class) @AssetRenderer(renders = ExternalVideoAsset.class)
public class ExternalVideoAssetRenderer extends BookmarkRenderer { public class ExternalVideoAssetRenderer extends BookmarkRenderer {

View File

@ -31,6 +31,7 @@ import javax.enterprise.context.RequestScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = FileAsset.class) @AssetRenderer(renders = FileAsset.class)
public class FileAssetRenderer extends BinaryAssetRenderer { public class FileAssetRenderer extends BinaryAssetRenderer {

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@AssetRenderer(renders = Image.class) @AssetRenderer(renders = Image.class)
@RequestScoped @RequestScoped
public class ImageRenderer extends BinaryAssetRenderer { public class ImageRenderer extends BinaryAssetRenderer {

View File

@ -32,6 +32,7 @@ import javax.enterprise.context.RequestScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = LegalMetadata.class) @AssetRenderer(renders = LegalMetadata.class)
public class LegalMetadataRenderer extends AbstractAssetRenderer { public class LegalMetadataRenderer extends AbstractAssetRenderer {

View File

@ -30,6 +30,7 @@ import javax.enterprise.context.RequestScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = Organization.class) @AssetRenderer(renders = Organization.class)
public class OrganizationRenderer extends ContactableEntityRenderer { public class OrganizationRenderer extends ContactableEntityRenderer {

View File

@ -31,6 +31,7 @@ import javax.enterprise.context.RequestScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = Person.class) @AssetRenderer(renders = Person.class)
public class PersonRenderer extends ContactableEntityRenderer { public class PersonRenderer extends ContactableEntityRenderer {

View File

@ -30,6 +30,7 @@ import javax.enterprise.context.RequestScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = PostalAddress.class) @AssetRenderer(renders = PostalAddress.class)
public class PostalAddressRenderer extends AbstractAssetRenderer { public class PostalAddressRenderer extends AbstractAssetRenderer {

View File

@ -35,6 +35,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = RelatedLink.class) @AssetRenderer(renders = RelatedLink.class)
public class RelatedLinkRenderer extends AbstractAssetRenderer { public class RelatedLinkRenderer extends AbstractAssetRenderer {

View File

@ -31,6 +31,7 @@ import javax.enterprise.context.RequestScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = SideNote.class) @AssetRenderer(renders = SideNote.class)
public class SideNoteRenderer extends AbstractAssetRenderer { public class SideNoteRenderer extends AbstractAssetRenderer {

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@AssetRenderer(renders = VideoAsset.class) @AssetRenderer(renders = VideoAsset.class)
public class VideoAssetRenderer extends BinaryAssetRenderer { public class VideoAssetRenderer extends BinaryAssetRenderer {

View File

@ -39,6 +39,7 @@ import java.util.stream.Collectors;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public abstract class AbstractContentItemRenderer implements Serializable { public abstract class AbstractContentItemRenderer implements Serializable {
private static final long serialVersionUID = 1290408390406469580L; private static final long serialVersionUID = 1290408390406469580L;

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@ContentItemRenderer(renders = Article.class) @ContentItemRenderer(renders = Article.class)
@RequestScoped @RequestScoped
public class ArticleRenderer extends AbstractContentItemRenderer { public class ArticleRenderer extends AbstractContentItemRenderer {

View File

@ -33,6 +33,7 @@ import javax.inject.Qualifier;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Qualifier @Qualifier
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, @Target({ElementType.METHOD,

View File

@ -41,6 +41,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class ContentItemRenderers implements Serializable { public class ContentItemRenderers implements Serializable {

View File

@ -32,6 +32,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@ContentItemRenderer(renders = Event.class) @ContentItemRenderer(renders = Event.class)
public class EventRenderer extends AbstractContentItemRenderer { public class EventRenderer extends AbstractContentItemRenderer {

View File

@ -35,6 +35,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@ContentItemRenderer(renders = MultiPartArticle.class) @ContentItemRenderer(renders = MultiPartArticle.class)
public class MultiPartArticleRenderer extends AbstractContentItemRenderer { public class MultiPartArticleRenderer extends AbstractContentItemRenderer {

View File

@ -33,6 +33,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@ContentItemRenderer(renders = News.class) @ContentItemRenderer(renders = News.class)
@RequestScoped @RequestScoped
public class NewsRenderer extends AbstractContentItemRenderer { public class NewsRenderer extends AbstractContentItemRenderer {

View File

@ -30,6 +30,7 @@ import javax.json.JsonObjectBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public abstract class AbstractComponentModelJsonConverter public abstract class AbstractComponentModelJsonConverter
implements ComponentModelJsonConverter { implements ComponentModelJsonConverter {

View File

@ -44,6 +44,7 @@ import javax.servlet.http.HttpServletRequest;
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
* *
*/ */
@Deprecated
public abstract class AbstractPageRenderer implements PageRenderer { public abstract class AbstractPageRenderer implements PageRenderer {
@Inject @Inject

View File

@ -49,6 +49,7 @@ import javax.persistence.Table;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Inheritance(strategy = InheritanceType.JOINED) @Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "PAGE_MODEL_COMPONENT_MODELS", schema = CoreConstants.DB_SCHEMA) @Table(name = "PAGE_MODEL_COMPONENT_MODELS", schema = CoreConstants.DB_SCHEMA)

View File

@ -25,6 +25,7 @@ import javax.json.JsonObject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public interface ComponentModelJsonConverter { public interface ComponentModelJsonConverter {
/** /**

View File

@ -45,6 +45,7 @@ import javax.persistence.criteria.Root;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class ComponentModelRepository public class ComponentModelRepository
extends AbstractEntityRepository<Long, ComponentModel> { extends AbstractEntityRepository<Long, ComponentModel> {

View File

@ -44,6 +44,7 @@ import javax.enterprise.context.ApplicationScoped;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@ApplicationScoped @ApplicationScoped
public class ComponentModels { public class ComponentModels {

View File

@ -31,6 +31,7 @@ import java.util.Map;
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
* @param <M> Type of the model the component renderer processes. * @param <M> Type of the model the component renderer processes.
*/ */
@Deprecated
public interface ComponentRenderer<M extends ComponentModel> { public interface ComponentRenderer<M extends ComponentModel> {
/** /**

View File

@ -37,6 +37,7 @@ import javax.enterprise.inject.Any;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class ComponentRendererManager { public class ComponentRendererManager {

View File

@ -56,6 +56,7 @@ import javax.xml.bind.annotation.XmlTransient;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "PAGE_MODEL_CONTAINER_MODELS", schema = CoreConstants.DB_SCHEMA) @Table(name = "PAGE_MODEL_CONTAINER_MODELS", schema = CoreConstants.DB_SCHEMA)
@NamedQueries({ @NamedQueries({

View File

@ -37,6 +37,7 @@ import javax.transaction.Transactional;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class ContainerModelManager implements Serializable { public class ContainerModelManager implements Serializable {

View File

@ -35,6 +35,7 @@ import javax.transaction.Transactional;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class ContainerModelRepository public class ContainerModelRepository
extends AbstractEntityRepository<Long, ContainerModel> { extends AbstractEntityRepository<Long, ContainerModel> {

View File

@ -29,6 +29,7 @@ import javax.inject.Qualifier;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Qualifier @Qualifier
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, @Target({ElementType.FIELD,

View File

@ -66,6 +66,7 @@ import javax.xml.bind.annotation.XmlTransient;
* @see PageModelManager * @see PageModelManager
* @see PageRenderer * @see PageRenderer
*/ */
@Deprecated
@Entity @Entity
@Inheritance(strategy = InheritanceType.JOINED) @Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "PAGE_MODELS", schema = CoreConstants.DB_SCHEMA) @Table(name = "PAGE_MODELS", schema = CoreConstants.DB_SCHEMA)

View File

@ -32,6 +32,7 @@ import java.util.ResourceBundle;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) @Target(ElementType.TYPE)
public @interface PageModelComponentModel { public @interface PageModelComponentModel {

View File

@ -63,6 +63,7 @@ import java.util.stream.Collectors;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class PageModelManager { public class PageModelManager {

View File

@ -39,6 +39,7 @@ import java.util.UUID;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class PageModelRepository extends AbstractEntityRepository<Long, PageModel> { public class PageModelRepository extends AbstractEntityRepository<Long, PageModel> {

View File

@ -23,6 +23,7 @@ package org.libreccm.pagemodel;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public enum PageModelVersion { public enum PageModelVersion {
DRAFT, DRAFT,

View File

@ -32,6 +32,7 @@ import java.util.Map;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public interface PageRenderer { public interface PageRenderer {
/** /**

View File

@ -30,6 +30,7 @@ import java.lang.annotation.Target;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Qualifier @Qualifier
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) @Target(ElementType.TYPE)

View File

@ -31,6 +31,7 @@ import javax.inject.Qualifier;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Qualifier @Qualifier
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE) @Target(ElementType.TYPE)

View File

@ -67,6 +67,7 @@ import javax.ws.rs.WebApplicationException;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@Path("/") @Path("/")
public class Components { public class Components {

View File

@ -50,6 +50,7 @@ import javax.ws.rs.Produces;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@Path("/") @Path("/")
public class Containers { public class Containers {

View File

@ -62,6 +62,7 @@ import java.util.stream.Collectors;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@Path("/") @Path("/")
public class PageModels { public class PageModels {

View File

@ -42,6 +42,7 @@ import javax.ws.rs.core.Application;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@ApplicationPath("/page-models") @ApplicationPath("/page-models")
public class PageModelsApp extends Application { public class PageModelsApp extends Application {

View File

@ -40,6 +40,7 @@ import javax.ws.rs.NotFoundException;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
class PageModelsController { class PageModelsController {

View File

@ -1,5 +1,6 @@
package org.libreccm.pagemodel.rs; package org.libreccm.pagemodel.rs;
@Deprecated
public enum PublicationStatus { public enum PublicationStatus {
NOT_PUBLISHED, NOT_PUBLISHED,

View File

@ -39,6 +39,7 @@ import javax.json.JsonObject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
class StylesJsonMapper { class StylesJsonMapper {

View File

@ -54,6 +54,7 @@ import javax.ws.rs.WebApplicationException;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@Path(StylesRs.MEDIA_RULE_PATH) @Path(StylesRs.MEDIA_RULE_PATH)
public class StylesMediaRule implements Serializable { public class StylesMediaRule implements Serializable {

View File

@ -57,6 +57,7 @@ import javax.ws.rs.WebApplicationException;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@Path(PageModelsApp.STYLES_PATH) @Path(PageModelsApp.STYLES_PATH)
public class StylesRs { public class StylesRs {

View File

@ -53,6 +53,7 @@ import javax.ws.rs.WebApplicationException;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
@Path(StylesRs.RULE_PATH) @Path(StylesRs.RULE_PATH)
public class StylesRule implements Serializable { public class StylesRule implements Serializable {

View File

@ -35,6 +35,7 @@ import javax.persistence.Table;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "STYLE_PROPERTIES", schema = CoreConstants.DB_SCHEMA) @Table(name = "STYLE_PROPERTIES", schema = CoreConstants.DB_SCHEMA)
public class CssProperty implements Serializable { public class CssProperty implements Serializable {

View File

@ -30,6 +30,7 @@ import javax.persistence.Enumerated;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Embeddable @Embeddable
public class Dimension implements Serializable { public class Dimension implements Serializable {

View File

@ -39,6 +39,7 @@ import javax.persistence.Table;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "STYLE_MEDIA_QUERIES", schema = CoreConstants.DB_SCHEMA) @Table(name = "STYLE_MEDIA_QUERIES", schema = CoreConstants.DB_SCHEMA)
public class MediaQuery implements Serializable { public class MediaQuery implements Serializable {

View File

@ -43,6 +43,7 @@ import javax.persistence.Table;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "STYLE_MEDIA_RULES", schema = CoreConstants.DB_SCHEMA) @Table(name = "STYLE_MEDIA_RULES", schema = CoreConstants.DB_SCHEMA)
public class MediaRule implements Serializable { public class MediaRule implements Serializable {

View File

@ -23,6 +23,7 @@ package org.libreccm.pagemodel.styles;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public enum MediaType { public enum MediaType {
ALL, ALL,

View File

@ -42,6 +42,7 @@ import javax.persistence.Table;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "STYLE_RULES", schema = CoreConstants.DB_SCHEMA) @Table(name = "STYLE_RULES", schema = CoreConstants.DB_SCHEMA)
public class Rule implements Serializable { public class Rule implements Serializable {

View File

@ -42,6 +42,7 @@ import javax.persistence.Table;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@Entity @Entity
@Table(name = "STYLES", schema = CoreConstants.DB_SCHEMA) @Table(name = "STYLES", schema = CoreConstants.DB_SCHEMA)
public class Styles implements Serializable { public class Styles implements Serializable {

View File

@ -33,6 +33,7 @@ import javax.transaction.Transactional;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class StylesManager implements Serializable { public class StylesManager implements Serializable {

View File

@ -34,6 +34,7 @@ import javax.transaction.Transactional;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class StylesRepository implements Serializable { public class StylesRepository implements Serializable {

View File

@ -23,6 +23,7 @@ package org.libreccm.pagemodel.styles;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public enum Unit { public enum Unit {
EM, EM,

View File

@ -30,6 +30,7 @@ import java.util.Locale;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public class ApplicationTreeNode implements TreeNode { public class ApplicationTreeNode implements TreeNode {
private final CcmApplication application; private final CcmApplication application;

View File

@ -26,6 +26,7 @@ import org.libreccm.web.CcmApplication;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
class ApplicationTypeTreeNode implements TreeNode { class ApplicationTypeTreeNode implements TreeNode {
private final Class<? extends CcmApplication> appType; private final Class<? extends CcmApplication> appType;

View File

@ -25,6 +25,7 @@ import com.arsdigita.toolbox.ui.LayoutPanel;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
public class PageModelPane extends LayoutPanel { public class PageModelPane extends LayoutPanel {
private final Tree tree; private final Tree tree;

View File

@ -29,6 +29,7 @@ import javax.inject.Inject;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
@RequestScoped @RequestScoped
public class PageModelTreeController { public class PageModelTreeController {

View File

@ -27,6 +27,7 @@ import com.arsdigita.bebop.tree.TreeModelBuilder;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
class PageModelTreeModelBuilder implements TreeModelBuilder { class PageModelTreeModelBuilder implements TreeModelBuilder {
@Override @Override

View File

@ -30,6 +30,7 @@ import java.util.Locale;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
class PageModelTreeNode implements TreeNode { class PageModelTreeNode implements TreeNode {
private final PageModel pageModel; private final PageModel pageModel;

View File

@ -31,6 +31,7 @@ import java.util.Iterator;
* *
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a> * @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/ */
@Deprecated
class PageTreeModel implements TreeModel { class PageTreeModel implements TreeModel {
@Override @Override