Class ModelObject

java.lang.Object
org.exoplatform.portal.config.model.ModelObject
Direct Known Subclasses:
Application, Container, PageBody, PortalConfig, SiteBody, SiteConfig

public abstract class ModelObject extends Object
Version:
$Revision$
Author:
Julien Viet
  • Field Details

    • storageId

      protected String storageId
      Storage id.
    • storageName

      protected String storageName
      The storage name that is unique among a container context.
    • width

      protected String width
    • height

      protected String height
    • cssClass

      protected String cssClass
    • cssStyle

      protected ModelStyle cssStyle
  • Constructor Details

    • ModelObject

      public ModelObject(String storageId)
      Create a new object.
      Parameters:
      storageId - if the storage id is null
    • ModelObject

      protected ModelObject()
  • Method Details

    • getStorageId

      public String getStorageId()
    • getStorageName

      public String getStorageName()
    • setStorageName

      public void setStorageName(String storageName)
    • checkStorage

      public void checkStorage() throws org.exoplatform.commons.exception.ObjectNotFoundException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • resetStorage

      public void resetStorage() throws org.exoplatform.commons.exception.ObjectNotFoundException
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
    • build

      public abstract ModelData build()
    • build

      public static ModelObject build(ModelData data)