@ProviderType public class DDMStorageLinkWrapper extends java.lang.Object implements DDMStorageLink, ModelWrapper<DDMStorageLink>
This class is a wrapper for DDMStorageLink.
DDMStorageLink,
Serialized Form| Constructor and Description |
|---|
DDMStorageLinkWrapper(DDMStorageLink ddmStorageLink) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DDMStorageLink ddmStorageLink) |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this d d m storage link.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getStorageLinkId()
Returns the storage link ID of this d d m storage link.
|
java.lang.String |
getStorageType() |
DDMStructure |
getStructure() |
long |
getStructureId()
Returns the structure ID of this d d m storage link.
|
java.lang.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(java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.io.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(java.lang.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. |
java.lang.String |
toString() |
DDMStorageLink |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public DDMStorageLinkWrapper(DDMStorageLink ddmStorageLink)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMStorageLink>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.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 java.lang.String getUuid()
getUuid in interface DDMStorageLinkModelpublic void setUuid(java.lang.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 java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface DDMStorageLinkModelpublic void setClassName(java.lang.String className)
setClassName in interface DDMStorageLinkModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface DDMStorageLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId 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)
BaseModelsetNew 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)
BaseModelsetCachedModel 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DDMStorageLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStorageLinkModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DDMStorageLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStorageLinkModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge 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)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DDMStorageLink>setExpandoBridgeAttributes in interface DDMStorageLinkModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<DDMStorageLink>clone in interface DDMStorageLinkModelclone in class java.lang.Objectpublic int compareTo(DDMStorageLink ddmStorageLink)
compareTo in interface DDMStorageLinkModelcompareTo in interface java.lang.Comparable<DDMStorageLink>public int hashCode()
hashCode in interface DDMStorageLinkModelhashCode in class java.lang.Objectpublic CacheModel<DDMStorageLink> toCacheModel()
BaseModeltoCacheModel 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 java.lang.String toString()
toString in interface DDMStorageLinkModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<DDMStorageLink>toXmlString in interface DDMStorageLinkModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic java.lang.String getStorageType()
throws PortalException,
SystemException
getStorageType in interface DDMStorageLinkPortalExceptionSystemExceptionpublic DDMStructure getStructure() throws PortalException, SystemException
getStructure in interface DDMStorageLinkPortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic DDMStorageLink getWrappedDDMStorageLink()
getWrappedModel()public DDMStorageLink getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStorageLink>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DDMStorageLink>