Class JSONStorageEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JSONStorageEntry>
com.liferay.json.storage.model.JSONStorageEntryWrapper
All Implemented Interfaces:
JSONStorageEntry, JSONStorageEntryModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<JSONStorageEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<JSONStorageEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<JSONStorageEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<JSONStorageEntry>

public class JSONStorageEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JSONStorageEntry> implements JSONStorageEntry, com.liferay.portal.kernel.model.ModelWrapper<JSONStorageEntry>

This class is a wrapper for JSONStorageEntry.

See Also:
Generated:
  • Constructor Details

    • JSONStorageEntryWrapper

      public JSONStorageEntryWrapper(JSONStorageEntry jsonStorageEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<JSONStorageEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<JSONStorageEntry>
    • cloneWithOriginalValues

      public JSONStorageEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<JSONStorageEntry>
      Specified by:
      cloneWithOriginalValues in interface JSONStorageEntryModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this json storage entry.
      Specified by:
      getClassName in interface JSONStorageEntryModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this json storage entry
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this json storage entry.
      Specified by:
      getClassNameId in interface JSONStorageEntryModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this json storage entry
    • getClassPK

      public long getClassPK()
      Returns the class pk of this json storage entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface JSONStorageEntryModel
      Returns:
      the class pk of this json storage entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this json storage entry.
      Specified by:
      getCompanyId in interface JSONStorageEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this json storage entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this json storage entry.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JSONStorageEntry>
      Specified by:
      getCtCollectionId in interface JSONStorageEntryModel
      Returns:
      the ct collection ID of this json storage entry
    • getIndex

      public int getIndex()
      Returns the index of this json storage entry.
      Specified by:
      getIndex in interface JSONStorageEntryModel
      Returns:
      the index of this json storage entry
    • getJsonStorageEntryId

      public long getJsonStorageEntryId()
      Returns the json storage entry ID of this json storage entry.
      Specified by:
      getJsonStorageEntryId in interface JSONStorageEntryModel
      Returns:
      the json storage entry ID of this json storage entry
    • getKey

      public String getKey()
      Returns the key of this json storage entry.
      Specified by:
      getKey in interface JSONStorageEntryModel
      Returns:
      the key of this json storage entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this json storage entry.
      Specified by:
      getMvccVersion in interface JSONStorageEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this json storage entry
    • getParentJSONStorageEntryId

      public long getParentJSONStorageEntryId()
      Returns the parent json storage entry ID of this json storage entry.
      Specified by:
      getParentJSONStorageEntryId in interface JSONStorageEntryModel
      Returns:
      the parent json storage entry ID of this json storage entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this json storage entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JSONStorageEntry>
      Specified by:
      getPrimaryKey in interface JSONStorageEntryModel
      Returns:
      the primary key of this json storage entry
    • getType

      public int getType()
      Returns the type of this json storage entry.
      Specified by:
      getType in interface JSONStorageEntryModel
      Returns:
      the type of this json storage entry
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface JSONStorageEntry
    • getValueLong

      public long getValueLong()
      Returns the value long of this json storage entry.
      Specified by:
      getValueLong in interface JSONStorageEntryModel
      Returns:
      the value long of this json storage entry
    • getValueString

      public String getValueString()
      Returns the value string of this json storage entry.
      Specified by:
      getValueString in interface JSONStorageEntryModel
      Returns:
      the value string of this json storage entry
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface JSONStorageEntryModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this json storage entry.
      Specified by:
      setClassNameId in interface JSONStorageEntryModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this json storage entry
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this json storage entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface JSONStorageEntryModel
      Parameters:
      classPK - the class pk of this json storage entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this json storage entry.
      Specified by:
      setCompanyId in interface JSONStorageEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this json storage entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this json storage entry.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JSONStorageEntry>
      Specified by:
      setCtCollectionId in interface JSONStorageEntryModel
      Parameters:
      ctCollectionId - the ct collection ID of this json storage entry
    • setIndex

      public void setIndex(int index)
      Sets the index of this json storage entry.
      Specified by:
      setIndex in interface JSONStorageEntryModel
      Parameters:
      index - the index of this json storage entry
    • setJsonStorageEntryId

      public void setJsonStorageEntryId(long jsonStorageEntryId)
      Sets the json storage entry ID of this json storage entry.
      Specified by:
      setJsonStorageEntryId in interface JSONStorageEntryModel
      Parameters:
      jsonStorageEntryId - the json storage entry ID of this json storage entry
    • setKey

      public void setKey(String key)
      Sets the key of this json storage entry.
      Specified by:
      setKey in interface JSONStorageEntryModel
      Parameters:
      key - the key of this json storage entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this json storage entry.
      Specified by:
      setMvccVersion in interface JSONStorageEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this json storage entry
    • setParentJSONStorageEntryId

      public void setParentJSONStorageEntryId(long parentJSONStorageEntryId)
      Sets the parent json storage entry ID of this json storage entry.
      Specified by:
      setParentJSONStorageEntryId in interface JSONStorageEntryModel
      Parameters:
      parentJSONStorageEntryId - the parent json storage entry ID of this json storage entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this json storage entry.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<JSONStorageEntry>
      Specified by:
      setPrimaryKey in interface JSONStorageEntryModel
      Parameters:
      primaryKey - the primary key of this json storage entry
    • setType

      public void setType(int type)
      Sets the type of this json storage entry.
      Specified by:
      setType in interface JSONStorageEntryModel
      Parameters:
      type - the type of this json storage entry
    • setValue

      public void setValue(Object value)
      Specified by:
      setValue in interface JSONStorageEntry
    • setValueLong

      public void setValueLong(long valueLong)
      Sets the value long of this json storage entry.
      Specified by:
      setValueLong in interface JSONStorageEntryModel
      Parameters:
      valueLong - the value long of this json storage entry
    • setValueString

      public void setValueString(String valueString)
      Sets the value string of this json storage entry.
      Specified by:
      setValueString in interface JSONStorageEntryModel
      Parameters:
      valueString - the value string of this json storage entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface JSONStorageEntryModel
    • getAttributeGetterFunctions

      public Map<String,Function<JSONStorageEntry,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<JSONStorageEntry>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<JSONStorageEntry,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<JSONStorageEntry>
    • wrap

      protected JSONStorageEntryWrapper wrap(JSONStorageEntry jsonStorageEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<JSONStorageEntry>