Class SourceWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Source>
com.liferay.portal.reports.engine.console.model.SourceWrapper
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<Source>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.ModelWrapper<Source>,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedGroupedModel,com.liferay.portal.kernel.model.StagedModel,Source,SourceModel,Serializable,Cloneable,Comparable<Source>
public class SourceWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Source>
implements com.liferay.portal.kernel.model.ModelWrapper<Source>, Source
This class is a wrapper for Source.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.reports.engine.console.model.Source
SOURCE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]String[]longReturns the company ID of this source.Returns the create date of this source.Returns the driver class name of this source.Returns the driver password of this source.Returns the driver url of this source.Returns the driver user name of this source.longReturns the group ID of this source.Returns the last publish date of this source.Returns the modified date of this source.getName()Returns the name of this source.Returns the localized name of this source in the language.Returns the localized name of this source in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this source in the language.Returns the localized name of this source in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this source.longReturns the primary key of this source.longReturns the source ID of this source.com.liferay.exportimport.kernel.lar.StagedModelTypelongReturns the user ID of this source.Returns the user name of this source.Returns the user uuid of this source.getUuid()Returns the uuid of this source.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCompanyId(long companyId) Sets the company ID of this source.voidsetCreateDate(Date createDate) Sets the create date of this source.voidsetDriverClassName(String driverClassName) Sets the driver class name of this source.voidsetDriverPassword(String driverPassword) Sets the driver password of this source.voidsetDriverUrl(String driverUrl) Sets the driver url of this source.voidsetDriverUserName(String driverUserName) Sets the driver user name of this source.voidsetGroupId(long groupId) Sets the group ID of this source.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this source.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this source.voidSets the name of this source.voidSets the localized name of this source in the language.voidSets the localized name of this source in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this source from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this source from the map of locales and localized names, and sets the default locale.voidsetPrimaryKey(long primaryKey) Sets the primary key of this source.voidsetSourceId(long sourceId) Sets the source ID of this source.voidsetUserId(long userId) Sets the user ID of this source.voidsetUserName(String userName) Sets the user name of this source.voidsetUserUuid(String userUuid) Sets the user uuid of this source.voidSets the uuid of this source.protected SourceWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
SourceWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<Source>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<Source>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<Source>- Specified by:
cloneWithOriginalValuesin interfaceSourceModel
-
getAttachmentsDir
- Specified by:
getAttachmentsDirin interfaceSource
-
getAttachmentsFileNames
public String[] getAttachmentsFileNames() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getAttachmentsFileNamesin interfaceSource- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getAvailableLanguageIdsin interfaceSourceModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this source.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfaceSourceModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this source
-
getCreateDate
Returns the create date of this source.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceSourceModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this source
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getDefaultLanguageIdin interfaceSourceModel
-
getDriverClassName
Returns the driver class name of this source.- Specified by:
getDriverClassNamein interfaceSourceModel- Returns:
- the driver class name of this source
-
getDriverPassword
Returns the driver password of this source.- Specified by:
getDriverPasswordin interfaceSourceModel- Returns:
- the driver password of this source
-
getDriverUrl
Returns the driver url of this source.- Specified by:
getDriverUrlin interfaceSourceModel- Returns:
- the driver url of this source
-
getDriverUserName
Returns the driver user name of this source.- Specified by:
getDriverUserNamein interfaceSourceModel- Returns:
- the driver user name of this source
-
getGroupId
public long getGroupId()Returns the group ID of this source.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
getGroupIdin interfaceSourceModel- Returns:
- the group ID of this source
-
getLastPublishDate
Returns the last publish date of this source.- Specified by:
getLastPublishDatein interfaceSourceModel- Specified by:
getLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Returns:
- the last publish date of this source
-
getModifiedDate
Returns the modified date of this source.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceSourceModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this source
-
getName
Returns the name of this source.- Specified by:
getNamein interfaceSourceModel- Returns:
- the name of this source
-
getName
Returns the localized name of this source in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceSourceModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this source
-
getName
Returns the localized name of this source in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceSourceModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this source. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this source in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceSourceModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this source
-
getName
Returns the localized name of this source in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceSourceModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this source
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceSourceModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceSourceModel
-
getNameMap
Returns a map of the locales and localized names of this source.- Specified by:
getNameMapin interfaceSourceModel- Returns:
- the locales and localized names of this source
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this source.- Specified by:
getPrimaryKeyin interfaceSourceModel- Returns:
- the primary key of this source
-
getSourceId
public long getSourceId()Returns the source ID of this source.- Specified by:
getSourceIdin interfaceSourceModel- Returns:
- the source ID of this source
-
getUserId
public long getUserId()Returns the user ID of this source.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceSourceModel- Returns:
- the user ID of this source
-
getUserName
Returns the user name of this source.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceSourceModel- Returns:
- the user name of this source
-
getUserUuid
Returns the user uuid of this source.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceSourceModel- Returns:
- the user uuid of this source
-
getUuid
Returns the uuid of this source.- Specified by:
getUuidin interfaceSourceModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this source
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceSourceModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceSourceModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this source.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfaceSourceModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this source
-
setCreateDate
Sets the create date of this source.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceSourceModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this source
-
setDriverClassName
Sets the driver class name of this source.- Specified by:
setDriverClassNamein interfaceSourceModel- Parameters:
driverClassName- the driver class name of this source
-
setDriverPassword
Sets the driver password of this source.- Specified by:
setDriverPasswordin interfaceSourceModel- Parameters:
driverPassword- the driver password of this source
-
setDriverUrl
Sets the driver url of this source.- Specified by:
setDriverUrlin interfaceSourceModel- Parameters:
driverUrl- the driver url of this source
-
setDriverUserName
Sets the driver user name of this source.- Specified by:
setDriverUserNamein interfaceSourceModel- Parameters:
driverUserName- the driver user name of this source
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this source.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Specified by:
setGroupIdin interfaceSourceModel- Parameters:
groupId- the group ID of this source
-
setLastPublishDate
Sets the last publish date of this source.- Specified by:
setLastPublishDatein interfaceSourceModel- Specified by:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this source
-
setModifiedDate
Sets the modified date of this source.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceSourceModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this source
-
setName
Sets the name of this source.- Specified by:
setNamein interfaceSourceModel- Parameters:
name- the name of this source
-
setName
Sets the localized name of this source in the language.- Specified by:
setNamein interfaceSourceModel- Parameters:
name- the localized name of this sourcelocale- the locale of the language
-
setName
Sets the localized name of this source in the language, and sets the default locale.- Specified by:
setNamein interfaceSourceModel- Parameters:
name- the localized name of this sourcelocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceSourceModel
-
setNameMap
Sets the localized names of this source from the map of locales and localized names.- Specified by:
setNameMapin interfaceSourceModel- Parameters:
nameMap- the locales and localized names of this source
-
setNameMap
Sets the localized names of this source from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceSourceModel- Parameters:
nameMap- the locales and localized names of this sourcedefaultLocale- the default locale
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this source.- Specified by:
setPrimaryKeyin interfaceSourceModel- Parameters:
primaryKey- the primary key of this source
-
setSourceId
public void setSourceId(long sourceId) Sets the source ID of this source.- Specified by:
setSourceIdin interfaceSourceModel- Parameters:
sourceId- the source ID of this source
-
setUserId
public void setUserId(long userId) Sets the user ID of this source.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceSourceModel- Parameters:
userId- the user ID of this source
-
setUserName
Sets the user name of this source.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceSourceModel- Parameters:
userName- the user name of this source
-
setUserUuid
Sets the user uuid of this source.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceSourceModel- Parameters:
userUuid- the user uuid of this source
-
setUuid
Sets the uuid of this source.- Specified by:
setUuidin interfaceSourceModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this source
-
toXmlString
- Specified by:
toXmlStringin interfaceSourceModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Source>
-