Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.model.impl
Class DLSyncModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DLSync>
      extended by com.liferay.portlet.documentlibrary.model.impl.DLSyncModelImpl
All Implemented Interfaces:
BaseModel<DLSync>, ClassedModel, DLSyncModel, Serializable, Cloneable, Comparable<DLSync>
Direct Known Subclasses:
DLSyncBaseImpl

@JSON(strict=true)
public class DLSyncModelImpl
extends BaseModelImpl<DLSync>
implements DLSyncModel

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

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

See Also:
DLSyncImpl, DLSync, DLSyncModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static long FILEID_COLUMN_BITMASK
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static long MODIFIEDDATE_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long REPOSITORYID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
DLSyncModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DLSync dlSync)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this d l sync.
 Date getCreateDate()
          Returns the create date of this d l sync.
 String getDescription()
          Returns the description of this d l sync.
 String getEvent()
          Returns the event of this d l sync.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getFileId()
          Returns the file ID of this d l sync.
 String getFileUuid()
          Returns the file uuid of this d l sync.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this d l sync.
 String getName()
          Returns the name of this d l sync.
 long getOriginalCompanyId()
           
 long getOriginalFileId()
           
 Date getOriginalModifiedDate()
           
 long getOriginalRepositoryId()
           
 long getParentFolderId()
          Returns the parent folder ID of this d l sync.
 long getPrimaryKey()
          Returns the primary key of this d l sync.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRepositoryId()
          Returns the repository ID of this d l sync.
 long getSyncId()
          Returns the sync ID of this d l sync.
 String getType()
          Returns the type of this d l sync.
 String getVersion()
          Returns the version of this d l sync.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this d l sync.
 void setCreateDate(Date createDate)
          Sets the create date of this d l sync.
 void setDescription(String description)
          Sets the description of this d l sync.
 void setEvent(String event)
          Sets the event of this d l sync.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFileId(long fileId)
          Sets the file ID of this d l sync.
 void setFileUuid(String fileUuid)
          Sets the file uuid of this d l sync.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this d l sync.
 void setName(String name)
          Sets the name of this d l sync.
 void setParentFolderId(long parentFolderId)
          Sets the parent folder ID of this d l sync.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this d l sync.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setRepositoryId(long repositoryId)
          Sets the repository ID of this d l sync.
 void setSyncId(long syncId)
          Sets the sync ID of this d l sync.
 void setType(String type)
          Sets the type of this d l sync.
 void setVersion(String version)
          Sets the version of this d l sync.
 CacheModel<DLSync> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DLSync toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DLSync toModel(DLSyncSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DLSync> toModels(DLSyncSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 DLSync toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLSyncModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

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

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

FILEID_COLUMN_BITMASK

public static long FILEID_COLUMN_BITMASK

MODIFIEDDATE_COLUMN_BITMASK

public static long MODIFIEDDATE_COLUMN_BITMASK

REPOSITORYID_COLUMN_BITMASK

public static long REPOSITORYID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DLSyncModelImpl

public DLSyncModelImpl()
Method Detail

toModel

public static DLSync toModel(DLSyncSoap 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<DLSync> toModels(DLSyncSoap[] 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()
Description copied from interface: DLSyncModel
Returns the primary key of this d l sync.

Specified by:
getPrimaryKey in interface DLSyncModel
Returns:
the primary key of this d l sync

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DLSyncModel
Sets the primary key of this d l sync.

Specified by:
setPrimaryKey in interface DLSyncModel
Parameters:
primaryKey - the primary key of this d l sync

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<DLSync>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DLSyncModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<DLSync>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DLSyncModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DLSync>
Overrides:
getModelAttributes in class BaseModelImpl<DLSync>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DLSync>
Overrides:
setModelAttributes in class BaseModelImpl<DLSync>

getSyncId

@JSON
public long getSyncId()
Description copied from interface: DLSyncModel
Returns the sync ID of this d l sync.

Specified by:
getSyncId in interface DLSyncModel
Returns:
the sync ID of this d l sync

setSyncId

public void setSyncId(long syncId)
Description copied from interface: DLSyncModel
Sets the sync ID of this d l sync.

Specified by:
setSyncId in interface DLSyncModel
Parameters:
syncId - the sync ID of this d l sync

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: DLSyncModel
Returns the company ID of this d l sync.

Specified by:
getCompanyId in interface DLSyncModel
Returns:
the company ID of this d l sync

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DLSyncModel
Sets the company ID of this d l sync.

Specified by:
setCompanyId in interface DLSyncModel
Parameters:
companyId - the company ID of this d l sync

getOriginalCompanyId

public long getOriginalCompanyId()

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: DLSyncModel
Returns the create date of this d l sync.

Specified by:
getCreateDate in interface DLSyncModel
Returns:
the create date of this d l sync

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DLSyncModel
Sets the create date of this d l sync.

Specified by:
setCreateDate in interface DLSyncModel
Parameters:
createDate - the create date of this d l sync

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: DLSyncModel
Returns the modified date of this d l sync.

Specified by:
getModifiedDate in interface DLSyncModel
Returns:
the modified date of this d l sync

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DLSyncModel
Sets the modified date of this d l sync.

Specified by:
setModifiedDate in interface DLSyncModel
Parameters:
modifiedDate - the modified date of this d l sync

getOriginalModifiedDate

public Date getOriginalModifiedDate()

getFileId

@JSON
public long getFileId()
Description copied from interface: DLSyncModel
Returns the file ID of this d l sync.

Specified by:
getFileId in interface DLSyncModel
Returns:
the file ID of this d l sync

setFileId

public void setFileId(long fileId)
Description copied from interface: DLSyncModel
Sets the file ID of this d l sync.

Specified by:
setFileId in interface DLSyncModel
Parameters:
fileId - the file ID of this d l sync

getOriginalFileId

public long getOriginalFileId()

getFileUuid

@JSON
public String getFileUuid()
Description copied from interface: DLSyncModel
Returns the file uuid of this d l sync.

Specified by:
getFileUuid in interface DLSyncModel
Returns:
the file uuid of this d l sync

setFileUuid

public void setFileUuid(String fileUuid)
Description copied from interface: DLSyncModel
Sets the file uuid of this d l sync.

Specified by:
setFileUuid in interface DLSyncModel
Parameters:
fileUuid - the file uuid of this d l sync

getRepositoryId

@JSON
public long getRepositoryId()
Description copied from interface: DLSyncModel
Returns the repository ID of this d l sync.

Specified by:
getRepositoryId in interface DLSyncModel
Returns:
the repository ID of this d l sync

setRepositoryId

public void setRepositoryId(long repositoryId)
Description copied from interface: DLSyncModel
Sets the repository ID of this d l sync.

Specified by:
setRepositoryId in interface DLSyncModel
Parameters:
repositoryId - the repository ID of this d l sync

getOriginalRepositoryId

public long getOriginalRepositoryId()

getParentFolderId

@JSON
public long getParentFolderId()
Description copied from interface: DLSyncModel
Returns the parent folder ID of this d l sync.

Specified by:
getParentFolderId in interface DLSyncModel
Returns:
the parent folder ID of this d l sync

setParentFolderId

public void setParentFolderId(long parentFolderId)
Description copied from interface: DLSyncModel
Sets the parent folder ID of this d l sync.

Specified by:
setParentFolderId in interface DLSyncModel
Parameters:
parentFolderId - the parent folder ID of this d l sync

getName

@JSON
public String getName()
Description copied from interface: DLSyncModel
Returns the name of this d l sync.

Specified by:
getName in interface DLSyncModel
Returns:
the name of this d l sync

setName

public void setName(String name)
Description copied from interface: DLSyncModel
Sets the name of this d l sync.

Specified by:
setName in interface DLSyncModel
Parameters:
name - the name of this d l sync

getDescription

@JSON
public String getDescription()
Description copied from interface: DLSyncModel
Returns the description of this d l sync.

Specified by:
getDescription in interface DLSyncModel
Returns:
the description of this d l sync

setDescription

public void setDescription(String description)
Description copied from interface: DLSyncModel
Sets the description of this d l sync.

Specified by:
setDescription in interface DLSyncModel
Parameters:
description - the description of this d l sync

getEvent

@JSON
public String getEvent()
Description copied from interface: DLSyncModel
Returns the event of this d l sync.

Specified by:
getEvent in interface DLSyncModel
Returns:
the event of this d l sync

setEvent

public void setEvent(String event)
Description copied from interface: DLSyncModel
Sets the event of this d l sync.

Specified by:
setEvent in interface DLSyncModel
Parameters:
event - the event of this d l sync

getType

@JSON
public String getType()
Description copied from interface: DLSyncModel
Returns the type of this d l sync.

Specified by:
getType in interface DLSyncModel
Returns:
the type of this d l sync

setType

public void setType(String type)
Description copied from interface: DLSyncModel
Sets the type of this d l sync.

Specified by:
setType in interface DLSyncModel
Parameters:
type - the type of this d l sync

getVersion

@JSON
public String getVersion()
Description copied from interface: DLSyncModel
Returns the version of this d l sync.

Specified by:
getVersion in interface DLSyncModel
Returns:
the version of this d l sync

setVersion

public void setVersion(String version)
Description copied from interface: DLSyncModel
Sets the version of this d l sync.

Specified by:
setVersion in interface DLSyncModel
Parameters:
version - the version of this d l sync

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DLSync>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLSyncModel
Overrides:
getExpandoBridge in class BaseModelImpl<DLSync>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DLSync>
Specified by:
setExpandoBridgeAttributes in interface DLSyncModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DLSync>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DLSync toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DLSync>
Specified by:
toEscapedModel in interface DLSyncModel
Overrides:
toEscapedModel in class BaseModelImpl<DLSync>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DLSync toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DLSync>
Specified by:
toUnescapedModel in interface DLSyncModel
Overrides:
toUnescapedModel in class BaseModelImpl<DLSync>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<DLSync>
Specified by:
clone in interface DLSyncModel
Specified by:
clone in class BaseModelImpl<DLSync>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DLSync dlSync)
Specified by:
compareTo in interface DLSyncModel
Specified by:
compareTo in interface Comparable<DLSync>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface DLSyncModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<DLSync>
Overrides:
resetOriginalValues in class BaseModelImpl<DLSync>

toCacheModel

public CacheModel<DLSync> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DLSync>
Specified by:
toCacheModel in interface DLSyncModel
Overrides:
toCacheModel in class BaseModelImpl<DLSync>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface DLSyncModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<DLSync>
Specified by:
toXmlString in interface DLSyncModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3