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

com.citytechinc.cq.component.dialog.cqincludes.CQIncludeParameters Maven / Gradle / Ivy

There is a newer version: 7.0.0
Show newest version
package com.citytechinc.cq.component.dialog.cqincludes;

import com.citytechinc.cq.component.dialog.DefaultDialogElementParameters;
import com.citytechinc.cq.component.util.Constants;

public class CQIncludeParameters extends DefaultDialogElementParameters {

    private String path;

    public String getPath() {
        if (path == null) {
            return "";
        }
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public void setPrimaryType(String primaryType) {
        throw new UnsupportedOperationException("PrimaryType is Static for CQInclude");
    }

    @Override
    public String getPrimaryType() {
        return Constants.CQ_WIDGET;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy