contentbox.models

Class BaseEntity

lucee.Component
    extended by contentbox.models.BaseEntityMethods
      extended by contentbox.models.BaseEntity
Direct Known Subclasses:
Comment , Category , ContentVersion , CustomField , Stats , Menu , Module , Author , LoginAttempt , Permission , Role , SecurityRule , Subscriber , Setting

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- This is the base class for all persistent entities

Class Attributes:
  • mappedsuperclass : true
  •  
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    date createdDate


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = timestamp
    • update = false
    • index = idx_createDate
    true false
    any isDeleted


    • access = public
    • dbdefault = 0
    • returntype = any
    • notnull = true
    • ormtype = boolean
    • index = idx_deleted
    • sqltype = bit
    false true false
    date modifiedDate


    • access = public
    • returntype = any
    • notnull = true
    • ormtype = timestamp
    • index = idx_modifiedDate
    true false
    Method Summary
    string getCreatedDate()
    string getIsDeleted()
    string getModifiedDate()
    any setCreatedDate(date createdDate)
    any setIsDeleted(any isDeleted)
    any setModifiedDate(date modifiedDate)
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    getBaseMemento, getDisplayCreatedDate, getDisplayModifiedDate, init, isLoaded, preInsert, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    createdDate

    property date createdDate

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - timestamp
    update - false
    index - idx_createDate
    serializable - true

    isDeleted

    property any isDeleted = [false]

    Attributes:
    access - public
    required - false
    dbdefault - 0
    returntype - any
    notnull - true
    ormtype - boolean
    index - idx_deleted
    serializable - true
    sqltype - bit

    modifiedDate

    property date modifiedDate

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    ormtype - timestamp
    index - idx_modifiedDate
    serializable - true

    Method Detail

    getCreatedDate

    public string getCreatedDate()


    getIsDeleted

    public string getIsDeleted()


    getModifiedDate

    public string getModifiedDate()


    setCreatedDate

    public any setCreatedDate(date createdDate)

    Parameters:
    createdDate

    setIsDeleted

    public any setIsDeleted(any isDeleted)

    Parameters:
    isDeleted

    setModifiedDate

    public any setModifiedDate(date modifiedDate)

    Parameters:
    modifiedDate