All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.adobe.aemds.guide.themes.model.Selector Maven / Gradle / Ivy

/*
 * **********************************************************************
 *  ADOBE CONFIDENTIAL
 *  __________________
 *
 *  Copyright 2016 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 *  NOTICE:  All information contained herein is, and remains
 *  the property of Adobe Systems Incorporated and its suppliers,
 *  if any.  The intellectual and technical concepts contained
 *  herein are proprietary to Adobe Systems Incorporated and its
 *  suppliers and may be covered by U.S. and Foreign Patents,
 *  patents in process, and are protected by trade secret or copyright law.
 *  Dissemination of this information or reproduction of this material
 *  is strictly forbidden unless prior written permission is obtained
 *  from Adobe Systems Incorporated.
 *  **********************************************************************
 */
package com.adobe.aemds.guide.themes.model;

import org.apache.sling.api.resource.Resource;

import org.apache.sling.api.resource.ValueMap;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.DefaultInjectionStrategy;
import org.apache.sling.models.annotations.injectorspecific.Self;
import com.adobe.aemds.guide.themes.GuideThemeConstants;

import javax.inject.Inject;
import javax.inject.Named;
import java.util.*;

/**
 * Sling model for Theme selector
 */
public interface Selector {

    public String getId();

    public Resource getResource();

    /*
     * Get all Properties value Map of resource selector.
     * @return ValueMap containing masked properties.
     */
    public ValueMap getSelectorAllProperties();

    /**
     * Get the base client lib category for the theme
     *
     * @param String breakpointName name of the breakpoint.
     * @param String stateName name of the state.
     * @return HashSet Set containing masked properties.
     */
    public HashSet getMaskedPropertiesSet(String breakpointName, String stateName);
    /**
     * Get all style property names.
     *
     * @param String breakpointName name of the breakpoint.
     * @return List List of style property names.
     */

    public List getStylePropertyNames(String breakpointName);

    public List getCssPropertiesList(String breakpointName, String stateName);
    public Set getBreakpointsIdSet();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy