com.liferay.fragment.model.FragmentCollection Maven / Gradle / Ivy
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.fragment.model;
import com.liferay.portal.kernel.annotation.ImplementationClassName;
import com.liferay.portal.kernel.model.PersistedModel;
import com.liferay.portal.kernel.util.Accessor;
import org.osgi.annotation.versioning.ProviderType;
/**
* The extended model interface for the FragmentCollection service. Represents a row in the "FragmentCollection" database table, with each column mapped to a property of this class.
*
* @author Brian Wing Shun Chan
* @see FragmentCollectionModel
* @generated
*/
@ImplementationClassName(
"com.liferay.fragment.model.impl.FragmentCollectionImpl"
)
@ProviderType
public interface FragmentCollection
extends FragmentCollectionModel, PersistedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this interface directly. Add methods to com.liferay.fragment.model.impl.FragmentCollectionImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.
*/
public static final Accessor
FRAGMENT_COLLECTION_ID_ACCESSOR =
new Accessor() {
@Override
public Long get(FragmentCollection fragmentCollection) {
return fragmentCollection.getFragmentCollectionId();
}
@Override
public Class getAttributeClass() {
return Long.class;
}
@Override
public Class getTypeClass() {
return FragmentCollection.class;
}
};
public com.liferay.portal.kernel.repository.model.FileEntry getResource(
String path);
public java.util.List
getResources()
throws com.liferay.portal.kernel.exception.PortalException;
public long getResourcesFolderId()
throws com.liferay.portal.kernel.exception.PortalException;
public long getResourcesFolderId(boolean createIfAbsent)
throws com.liferay.portal.kernel.exception.PortalException;
public java.util.Map
getResourcesMap()
throws com.liferay.portal.kernel.exception.PortalException;
public boolean hasResources()
throws com.liferay.portal.kernel.exception.PortalException;
public void populateZipWriter(
com.liferay.portal.kernel.zip.ZipWriter zipWriter)
throws Exception;
public void populateZipWriter(
com.liferay.portal.kernel.zip.ZipWriter zipWriter, String path)
throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy