contentbox.models.content

Class Relocation

lucee.Component
    extended by contentbox.models.BaseEntityMethods
      extended by contentbox.models.BaseEntity
        extended by contentbox.models.content.Relocation

ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- A class to track stats for content

Class Attributes:
  • entityname : cbRelocation
  •  
  • cacheuse : read-write
  •  
  • table : cb_relocations
  •  
  • synchronized : false
  •  
  • cachename : cbRelocation
  •  
  • batchsize : 25
  •  
  • accessors : false
  •  
  • persistent : true
  •  
    Property Summary
    type property default serializable required
    date createdDate


    • access = public
    • returntype = any
    • column = createdDate
    • notnull = true
    • ormtype = timestamp
    • update = false
    • persistent = true
    true false
    any isDeleted


    • access = public
    • returntype = any
    • column = isDeleted
    • notnull = true
    • ormtype = boolean
    • persistent = true
    false true false
    date modifiedDate


    • access = public
    • returntype = any
    • column = modifiedDate
    • notnull = true
    • ormtype = timestamp
    • persistent = true
    true false
    any relatedContent


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fetch = select
    • notnull = false
    • fkcolumn = FK_contentID
    • cfc = contentbox.models.content.BaseContent
    • lazy = false
    true false
    any relocationID


    • access = public
    • fieldtype = id
    • returntype = any
    • column = relocationID
    • ormtype = string
    • update = false
    • generator = uuid
    • length = 36
    true false
    any site


    • access = public
    • fieldtype = many-to-one
    • returntype = any
    • fetch = join
    • notnull = true
    • fkcolumn = FK_siteID
    • cfc = contentbox.models.system.Site
    • lazy = true
    true false
    any slug


    • access = public
    • returntype = any
    • notnull = true
    • length = 500
    true false
    any target
          An optional manual target - may be used if no content is assigned *.

    • access = public
    • returntype = any
    • notnull = false
    • length = 500
    true false
    Method Summary
    string getRelatedContent()
    string getRelocationID()
    string getSite()
    string getSlug()
    string getTarget()
    boolean hasRelatedContent([any relatedContent])
    boolean hasSite([any site])
    any setRelatedContent(any relatedContent)
    any setRelocationID(any relocationID)
    any setSite(any site)
    any setSlug([any value])
    any setTarget(any target)
     
    Methods inherited from class contentbox.models.BaseEntity
    getCreatedDate, getIsDeleted, getModifiedDate, setCreatedDate, setIsDeleted, setModifiedDate
     
    Methods inherited from class contentbox.models.BaseEntityMethods
    appendToMemento, appendToMementoProfile, arrayWrap, getDisplayCreatedDate, getDisplayModifiedDate, getEntityName, getId, includeMixin, init, isLoaded, preInsert, preUpdate
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    createdDate

    property date createdDate

    Attributes:
    access - public
    required - false
    returntype - any
    column - createdDate
    notnull - true
    ormtype - timestamp
    update - false
    persistent - true
    serializable - true

    isDeleted

    property any isDeleted = [false]

    Attributes:
    access - public
    required - false
    returntype - any
    column - isDeleted
    notnull - true
    ormtype - boolean
    persistent - true
    serializable - true

    modifiedDate

    property date modifiedDate

    Attributes:
    access - public
    required - false
    returntype - any
    column - modifiedDate
    notnull - true
    ormtype - timestamp
    persistent - true
    serializable - true

    relatedContent

    property any relatedContent

    Attributes:
    access - public
    required - false
    fieldtype - many-to-one
    returntype - any
    fetch - select
    notnull - false
    fkcolumn - FK_contentID
    serializable - true
    cfc - contentbox.models.content.BaseContent
    lazy - false

    relocationID

    property any relocationID

    Attributes:
    access - public
    required - false
    fieldtype - id
    returntype - any
    column - relocationID
    ormtype - string
    update - false
    generator - uuid
    length - 36
    serializable - true

    site

    property any site

    Attributes:
    access - public
    required - false
    fieldtype - many-to-one
    returntype - any
    fetch - join
    notnull - true
    fkcolumn - FK_siteID
    serializable - true
    cfc - contentbox.models.system.Site
    lazy - true

    slug

    property any slug

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - true
    length - 500
    serializable - true

    target

    property any target

    An optional manual target - may be used if no content is assigned *

    Attributes:
    access - public
    required - false
    returntype - any
    notnull - false
    length - 500
    serializable - true

    Method Detail

    getRelatedContent

    public string getRelatedContent()


    getRelocationID

    public string getRelocationID()


    getSite

    public string getSite()


    getSlug

    public string getSlug()


    getTarget

    public string getTarget()


    hasRelatedContent

    public boolean hasRelatedContent([any relatedContent])

    Parameters:
    relatedContent

    hasSite

    public boolean hasSite([any site])

    Parameters:
    site

    setRelatedContent

    public any setRelatedContent(any relatedContent)

    Parameters:
    relatedContent

    setRelocationID

    public any setRelocationID(any relocationID)

    Parameters:
    relocationID

    setSite

    public any setSite(any site)

    Parameters:
    site

    setSlug

    public any setSlug([any value])

    Parameters:
    value

    setTarget

    public any setTarget(any target)

    Parameters:
    target