|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.dynamicdatamapping.model.DDMStorageLinkWrapper
public class DDMStorageLinkWrapper
This class is a wrapper for DDMStorageLink.
DDMStorageLink,
Serialized Form| Constructor Summary | |
|---|---|
DDMStorageLinkWrapper(DDMStorageLink ddmStorageLink)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMStorageLink ddmStorageLink)
|
String |
getClassName()
Returns the fully qualified class name of this d d m storage link. |
long |
getClassNameId()
Returns the class name ID of this d d m storage link. |
long |
getClassPK()
Returns the class p k of this d d m storage link. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this d d m storage link. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getStorageLinkId()
Returns the storage link ID of this d d m storage link. |
String |
getStorageType()
|
DDMStructure |
getStructure()
|
long |
getStructureId()
Returns the structure ID of this d d m storage link. |
String |
getUuid()
Returns the uuid of this d d m storage link. |
DDMStorageLink |
getWrappedDDMStorageLink()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
DDMStorageLink |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this d d m storage link. |
void |
setClassPK(long classPK)
Sets the class p k of this d d m storage link. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m storage link. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStorageLinkId(long storageLinkId)
Sets the storage link ID of this d d m storage link. |
void |
setStructureId(long structureId)
Sets the structure ID of this d d m storage link. |
void |
setUuid(String uuid)
Sets the uuid of this d d m storage link. |
CacheModel<DDMStorageLink> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMStorageLink |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
DDMStorageLink |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DDMStorageLinkWrapper(DDMStorageLink ddmStorageLink)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMStorageLink>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMStorageLink>public long getPrimaryKey()
getPrimaryKey in interface DDMStorageLinkModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStorageLinkModelprimaryKey - the primary key of this d d m storage linkpublic String getUuid()
getUuid in interface DDMStorageLinkModelpublic void setUuid(String uuid)
setUuid in interface DDMStorageLinkModeluuid - the uuid of this d d m storage linkpublic long getStorageLinkId()
getStorageLinkId in interface DDMStorageLinkModelpublic void setStorageLinkId(long storageLinkId)
setStorageLinkId in interface DDMStorageLinkModelstorageLinkId - the storage link ID of this d d m storage linkpublic String getClassName()
getClassName in interface AttachedModelgetClassName in interface DDMStorageLinkModelpublic void setClassName(String className)
setClassName in interface DDMStorageLinkModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface DDMStorageLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AttachedModelsetClassNameId in interface DDMStorageLinkModelclassNameId - the class name ID of this d d m storage linkpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface DDMStorageLinkModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface DDMStorageLinkModelclassPK - the class p k of this d d m storage linkpublic long getStructureId()
getStructureId in interface DDMStorageLinkModelpublic void setStructureId(long structureId)
setStructureId in interface DDMStorageLinkModelstructureId - the structure ID of this d d m storage linkpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DDMStorageLink>isNew in interface DDMStorageLinkModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMStorageLink>setNew in interface DDMStorageLinkModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDMStorageLink>isCachedModel in interface DDMStorageLinkModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDMStorageLink>setCachedModel in interface DDMStorageLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DDMStorageLink>isEscapedModel in interface DDMStorageLinkModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMStorageLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStorageLinkModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMStorageLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStorageLinkModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStorageLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStorageLinkModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDMStorageLink>setExpandoBridgeAttributes in interface DDMStorageLinkModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDMStorageLink>setExpandoBridgeAttributes in interface DDMStorageLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStorageLink>setExpandoBridgeAttributes in interface DDMStorageLinkModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DDMStorageLink>clone in interface DDMStorageLinkModelclone in class Objectpublic int compareTo(DDMStorageLink ddmStorageLink)
compareTo in interface DDMStorageLinkModelcompareTo in interface Comparable<DDMStorageLink>public int hashCode()
hashCode in interface DDMStorageLinkModelhashCode in class Objectpublic CacheModel<DDMStorageLink> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMStorageLink>toCacheModel in interface DDMStorageLinkModelpublic DDMStorageLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMStorageLink>toEscapedModel in interface DDMStorageLinkModelAutoEscapeBeanHandlerpublic DDMStorageLink toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMStorageLink>toUnescapedModel in interface DDMStorageLinkModelpublic String toString()
toString in interface DDMStorageLinkModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStorageLink>toXmlString in interface DDMStorageLinkModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public String getStorageType()
throws PortalException,
SystemException
getStorageType in interface DDMStorageLinkPortalException
SystemException
public DDMStructure getStructure()
throws PortalException,
SystemException
getStructure in interface DDMStorageLinkPortalException
SystemExceptionpublic DDMStorageLink getWrappedDDMStorageLink()
getWrappedModel()
public DDMStorageLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStorageLink>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStorageLink>
|
Liferay 6.2.0-ce-m5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||