Mura CMS 6.1

mura.content
Class contentDAO

railo-context.Component
        extended by mura.cfobject
            extended by mura.content.contentDAO

public class contentDAO
extends cfobject

Constructor Summary
init(any configBean, any settingsManager, any utility)
 
Method Summary
 void archiveActive(string contentID, string siteID)
 void create(any contentBean)
 void createContentAssignment([any contentBean], [String userID], [String type='draft'])
 void createObjects([struct data], [any contentBean], string oldContentHistID='')
 any createRelatedItems(string contentID='', string contentHistID='', struct data='[runtime expression]', string siteID='', string oldContentHistID='', [any bean])
 void createTags([any contentBean])
 void delete([any contentBean])
 void deleteCategoryHist([string contentHistID], [string siteID])
 void deleteContentAssignments([String id], [String siteID], [String type='draft'])
 void deleteDraftHistAll(string contentID, string siteID)
          I delete all draft versions
 void deleteExtendDataHist([string contentHistID])
 void deleteHist([string contentHistID], [string siteID])
 void deleteHistAll(string contentID, string siteID)
          I delete all archived and draft versions
 void deleteObjects([string contentID], [string siteID])
 void deleteObjectsHist([string contentHistID], [string siteID])
 any deleteOldSourceMaps([any contentid], [any siteid])
 void deleteRelatedItems([String contentHistID])
 void deleteTagHist([string contentHistID], [string siteID])
 void deleteTags([string contentID], [string siteID])
 any deleteVersionedObjects([any contenthistid], [any contentid], [any siteid])
 numeric getCommentCount(String contentID='', string siteID='', boolean isEditor='false', boolean includeSpam='false', boolean includeDeleted='false')
 query getCommentSubscribers(String contentID='', string siteID='')
 any getExpireAssignments([any contenthistid])
 any persistVersionedObjects([any version1], [any version2], [any removeObjects], [any addObjects])
 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='')
 query 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])
 query readRecentComments(string siteID='', numeric size='5', boolean approvedOnly='true', boolean includeSpam='false', boolean includeDeleted='false')
 query readRegionObjects([string contenthistid], [string siteID], [numeric regionID])
 query readRelatedItems(string contentHistID='', string siteid='')
 any readVersion(string contentHistID, string siteID, boolean use404='false', any contentBean='', any sourceIterator='')
 any renderActiveClause([any table='tcontent'], [any siteID])
 void setCustomTagGroups([any contentBean])
 any updateContentObjectParams([any contenthistID], [any regionID], [any orderno], [any params])
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Constructor Detail

init

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

Parameters:
configBean
settingsManager
utility
Method Detail

archiveActive

public void archiveActive(string contentID, string siteID)

Parameters:
contentID
siteID

create

public void create(any contentBean)

Parameters:
contentBean

createContentAssignment

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

Parameters:
contentBean
userID
type

createObjects

public void 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 void createTags([any contentBean])

Parameters:
contentBean

delete

public void delete([any contentBean])

Parameters:
contentBean

deleteCategoryHist

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

Parameters:
contentHistID
siteID

deleteContentAssignments

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

Parameters:
id
siteID
type

deleteDraftHistAll

public void deleteDraftHistAll(string contentID, string siteID)
I delete all draft versions

Parameters:
contentID
siteID

deleteExtendDataHist

public void deleteExtendDataHist([string contentHistID])

Parameters:
contentHistID

deleteHist

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

Parameters:
contentHistID
siteID

deleteHistAll

public void deleteHistAll(string contentID, string siteID)
I delete all archived and draft versions

Parameters:
contentID
siteID

deleteObjects

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

Parameters:
contentID
siteID

deleteObjectsHist

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

Parameters:
contentHistID
siteID

deleteOldSourceMaps

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

Parameters:
contentid
siteid

deleteRelatedItems

public void deleteRelatedItems([String contentHistID])

Parameters:
contentHistID

deleteTagHist

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

Parameters:
contentHistID
siteID

deleteTags

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

Parameters:
contentID
siteID

deleteVersionedObjects

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

Parameters:
contenthistid
contentid
siteid

getCommentCount

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

Parameters:
contentID
siteID
isEditor
includeSpam
includeDeleted

getCommentSubscribers

public query 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])

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 query 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 query readRecentComments(string siteID='', numeric size='5', boolean approvedOnly='true', boolean includeSpam='false', boolean includeDeleted='false')

Parameters:
siteID
size
approvedOnly
includeSpam
includeDeleted

readRegionObjects

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

Parameters:
contenthistid
siteID
regionID

readRelatedItems

public query readRelatedItems(string contentHistID='', string siteid='')

Parameters:
contentHistID
siteid

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 void setCustomTagGroups([any contentBean])

Parameters:
contentBean

updateContentObjectParams

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

Parameters:
contenthistID
regionID
orderno
params

Mura CMS 6.1