Liferay 7.0-ga1 portal-impl

com.liferay.portal.model.impl
Class LayoutRevisionModelImpl

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>
      extended by com.liferay.portal.model.impl.LayoutRevisionModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LayoutRevisionModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.LayoutRevision>
Direct Known Subclasses:
LayoutRevisionBaseImpl

@JSON(strict=true)
@ProviderType
public class LayoutRevisionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>
implements com.liferay.portal.kernel.model.LayoutRevisionModel

The base model implementation for the LayoutRevision service. Represents a row in the "LayoutRevision" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface LayoutRevisionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutRevisionImpl.

See Also:
LayoutRevisionImpl, LayoutRevision, LayoutRevisionModel, Serialized Form
{$generated.description}

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long HEAD_COLUMN_BITMASK
           
static long LAYOUTBRANCHID_COLUMN_BITMASK
           
static long LAYOUTSETBRANCHID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static long MODIFIEDDATE_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PARENTLAYOUTREVISIONID_COLUMN_BITMASK
           
static long PLID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static long STATUS_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static Map<String,Integer> TABLE_COLUMNS_MAP
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
LayoutRevisionModelImpl()
           
 
Method Summary
 Object clone()
           
 int compareTo(com.liferay.portal.kernel.model.LayoutRevision layoutRevision)
           
 boolean equals(Object obj)
           
 String[] getAvailableLanguageIds()
           
 String getColorSchemeId()
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 Date getCreateDate()
           
 String getCss()
           
 String getDefaultLanguageId()
           
 String getDescription()
           
 String getDescription(Locale locale)
           
 String getDescription(Locale locale, boolean useDefault)
           
 String getDescription(String languageId)
           
 String getDescription(String languageId, boolean useDefault)
           
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
           
 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 boolean getHead()
           
 long getIconImageId()
           
 String getKeywords()
           
 String getKeywords(Locale locale)
           
 String getKeywords(Locale locale, boolean useDefault)
           
 String getKeywords(String languageId)
           
 String getKeywords(String languageId, boolean useDefault)
           
 String getKeywordsCurrentLanguageId()
           
 String getKeywordsCurrentValue()
           
 Map<Locale,String> getKeywordsMap()
           
 long getLayoutBranchId()
           
 long getLayoutRevisionId()
           
 long getLayoutSetBranchId()
           
 boolean getMajor()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
           
 long getMvccVersion()
           
 String getName()
           
 String getName(Locale locale)
           
 String getName(Locale locale, boolean useDefault)
           
 String getName(String languageId)
           
 String getName(String languageId, boolean useDefault)
           
 String getNameCurrentLanguageId()
           
 String getNameCurrentValue()
           
 Map<Locale,String> getNameMap()
           
 boolean getOriginalHead()
           
 long getOriginalLayoutBranchId()
           
 long getOriginalLayoutSetBranchId()
           
 long getOriginalParentLayoutRevisionId()
           
 long getOriginalPlid()
           
 int getOriginalStatus()
           
 long getParentLayoutRevisionId()
           
 long getPlid()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 boolean getPrivateLayout()
           
 String getRobots()
           
 String getRobots(Locale locale)
           
 String getRobots(Locale locale, boolean useDefault)
           
 String getRobots(String languageId)
           
 String getRobots(String languageId, boolean useDefault)
           
 String getRobotsCurrentLanguageId()
           
 String getRobotsCurrentValue()
           
 Map<Locale,String> getRobotsMap()
           
 int getStatus()
           
 long getStatusByUserId()
           
 String getStatusByUserName()
           
 String getStatusByUserUuid()
           
 Date getStatusDate()
           
 String getThemeId()
           
 String getTitle()
           
 String getTitle(Locale locale)
           
 String getTitle(Locale locale, boolean useDefault)
           
 String getTitle(String languageId)
           
 String getTitle(String languageId, boolean useDefault)
           
 String getTitleCurrentLanguageId()
           
 String getTitleCurrentValue()
           
 Map<Locale,String> getTitleMap()
           
 String getTypeSettings()
           
 long getUserId()
           
 String getUserName()
           
 String getUserUuid()
           
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 boolean isApproved()
           
 boolean isDenied()
           
 boolean isDraft()
           
 boolean isEntityCacheEnabled()
           
 boolean isExpired()
           
 boolean isFinderCacheEnabled()
           
 boolean isHead()
           
 boolean isInactive()
           
 boolean isIncomplete()
           
 boolean isMajor()
           
 boolean isPending()
           
 boolean isPrivateLayout()
           
 boolean isScheduled()
           
 void prepareLocalizedFieldsForImport()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
           
 void setColorSchemeId(String colorSchemeId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(Date createDate)
           
 void setCss(String css)
           
 void setDescription(String description)
           
 void setDescription(String description, Locale locale)
           
 void setDescription(String description, Locale locale, Locale defaultLocale)
           
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
           
 void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setHead(boolean head)
           
 void setIconImageId(long iconImageId)
           
 void setKeywords(String keywords)
           
 void setKeywords(String keywords, Locale locale)
           
 void setKeywords(String keywords, Locale locale, Locale defaultLocale)
           
 void setKeywordsCurrentLanguageId(String languageId)
           
 void setKeywordsMap(Map<Locale,String> keywordsMap)
           
 void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
           
 void setLayoutBranchId(long layoutBranchId)
           
 void setLayoutRevisionId(long layoutRevisionId)
           
 void setLayoutSetBranchId(long layoutSetBranchId)
           
 void setMajor(boolean major)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
           
 void setMvccVersion(long mvccVersion)
           
 void setName(String name)
           
 void setName(String name, Locale locale)
           
 void setName(String name, Locale locale, Locale defaultLocale)
           
 void setNameCurrentLanguageId(String languageId)
           
 void setNameMap(Map<Locale,String> nameMap)
           
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
           
 void setParentLayoutRevisionId(long parentLayoutRevisionId)
           
 void setPlid(long plid)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setPrivateLayout(boolean privateLayout)
           
 void setRobots(String robots)
           
 void setRobots(String robots, Locale locale)
           
 void setRobots(String robots, Locale locale, Locale defaultLocale)
           
 void setRobotsCurrentLanguageId(String languageId)
           
 void setRobotsMap(Map<Locale,String> robotsMap)
           
 void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
           
 void setStatus(int status)
           
 void setStatusByUserId(long statusByUserId)
           
 void setStatusByUserName(String statusByUserName)
           
 void setStatusByUserUuid(String statusByUserUuid)
           
 void setStatusDate(Date statusDate)
           
 void setThemeId(String themeId)
           
 void setTitle(String title)
           
 void setTitle(String title, Locale locale)
           
 void setTitle(String title, Locale locale, Locale defaultLocale)
           
 void setTitleCurrentLanguageId(String languageId)
           
 void setTitleMap(Map<Locale,String> titleMap)
           
 void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
           
 void setTypeSettings(String typeSettings)
           
 void setUserId(long userId)
           
 void setUserName(String userName)
           
 void setUserUuid(String userUuid)
           
 com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.LayoutRevision> toCacheModel()
           
 com.liferay.portal.kernel.model.LayoutRevision toEscapedModel()
           
static com.liferay.portal.kernel.model.LayoutRevision toModel(com.liferay.portal.kernel.model.LayoutRevisionSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<com.liferay.portal.kernel.model.LayoutRevision> toModels(com.liferay.portal.kernel.model.LayoutRevisionSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
           
 
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.model.LayoutRevisionModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

HEAD_COLUMN_BITMASK

public static final long HEAD_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTBRANCHID_COLUMN_BITMASK

public static final long LAYOUTBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

LAYOUTSETBRANCHID_COLUMN_BITMASK

public static final long LAYOUTSETBRANCHID_COLUMN_BITMASK
See Also:
Constant Field Values

PARENTLAYOUTREVISIONID_COLUMN_BITMASK

public static final long PARENTLAYOUTREVISIONID_COLUMN_BITMASK
See Also:
Constant Field Values

PLID_COLUMN_BITMASK

public static final long PLID_COLUMN_BITMASK
See Also:
Constant Field Values

STATUS_COLUMN_BITMASK

public static final long STATUS_COLUMN_BITMASK
See Also:
Constant Field Values

MODIFIEDDATE_COLUMN_BITMASK

public static final long MODIFIEDDATE_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutRevisionModelImpl

public LayoutRevisionModelImpl()
Method Detail

toModel

public static com.liferay.portal.kernel.model.LayoutRevision toModel(com.liferay.portal.kernel.model.LayoutRevisionSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<com.liferay.portal.kernel.model.LayoutRevision> toModels(com.liferay.portal.kernel.model.LayoutRevisionSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

getMvccVersion

@JSON
public long getMvccVersion()
Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel

setMvccVersion

public void setMvccVersion(long mvccVersion)
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel

getLayoutRevisionId

@JSON
public long getLayoutRevisionId()
Specified by:
getLayoutRevisionId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setLayoutRevisionId

public void setLayoutRevisionId(long layoutRevisionId)
Specified by:
setLayoutRevisionId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getGroupId

@JSON
public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
Specified by:
getGroupId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
Specified by:
setGroupId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel

getUserId

@JSON
public long getUserId()
Specified by:
getUserId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getUserId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setUserId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getUserUuid

public String getUserUuid()
Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getUserUuid in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setUserUuid

public void setUserUuid(String userUuid)
Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setUserUuid in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getUserName

@JSON
public String getUserName()
Specified by:
getUserName in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getUserName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setUserName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getCreateDate

@JSON
public Date getCreateDate()
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getCreateDate in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setCreateDate

public void setCreateDate(Date createDate)
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setCreateDate in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getModifiedDate

@JSON
public Date getModifiedDate()
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
getModifiedDate in interface com.liferay.portal.kernel.model.LayoutRevisionModel

hasSetModifiedDate

public boolean hasSetModifiedDate()

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
Specified by:
setModifiedDate in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getLayoutSetBranchId

@JSON
public long getLayoutSetBranchId()
Specified by:
getLayoutSetBranchId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setLayoutSetBranchId

public void setLayoutSetBranchId(long layoutSetBranchId)
Specified by:
setLayoutSetBranchId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getOriginalLayoutSetBranchId

public long getOriginalLayoutSetBranchId()

getLayoutBranchId

@JSON
public long getLayoutBranchId()
Specified by:
getLayoutBranchId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setLayoutBranchId

public void setLayoutBranchId(long layoutBranchId)
Specified by:
setLayoutBranchId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getOriginalLayoutBranchId

public long getOriginalLayoutBranchId()

getParentLayoutRevisionId

@JSON
public long getParentLayoutRevisionId()
Specified by:
getParentLayoutRevisionId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setParentLayoutRevisionId

public void setParentLayoutRevisionId(long parentLayoutRevisionId)
Specified by:
setParentLayoutRevisionId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getOriginalParentLayoutRevisionId

public long getOriginalParentLayoutRevisionId()

getHead

@JSON
public boolean getHead()
Specified by:
getHead in interface com.liferay.portal.kernel.model.LayoutRevisionModel

isHead

public boolean isHead()
Specified by:
isHead in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setHead

public void setHead(boolean head)
Specified by:
setHead in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getOriginalHead

public boolean getOriginalHead()

getMajor

@JSON
public boolean getMajor()
Specified by:
getMajor in interface com.liferay.portal.kernel.model.LayoutRevisionModel

isMajor

public boolean isMajor()
Specified by:
isMajor in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setMajor

public void setMajor(boolean major)
Specified by:
setMajor in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getPlid

@JSON
public long getPlid()
Specified by:
getPlid in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setPlid

public void setPlid(long plid)
Specified by:
setPlid in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getOriginalPlid

public long getOriginalPlid()

getPrivateLayout

@JSON
public boolean getPrivateLayout()
Specified by:
getPrivateLayout in interface com.liferay.portal.kernel.model.LayoutRevisionModel

isPrivateLayout

public boolean isPrivateLayout()
Specified by:
isPrivateLayout in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Specified by:
setPrivateLayout in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getName

@JSON
public String getName()
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getName

public String getName(Locale locale)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getName

public String getName(Locale locale,
                      boolean useDefault)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getName

public String getName(String languageId)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getName

public String getName(String languageId,
                      boolean useDefault)
Specified by:
getName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getNameCurrentValue

@JSON
public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getNameMap

public Map<Locale,String> getNameMap()
Specified by:
getNameMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setName

public void setName(String name)
Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setName

public void setName(String name,
                    Locale locale)
Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Specified by:
setName in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Specified by:
setNameMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap,
                       Locale defaultLocale)
Specified by:
setNameMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitle

@JSON
public String getTitle()
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitle

public String getTitle(Locale locale)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitle

public String getTitle(Locale locale,
                       boolean useDefault)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitle

public String getTitle(String languageId)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitle

public String getTitle(String languageId,
                       boolean useDefault)
Specified by:
getTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitleCurrentLanguageId

public String getTitleCurrentLanguageId()
Specified by:
getTitleCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitleCurrentValue

@JSON
public String getTitleCurrentValue()
Specified by:
getTitleCurrentValue in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTitleMap

public Map<Locale,String> getTitleMap()
Specified by:
getTitleMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTitle

public void setTitle(String title,
                     Locale locale)
Specified by:
setTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTitle

public void setTitle(String title,
                     Locale locale,
                     Locale defaultLocale)
Specified by:
setTitle in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTitleCurrentLanguageId

public void setTitleCurrentLanguageId(String languageId)
Specified by:
setTitleCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap)
Specified by:
setTitleMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap,
                        Locale defaultLocale)
Specified by:
setTitleMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescription

@JSON
public String getDescription()
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescription

public String getDescription(String languageId)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescriptionCurrentValue

@JSON
public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Specified by:
getDescriptionMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setDescription

public void setDescription(String description,
                           Locale locale)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Specified by:
setDescriptionMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Specified by:
setDescriptionMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywords

@JSON
public String getKeywords()
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywords

public String getKeywords(Locale locale)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywords

public String getKeywords(Locale locale,
                          boolean useDefault)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywords

public String getKeywords(String languageId)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywords

public String getKeywords(String languageId,
                          boolean useDefault)
Specified by:
getKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywordsCurrentLanguageId

public String getKeywordsCurrentLanguageId()
Specified by:
getKeywordsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywordsCurrentValue

@JSON
public String getKeywordsCurrentValue()
Specified by:
getKeywordsCurrentValue in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getKeywordsMap

public Map<Locale,String> getKeywordsMap()
Specified by:
getKeywordsMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setKeywords

public void setKeywords(String keywords)
Specified by:
setKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setKeywords

public void setKeywords(String keywords,
                        Locale locale)
Specified by:
setKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setKeywords

public void setKeywords(String keywords,
                        Locale locale,
                        Locale defaultLocale)
Specified by:
setKeywords in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setKeywordsCurrentLanguageId

public void setKeywordsCurrentLanguageId(String languageId)
Specified by:
setKeywordsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setKeywordsMap

public void setKeywordsMap(Map<Locale,String> keywordsMap)
Specified by:
setKeywordsMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setKeywordsMap

public void setKeywordsMap(Map<Locale,String> keywordsMap,
                           Locale defaultLocale)
Specified by:
setKeywordsMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobots

@JSON
public String getRobots()
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobots

public String getRobots(Locale locale)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobots

public String getRobots(Locale locale,
                        boolean useDefault)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobots

public String getRobots(String languageId)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobots

public String getRobots(String languageId,
                        boolean useDefault)
Specified by:
getRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobotsCurrentLanguageId

public String getRobotsCurrentLanguageId()
Specified by:
getRobotsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobotsCurrentValue

@JSON
public String getRobotsCurrentValue()
Specified by:
getRobotsCurrentValue in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getRobotsMap

public Map<Locale,String> getRobotsMap()
Specified by:
getRobotsMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setRobots

public void setRobots(String robots)
Specified by:
setRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setRobots

public void setRobots(String robots,
                      Locale locale)
Specified by:
setRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setRobots

public void setRobots(String robots,
                      Locale locale,
                      Locale defaultLocale)
Specified by:
setRobots in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setRobotsCurrentLanguageId

public void setRobotsCurrentLanguageId(String languageId)
Specified by:
setRobotsCurrentLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setRobotsMap

public void setRobotsMap(Map<Locale,String> robotsMap)
Specified by:
setRobotsMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setRobotsMap

public void setRobotsMap(Map<Locale,String> robotsMap,
                         Locale defaultLocale)
Specified by:
setRobotsMap in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getTypeSettings

@JSON
public String getTypeSettings()
Specified by:
getTypeSettings in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getIconImageId

@JSON
public long getIconImageId()
Specified by:
getIconImageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setIconImageId

public void setIconImageId(long iconImageId)
Specified by:
setIconImageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getThemeId

@JSON
public String getThemeId()
Specified by:
getThemeId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setThemeId

public void setThemeId(String themeId)
Specified by:
setThemeId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getColorSchemeId

@JSON
public String getColorSchemeId()
Specified by:
getColorSchemeId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Specified by:
setColorSchemeId in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getCss

@JSON
public String getCss()
Specified by:
getCss in interface com.liferay.portal.kernel.model.LayoutRevisionModel

setCss

public void setCss(String css)
Specified by:
setCss in interface com.liferay.portal.kernel.model.LayoutRevisionModel

getStatus

@JSON
public int getStatus()
Specified by:
getStatus in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel

setStatus

public void setStatus(int status)
Specified by:
setStatus in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel

getOriginalStatus

public int getOriginalStatus()

getStatusByUserId

@JSON
public long getStatusByUserId()
Specified by:
getStatusByUserId in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Specified by:
setStatusByUserId in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel

getStatusByUserUuid

public String getStatusByUserUuid()
Specified by:
getStatusByUserUuid in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Specified by:
setStatusByUserUuid in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel

getStatusByUserName

@JSON
public String getStatusByUserName()
Specified by:
getStatusByUserName in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Specified by:
setStatusByUserName in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel

getStatusDate

@JSON
public Date getStatusDate()
Specified by:
getStatusDate in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel

setStatusDate

public void setStatusDate(Date statusDate)
Specified by:
setStatusDate in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel

isApproved

public boolean isApproved()
Specified by:
isApproved in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel

isDenied

public boolean isDenied()
Specified by:
isDenied in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel

isDraft

public boolean isDraft()
Specified by:
isDraft in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel

isExpired

public boolean isExpired()
Specified by:
isExpired in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel

isInactive

public boolean isInactive()
Specified by:
isInactive in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel

isIncomplete

public boolean isIncomplete()
Specified by:
isIncomplete in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel

isPending

public boolean isPending()
Specified by:
isPending in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isPending in interface com.liferay.portal.kernel.model.WorkflowedModel

isScheduled

public boolean isScheduled()
Specified by:
isScheduled in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

toEscapedModel

public com.liferay.portal.kernel.model.LayoutRevision toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

clone

public Object clone()
Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
clone in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

compareTo

public int compareTo(com.liferay.portal.kernel.model.LayoutRevision layoutRevision)
Specified by:
compareTo in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.LayoutRevision>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Overrides:
hashCode in class Object

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

toCacheModel

public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.LayoutRevision> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.LayoutRevision>

toString

public String toString()
Specified by:
toString in interface com.liferay.portal.kernel.model.LayoutRevisionModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.LayoutRevision>
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.LayoutRevisionModel

Liferay 7.0-ga1 portal-impl