com.liferay.portal.kernel.model.LayoutSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.kernel Show documentation
Show all versions of com.liferay.portal.kernel Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.model;
import aQute.bnd.annotation.ProviderType;
import com.liferay.portal.kernel.annotation.ImplementationClassName;
import com.liferay.portal.kernel.util.Accessor;
/**
* The extended model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
*
* @author Brian Wing Shun Chan
* @see LayoutSetModel
* @see com.liferay.portal.model.impl.LayoutSetImpl
* @see com.liferay.portal.model.impl.LayoutSetModelImpl
* @generated
*/
@ImplementationClassName("com.liferay.portal.model.impl.LayoutSetImpl")
@ProviderType
public interface LayoutSet extends LayoutSetModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.LayoutSetImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public static final Accessor LAYOUT_SET_ID_ACCESSOR = new Accessor() {
@Override
public Long get(LayoutSet layoutSet) {
return layoutSet.getLayoutSetId();
}
@Override
public Class getAttributeClass() {
return Long.class;
}
@Override
public Class getTypeClass() {
return LayoutSet.class;
}
};
/**
* Returns the layout set's color scheme.
*
*
* Just like themes, color schemes can be configured on the layout set
* level. The layout set's color scheme can be overridden on the layout
* level.
*
*
* @return the layout set's color scheme
*/
public com.liferay.portal.kernel.model.ColorScheme getColorScheme();
public java.lang.String getCompanyFallbackVirtualHostname();
/**
* Returns the layout set's group.
*
* @return the layout set's group
*/
public com.liferay.portal.kernel.model.Group getGroup()
throws com.liferay.portal.kernel.exception.PortalException;
/**
* Returns the layout set prototype's ID, or 0
if it has no
* layout set prototype.
*
*
* Prototype is Liferay's technical name for a site template.
*
*
* @return the layout set prototype's ID, or 0
if it has no
layout set prototype
*/
public long getLayoutSetPrototypeId()
throws com.liferay.portal.kernel.exception.PortalException;
public long getLiveLogoId();
public boolean getLogo();
public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties();
public java.lang.String getSettingsProperty(java.lang.String key);
public com.liferay.portal.kernel.model.Theme getTheme();
public java.lang.String getThemeSetting(java.lang.String key,
java.lang.String device);
/**
* Returns the name of the layout set's virtual host.
*
*
* When accessing a layout set that has a the virtual host, the URL elements
* "/web/sitename" or "/group/sitename" can be omitted.
*
*
* @return the layout set's virtual host name, or an empty string if the
layout set has no virtual host configured
*/
public java.lang.String getVirtualHostname();
public boolean hasSetModifiedDate();
public boolean isLayoutSetPrototypeLinkActive();
public boolean isLogo();
public void setCompanyFallbackVirtualHostname(
java.lang.String companyFallbackVirtualHostname);
public void setSettingsProperties(
com.liferay.portal.kernel.util.UnicodeProperties settingsProperties);
/**
* Sets the name of the layout set's virtual host.
*
* @param virtualHostname the name of the layout set's virtual host
* @see #getVirtualHostname()
*/
public void setVirtualHostname(java.lang.String virtualHostname);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy