mura.content

Class contentDAO

lucee.Component
    extended by mura.cfobject
      extended by mura.content.contentDAO

This provides content CRUD functionality

Class Attributes:
  • output : false
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Constructor Summary
    init(any configBean, any settingsManager, any utility)
    Method Summary
    any archiveActive(string contentID, string siteID)
    any create(any contentBean)
    any createContentAssignment([any contentBean], [String userID], [String type='draft'])
    any createObjects([struct data], [any contentBean], string oldContentHistID='')
    any createRelatedItems(string contentID='', string contentHistID='', struct data='[runtime expression]', string siteID='', string oldContentHistID='', [any bean])
    any createTags([any contentBean])
    any delete([any contentBean])
    any deleteCategoryHist([string contentHistID], [string siteID])
    any deleteContentAssignments([String id], [String siteID], [String type='draft'])
    any deleteDraftHistAll(string contentID, string siteID)
         I delete all draft versions.
    any deleteExtendDataHist([string contentHistID])
    any deleteHist([string contentHistID], [string siteID])
    any deleteHistAll(string contentID, string siteID)
         I delete all archived and draft versions.
    any deleteObjects([string contentID], [string siteID])
    any deleteObjectsHist([string contentHistID], [string siteID])
    any deleteOldSourceMaps([any contentid], [any siteid])
    any deleteRelatedItems([String contentHistID])
    any deleteTagHist([string contentHistID], [string siteID])
    any deleteTags([string contentID], [string siteID])
    any deleteVersionedObjects([any contenthistid], [any contentid], [any siteid])
    any getCommentCount(String contentID='', string siteID='', boolean isEditor='false', boolean includeSpam='false', boolean includeDeleted='false')
    any getCommentSubscribers(String contentID='', string siteID='')
    any getExpireAssignments([any contenthistid])
    any persistVersionedObjects([any version1], [any version2], [any removeObjects], [any addObjects], [any $])
    any readActive(string contentID, string siteID, boolean use404='false', any contentBean='', any sourceIterator='')
    any readActiveByFilename(string filename='', string siteID='', boolean use404='false', any contentBean='', any type='')
    any readActiveByRemoteID(string remoteID, string siteID, boolean use404='false', any contentBean='', any type='')
    any readActiveByTitle(string title, string siteID, boolean use404='false', any contentBean='', any type='')
    any readActiveByURLTitle(string urltitle, string siteID, boolean use404='false', any contentBean='', any type='')
    any readComments(String contentID='', string siteID='', boolean isEditor='false', string sortOrder='asc', string parentID='', boolean filterByParentID='true', boolean includeSpam='false', boolean includeDeleted='false', boolean includeKids='false')
    any readContentObject([any contenthistID], [any regionID], [any orderno])
    any readRecentComments(string siteID='', numeric size='5', boolean approvedOnly='true', boolean includeSpam='false', boolean includeDeleted='false')
    any readRegionObjects([string contenthistid], [string siteID], [numeric regionID])
    any readRelatedItems(string contentHistID='', string siteid='', string relatedcontentsetid='')
    any readVersion(string contentHistID, string siteID, boolean use404='false', any contentBean='', any sourceIterator='')
    any renderActiveClause([any table='tcontent'], [any siteID])
    any setCustomTagGroups([any contentBean])
    any updateContentObjectParams([any contenthistID], [any regionID], [any orderno], [any params])
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, get, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getFeed, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, getValue, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, parseDateArg, removeValue, set, setValue, valueExists
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any configBean, any settingsManager, any utility)

    Parameters:
    configBean
    settingsManager
    utility

    Method Detail

    archiveActive

    public any archiveActive(string contentID, string siteID)

    Parameters:
    contentID
    siteID

    create

    public any create(any contentBean)

    Parameters:
    contentBean

    createContentAssignment

    public any createContentAssignment([any contentBean], [String userID], [String type='draft'])

    Parameters:
    contentBean
    userID
    type

    createObjects

    public any createObjects([struct data], [any contentBean], string oldContentHistID='')

    Parameters:
    data
    contentBean
    oldContentHistID

    createRelatedItems

    public any createRelatedItems(string contentID='', string contentHistID='', struct data='[runtime expression]', string siteID='', string oldContentHistID='', [any bean])

    Parameters:
    contentID
    contentHistID
    data
    siteID
    oldContentHistID
    bean

    createTags

    public any createTags([any contentBean])

    Parameters:
    contentBean

    delete

    public any delete([any contentBean])

    Parameters:
    contentBean

    deleteCategoryHist

    public any deleteCategoryHist([string contentHistID], [string siteID])

    Parameters:
    contentHistID
    siteID

    deleteContentAssignments

    public any deleteContentAssignments([String id], [String siteID], [String type='draft'])

    Parameters:
    id
    siteID
    type

    deleteDraftHistAll

    public any deleteDraftHistAll(string contentID, string siteID)

    I delete all draft versions

    Parameters:
    contentID
    siteID

    deleteExtendDataHist

    public any deleteExtendDataHist([string contentHistID])

    Parameters:
    contentHistID

    deleteHist

    public any deleteHist([string contentHistID], [string siteID])

    Parameters:
    contentHistID
    siteID

    deleteHistAll

    public any deleteHistAll(string contentID, string siteID)

    I delete all archived and draft versions

    Parameters:
    contentID
    siteID

    deleteObjects

    public any deleteObjects([string contentID], [string siteID])

    Parameters:
    contentID
    siteID

    deleteObjectsHist

    public any deleteObjectsHist([string contentHistID], [string siteID])

    Parameters:
    contentHistID
    siteID

    deleteOldSourceMaps

    public any deleteOldSourceMaps([any contentid], [any siteid])

    Parameters:
    contentid
    siteid

    deleteRelatedItems

    public any deleteRelatedItems([String contentHistID])

    Parameters:
    contentHistID

    deleteTagHist

    public any deleteTagHist([string contentHistID], [string siteID])

    Parameters:
    contentHistID
    siteID

    deleteTags

    public any deleteTags([string contentID], [string siteID])

    Parameters:
    contentID
    siteID

    deleteVersionedObjects

    public any deleteVersionedObjects([any contenthistid], [any contentid], [any siteid])

    Parameters:
    contenthistid
    contentid
    siteid

    getCommentCount

    public any getCommentCount(String contentID='', string siteID='', boolean isEditor='false', boolean includeSpam='false', boolean includeDeleted='false')

    Parameters:
    contentID
    siteID
    isEditor
    includeSpam
    includeDeleted

    getCommentSubscribers

    public any getCommentSubscribers(String contentID='', string siteID='')

    Parameters:
    contentID
    siteID

    getExpireAssignments

    public any getExpireAssignments([any contenthistid])

    Parameters:
    contenthistid

    persistVersionedObjects

    public any persistVersionedObjects([any version1], [any version2], [any removeObjects], [any addObjects], [any $])

    Parameters:
    version1
    version2
    removeObjects
    addObjects
    $

    readActive

    public any readActive(string contentID, string siteID, boolean use404='false', any contentBean='', any sourceIterator='')

    Parameters:
    contentID
    siteID
    use404
    contentBean
    sourceIterator

    readActiveByFilename

    public any readActiveByFilename(string filename='', string siteID='', boolean use404='false', any contentBean='', any type='')

    Parameters:
    filename
    siteID
    use404
    contentBean
    type

    readActiveByRemoteID

    public any readActiveByRemoteID(string remoteID, string siteID, boolean use404='false', any contentBean='', any type='')

    Parameters:
    remoteID
    siteID
    use404
    contentBean
    type

    readActiveByTitle

    public any readActiveByTitle(string title, string siteID, boolean use404='false', any contentBean='', any type='')

    Parameters:
    title
    siteID
    use404
    contentBean
    type

    readActiveByURLTitle

    public any readActiveByURLTitle(string urltitle, string siteID, boolean use404='false', any contentBean='', any type='')

    Parameters:
    urltitle
    siteID
    use404
    contentBean
    type

    readComments

    public any readComments(String contentID='', string siteID='', boolean isEditor='false', string sortOrder='asc', string parentID='', boolean filterByParentID='true', boolean includeSpam='false', boolean includeDeleted='false', boolean includeKids='false')

    Parameters:
    contentID
    siteID
    isEditor
    sortOrder
    parentID
    filterByParentID
    includeSpam
    includeDeleted
    includeKids

    readContentObject

    public any readContentObject([any contenthistID], [any regionID], [any orderno])

    Parameters:
    contenthistID
    regionID
    orderno

    readRecentComments

    public any readRecentComments(string siteID='', numeric size='5', boolean approvedOnly='true', boolean includeSpam='false', boolean includeDeleted='false')

    Parameters:
    siteID
    size
    approvedOnly
    includeSpam
    includeDeleted

    readRegionObjects

    public any readRegionObjects([string contenthistid], [string siteID], [numeric regionID])

    Parameters:
    contenthistid
    siteID
    regionID

    readRelatedItems

    public any readRelatedItems(string contentHistID='', string siteid='', string relatedcontentsetid='')

    Parameters:
    contentHistID
    siteid
    relatedcontentsetid

    readVersion

    public any readVersion(string contentHistID, string siteID, boolean use404='false', any contentBean='', any sourceIterator='')

    Parameters:
    contentHistID
    siteID
    use404
    contentBean
    sourceIterator

    renderActiveClause

    public any renderActiveClause([any table='tcontent'], [any siteID])

    Parameters:
    table
    siteID

    setCustomTagGroups

    public any setCustomTagGroups([any contentBean])

    Parameters:
    contentBean

    updateContentObjectParams

    public any updateContentObjectParams([any contenthistID], [any regionID], [any orderno], [any params])

    Parameters:
    contenthistID
    regionID
    orderno
    params