
com.liferay.dynamic.data.mapping.model.DDMStructureVersionModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.dynamic.data.mapping.api Show documentation
Show all versions of com.liferay.dynamic.data.mapping.api Show documentation
Liferay Dynamic Data Mapping API
/**
* 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.dynamic.data.mapping.model;
import aQute.bnd.annotation.ProviderType;
import com.liferay.expando.kernel.model.ExpandoBridge;
import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.kernel.exception.LocaleException;
import com.liferay.portal.kernel.model.BaseModel;
import com.liferay.portal.kernel.model.CacheModel;
import com.liferay.portal.kernel.model.LocalizedModel;
import com.liferay.portal.kernel.model.ShardedModel;
import com.liferay.portal.kernel.model.WorkflowedModel;
import com.liferay.portal.kernel.service.ServiceContext;
import java.io.Serializable;
import java.util.Date;
import java.util.Locale;
import java.util.Map;
/**
* The base model interface for the DDMStructureVersion service. Represents a row in the "DDMStructureVersion" database table, with each column mapped to a property of this class.
*
*
* This interface and its corresponding implementation {@link com.liferay.dynamic.data.mapping.model.impl.DDMStructureVersionModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.dynamic.data.mapping.model.impl.DDMStructureVersionImpl}.
*
*
* @author Brian Wing Shun Chan
* @see DDMStructureVersion
* @see com.liferay.dynamic.data.mapping.model.impl.DDMStructureVersionImpl
* @see com.liferay.dynamic.data.mapping.model.impl.DDMStructureVersionModelImpl
* @generated
*/
@ProviderType
public interface DDMStructureVersionModel extends BaseModel,
LocalizedModel, ShardedModel, WorkflowedModel {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. All methods that expect a d d m structure version model instance should use the {@link DDMStructureVersion} interface instead.
*/
/**
* Returns the primary key of this d d m structure version.
*
* @return the primary key of this d d m structure version
*/
public long getPrimaryKey();
/**
* Sets the primary key of this d d m structure version.
*
* @param primaryKey the primary key of this d d m structure version
*/
public void setPrimaryKey(long primaryKey);
/**
* Returns the structure version ID of this d d m structure version.
*
* @return the structure version ID of this d d m structure version
*/
public long getStructureVersionId();
/**
* Sets the structure version ID of this d d m structure version.
*
* @param structureVersionId the structure version ID of this d d m structure version
*/
public void setStructureVersionId(long structureVersionId);
/**
* Returns the group ID of this d d m structure version.
*
* @return the group ID of this d d m structure version
*/
public long getGroupId();
/**
* Sets the group ID of this d d m structure version.
*
* @param groupId the group ID of this d d m structure version
*/
public void setGroupId(long groupId);
/**
* Returns the company ID of this d d m structure version.
*
* @return the company ID of this d d m structure version
*/
@Override
public long getCompanyId();
/**
* Sets the company ID of this d d m structure version.
*
* @param companyId the company ID of this d d m structure version
*/
@Override
public void setCompanyId(long companyId);
/**
* Returns the user ID of this d d m structure version.
*
* @return the user ID of this d d m structure version
*/
public long getUserId();
/**
* Sets the user ID of this d d m structure version.
*
* @param userId the user ID of this d d m structure version
*/
public void setUserId(long userId);
/**
* Returns the user uuid of this d d m structure version.
*
* @return the user uuid of this d d m structure version
*/
public String getUserUuid();
/**
* Sets the user uuid of this d d m structure version.
*
* @param userUuid the user uuid of this d d m structure version
*/
public void setUserUuid(String userUuid);
/**
* Returns the user name of this d d m structure version.
*
* @return the user name of this d d m structure version
*/
@AutoEscape
public String getUserName();
/**
* Sets the user name of this d d m structure version.
*
* @param userName the user name of this d d m structure version
*/
public void setUserName(String userName);
/**
* Returns the create date of this d d m structure version.
*
* @return the create date of this d d m structure version
*/
public Date getCreateDate();
/**
* Sets the create date of this d d m structure version.
*
* @param createDate the create date of this d d m structure version
*/
public void setCreateDate(Date createDate);
/**
* Returns the structure ID of this d d m structure version.
*
* @return the structure ID of this d d m structure version
*/
public long getStructureId();
/**
* Sets the structure ID of this d d m structure version.
*
* @param structureId the structure ID of this d d m structure version
*/
public void setStructureId(long structureId);
/**
* Returns the version of this d d m structure version.
*
* @return the version of this d d m structure version
*/
@AutoEscape
public String getVersion();
/**
* Sets the version of this d d m structure version.
*
* @param version the version of this d d m structure version
*/
public void setVersion(String version);
/**
* Returns the parent structure ID of this d d m structure version.
*
* @return the parent structure ID of this d d m structure version
*/
public long getParentStructureId();
/**
* Sets the parent structure ID of this d d m structure version.
*
* @param parentStructureId the parent structure ID of this d d m structure version
*/
public void setParentStructureId(long parentStructureId);
/**
* Returns the name of this d d m structure version.
*
* @return the name of this d d m structure version
*/
public String getName();
/**
* Returns the localized name of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized name of this d d m structure version
*/
@AutoEscape
public String getName(Locale locale);
/**
* Returns the localized name of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized name of this d d m structure version. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@AutoEscape
public String getName(Locale locale, boolean useDefault);
/**
* Returns the localized name of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized name of this d d m structure version
*/
@AutoEscape
public String getName(String languageId);
/**
* Returns the localized name of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized name of this d d m structure version
*/
@AutoEscape
public String getName(String languageId, boolean useDefault);
@AutoEscape
public String getNameCurrentLanguageId();
@AutoEscape
public String getNameCurrentValue();
/**
* Returns a map of the locales and localized names of this d d m structure version.
*
* @return the locales and localized names of this d d m structure version
*/
public Map getNameMap();
/**
* Sets the name of this d d m structure version.
*
* @param name the name of this d d m structure version
*/
public void setName(String name);
/**
* Sets the localized name of this d d m structure version in the language.
*
* @param name the localized name of this d d m structure version
* @param locale the locale of the language
*/
public void setName(String name, Locale locale);
/**
* Sets the localized name of this d d m structure version in the language, and sets the default locale.
*
* @param name the localized name of this d d m structure version
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
public void setName(String name, Locale locale, Locale defaultLocale);
public void setNameCurrentLanguageId(String languageId);
/**
* Sets the localized names of this d d m structure version from the map of locales and localized names.
*
* @param nameMap the locales and localized names of this d d m structure version
*/
public void setNameMap(Map nameMap);
/**
* Sets the localized names of this d d m structure version from the map of locales and localized names, and sets the default locale.
*
* @param nameMap the locales and localized names of this d d m structure version
* @param defaultLocale the default locale
*/
public void setNameMap(Map nameMap, Locale defaultLocale);
/**
* Returns the description of this d d m structure version.
*
* @return the description of this d d m structure version
*/
public String getDescription();
/**
* Returns the localized description of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.
*
* @param locale the locale of the language
* @return the localized description of this d d m structure version
*/
@AutoEscape
public String getDescription(Locale locale);
/**
* Returns the localized description of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
*
* @param locale the local of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized description of this d d m structure version. If useDefault
is false
and no localization exists for the requested language, an empty string will be returned.
*/
@AutoEscape
public String getDescription(Locale locale, boolean useDefault);
/**
* Returns the localized description of this d d m structure version in the language. Uses the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @return the localized description of this d d m structure version
*/
@AutoEscape
public String getDescription(String languageId);
/**
* Returns the localized description of this d d m structure version in the language, optionally using the default language if no localization exists for the requested language.
*
* @param languageId the ID of the language
* @param useDefault whether to use the default language if no localization exists for the requested language
* @return the localized description of this d d m structure version
*/
@AutoEscape
public String getDescription(String languageId, boolean useDefault);
@AutoEscape
public String getDescriptionCurrentLanguageId();
@AutoEscape
public String getDescriptionCurrentValue();
/**
* Returns a map of the locales and localized descriptions of this d d m structure version.
*
* @return the locales and localized descriptions of this d d m structure version
*/
public Map getDescriptionMap();
/**
* Sets the description of this d d m structure version.
*
* @param description the description of this d d m structure version
*/
public void setDescription(String description);
/**
* Sets the localized description of this d d m structure version in the language.
*
* @param description the localized description of this d d m structure version
* @param locale the locale of the language
*/
public void setDescription(String description, Locale locale);
/**
* Sets the localized description of this d d m structure version in the language, and sets the default locale.
*
* @param description the localized description of this d d m structure version
* @param locale the locale of the language
* @param defaultLocale the default locale
*/
public void setDescription(String description, Locale locale,
Locale defaultLocale);
public void setDescriptionCurrentLanguageId(String languageId);
/**
* Sets the localized descriptions of this d d m structure version from the map of locales and localized descriptions.
*
* @param descriptionMap the locales and localized descriptions of this d d m structure version
*/
public void setDescriptionMap(Map descriptionMap);
/**
* Sets the localized descriptions of this d d m structure version from the map of locales and localized descriptions, and sets the default locale.
*
* @param descriptionMap the locales and localized descriptions of this d d m structure version
* @param defaultLocale the default locale
*/
public void setDescriptionMap(Map descriptionMap,
Locale defaultLocale);
/**
* Returns the definition of this d d m structure version.
*
* @return the definition of this d d m structure version
*/
@AutoEscape
public String getDefinition();
/**
* Sets the definition of this d d m structure version.
*
* @param definition the definition of this d d m structure version
*/
public void setDefinition(String definition);
/**
* Returns the storage type of this d d m structure version.
*
* @return the storage type of this d d m structure version
*/
@AutoEscape
public String getStorageType();
/**
* Sets the storage type of this d d m structure version.
*
* @param storageType the storage type of this d d m structure version
*/
public void setStorageType(String storageType);
/**
* Returns the type of this d d m structure version.
*
* @return the type of this d d m structure version
*/
public int getType();
/**
* Sets the type of this d d m structure version.
*
* @param type the type of this d d m structure version
*/
public void setType(int type);
/**
* Returns the status of this d d m structure version.
*
* @return the status of this d d m structure version
*/
@Override
public int getStatus();
/**
* Sets the status of this d d m structure version.
*
* @param status the status of this d d m structure version
*/
@Override
public void setStatus(int status);
/**
* Returns the status by user ID of this d d m structure version.
*
* @return the status by user ID of this d d m structure version
*/
@Override
public long getStatusByUserId();
/**
* Sets the status by user ID of this d d m structure version.
*
* @param statusByUserId the status by user ID of this d d m structure version
*/
@Override
public void setStatusByUserId(long statusByUserId);
/**
* Returns the status by user uuid of this d d m structure version.
*
* @return the status by user uuid of this d d m structure version
*/
@Override
public String getStatusByUserUuid();
/**
* Sets the status by user uuid of this d d m structure version.
*
* @param statusByUserUuid the status by user uuid of this d d m structure version
*/
@Override
public void setStatusByUserUuid(String statusByUserUuid);
/**
* Returns the status by user name of this d d m structure version.
*
* @return the status by user name of this d d m structure version
*/
@AutoEscape
@Override
public String getStatusByUserName();
/**
* Sets the status by user name of this d d m structure version.
*
* @param statusByUserName the status by user name of this d d m structure version
*/
@Override
public void setStatusByUserName(String statusByUserName);
/**
* Returns the status date of this d d m structure version.
*
* @return the status date of this d d m structure version
*/
@Override
public Date getStatusDate();
/**
* Sets the status date of this d d m structure version.
*
* @param statusDate the status date of this d d m structure version
*/
@Override
public void setStatusDate(Date statusDate);
/**
* Returns true
if this d d m structure version is approved.
*
* @return true
if this d d m structure version is approved; false
otherwise
*/
@Override
public boolean isApproved();
/**
* Returns true
if this d d m structure version is denied.
*
* @return true
if this d d m structure version is denied; false
otherwise
*/
@Override
public boolean isDenied();
/**
* Returns true
if this d d m structure version is a draft.
*
* @return true
if this d d m structure version is a draft; false
otherwise
*/
@Override
public boolean isDraft();
/**
* Returns true
if this d d m structure version is expired.
*
* @return true
if this d d m structure version is expired; false
otherwise
*/
@Override
public boolean isExpired();
/**
* Returns true
if this d d m structure version is inactive.
*
* @return true
if this d d m structure version is inactive; false
otherwise
*/
@Override
public boolean isInactive();
/**
* Returns true
if this d d m structure version is incomplete.
*
* @return true
if this d d m structure version is incomplete; false
otherwise
*/
@Override
public boolean isIncomplete();
/**
* Returns true
if this d d m structure version is pending.
*
* @return true
if this d d m structure version is pending; false
otherwise
*/
@Override
public boolean isPending();
/**
* Returns true
if this d d m structure version is scheduled.
*
* @return true
if this d d m structure version is scheduled; false
otherwise
*/
@Override
public boolean isScheduled();
@Override
public boolean isNew();
@Override
public void setNew(boolean n);
@Override
public boolean isCachedModel();
@Override
public void setCachedModel(boolean cachedModel);
@Override
public boolean isEscapedModel();
@Override
public Serializable getPrimaryKeyObj();
@Override
public void setPrimaryKeyObj(Serializable primaryKeyObj);
@Override
public ExpandoBridge getExpandoBridge();
@Override
public void setExpandoBridgeAttributes(BaseModel> baseModel);
@Override
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
@Override
public void setExpandoBridgeAttributes(ServiceContext serviceContext);
@Override
public String[] getAvailableLanguageIds();
@Override
public String getDefaultLanguageId();
@Override
public void prepareLocalizedFieldsForImport() throws LocaleException;
@Override
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException;
@Override
public Object clone();
@Override
public int compareTo(DDMStructureVersion ddmStructureVersion);
@Override
public int hashCode();
@Override
public CacheModel toCacheModel();
@Override
public DDMStructureVersion toEscapedModel();
@Override
public DDMStructureVersion toUnescapedModel();
@Override
public String toString();
@Override
public String toXmlString();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy