|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.dynamicdatamapping.model.DDMStorageLinkWrapper
public class DDMStorageLinkWrapper
This class is a wrapper for DDMStorageLink
.
DDMStorageLink
,
Serialized FormConstructor Summary | |
---|---|
DDMStorageLinkWrapper(DDMStorageLink ddmStorageLink)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMStorageLink ddmStorageLink)
|
boolean |
equals(Object obj)
|
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. Renamed to 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(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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DDMStorageLinkWrapper(DDMStorageLink ddmStorageLink)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 DDMStorageLinkModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDMStorageLinkModel
primaryKey
- the primary key of this d d m storage linkpublic String getUuid()
getUuid
in interface DDMStorageLinkModel
public void setUuid(String uuid)
setUuid
in interface DDMStorageLinkModel
uuid
- the uuid of this d d m storage linkpublic long getStorageLinkId()
getStorageLinkId
in interface DDMStorageLinkModel
public void setStorageLinkId(long storageLinkId)
setStorageLinkId
in interface DDMStorageLinkModel
storageLinkId
- the storage link ID of this d d m storage linkpublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface DDMStorageLinkModel
public void setClassName(String className)
setClassName
in interface DDMStorageLinkModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface DDMStorageLinkModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface DDMStorageLinkModel
classNameId
- the class name ID of this d d m storage linkpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface DDMStorageLinkModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface DDMStorageLinkModel
classPK
- the class p k of this d d m storage linkpublic long getStructureId()
getStructureId
in interface DDMStorageLinkModel
public void setStructureId(long structureId)
setStructureId
in interface DDMStorageLinkModel
structureId
- the structure ID of this d d m storage linkpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DDMStorageLink>
isNew
in interface DDMStorageLinkModel
true
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 DDMStorageLinkModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<DDMStorageLink>
isCachedModel
in interface DDMStorageLinkModel
true
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 DDMStorageLinkModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DDMStorageLink>
isEscapedModel
in interface DDMStorageLinkModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DDMStorageLink>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DDMStorageLinkModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DDMStorageLink>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DDMStorageLinkModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DDMStorageLink>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DDMStorageLinkModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DDMStorageLink>
setExpandoBridgeAttributes
in interface DDMStorageLinkModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DDMStorageLink>
clone
in interface DDMStorageLinkModel
clone
in class Object
public int compareTo(DDMStorageLink ddmStorageLink)
compareTo
in interface DDMStorageLinkModel
compareTo
in interface Comparable<DDMStorageLink>
public int hashCode()
hashCode
in interface DDMStorageLinkModel
hashCode
in class Object
public CacheModel<DDMStorageLink> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DDMStorageLink>
toCacheModel
in interface DDMStorageLinkModel
public DDMStorageLink toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DDMStorageLink>
toEscapedModel
in interface DDMStorageLinkModel
AutoEscapeBeanHandler
public DDMStorageLink toUnescapedModel()
toUnescapedModel
in interface BaseModel<DDMStorageLink>
toUnescapedModel
in interface DDMStorageLinkModel
public String toString()
toString
in interface DDMStorageLinkModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DDMStorageLink>
toXmlString
in interface DDMStorageLinkModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic String getStorageType() throws PortalException, SystemException
getStorageType
in interface DDMStorageLink
PortalException
SystemException
public DDMStructure getStructure() throws PortalException, SystemException
getStructure
in interface DDMStorageLink
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public DDMStorageLink getWrappedDDMStorageLink()
getWrappedModel()
public DDMStorageLink getWrappedModel()
getWrappedModel
in interface ModelWrapper<DDMStorageLink>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DDMStorageLink>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |