001/*
002 *  Copyright 2022 Anyware Services
003 *
004 *  Licensed under the Apache License, Version 2.0 (the "License");
005 *  you may not use this file except in compliance with the License.
006 *  You may obtain a copy of the License at
007 *
008 *      http://www.apache.org/licenses/LICENSE-2.0
009 *
010 *  Unless required by applicable law or agreed to in writing, software
011 *  distributed under the License is distributed on an "AS IS" BASIS,
012 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 *  See the License for the specific language governing permissions and
014 *  limitations under the License.
015 */
016package org.ametys.web.data.type;
017
018import org.ametys.runtime.model.type.ModelItemType;
019
020/**
021 * Extension point holding all {@link ModelItemType} classes for needing features.
022 */
023public class ModelItemTypeExtensionPoint extends org.ametys.cms.data.type.ModelItemTypeExtensionPoint
024{
025    /** Avalon Role for view parameter types */
026    public static final String ROLE_VIEW_PARAM = ModelItemTypeExtensionPoint.class.getName() + ".ViewParam";
027    
028    /** Avalon Role for service parameter types */
029    public static final String ROLE_SERVICE_PARAM = ModelItemTypeExtensionPoint.class.getName() + ".ServiceParam";
030    
031    /** Avalon Role for site parameter types */
032    public static final String ROLE_SITE_PARAM = ModelItemTypeExtensionPoint.class.getName() + ".SiteParam";
033    
034    /** Avalon Role for skin parameter types */
035    public static final String ROLE_SKIN_PARAM = ModelItemTypeExtensionPoint.class.getName() + ".SkinParam";
036    
037    /** Avalon Role for page data types */
038    public static final String ROLE_PAGE_DATA = ModelItemTypeExtensionPoint.class.getName() + ".PageData";
039}