Mura CMS 6.1

mura.content
Class contentManager

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

public class contentManager
extends cfobject

Constructor Summary
init(any configBean, any contentGateway, any contentDAO, any contentUtility, any reminderManager, any settingsManager, any utility, any categoryManager, any fileManager, any pluginManager, any trashManager, any changesetManager, any clusterManager)
 
Method Summary
 any add([any data])
 any approveComment([string commentID], any contentRenderer='', any script='', any subject='', any notify='true')
 any commentUnsubscribe([string contentID], [string email], [string siteID])
 any copy([string siteID], [string contentID], [string parentID], boolean recurse='false', boolean appendTitle='true', boolean setNotOnDisplay='false')
 void delete([struct data])
          Deletes a version from version history
 string deleteall([struct data])
          Deletes everything
 any deleteAllWithNestedContent([struct data])
 any deleteComment([string commentID])
 void deletehistall([struct data])
          Clears an item's version history
 boolean doesLoadKeyExist([any contentBean], [any field], [any fieldValue])
 any exportHtmlSite(string siteid='default', [any exportDir=''])
 any formatRegionObjectsString([any rs])
 any getActiveByRemoteID(string remoteID, string siteID, boolean use404='false', any contentBean='', any type='')
 any getActiveByTitle(string title, string siteID, boolean use404='false', any contentBean='', any type='')
 any getActiveByURLTitle(string URLTitle, string siteID, boolean use404='false', any contentBean='', any type='')
 any getActiveContent(string contentID, string siteID, boolean use404='false', any contentBean='', any sourceIterator='')
 any getActiveContentByFilename(string filename, string siteID, boolean use404='false', any contentBean='', any type='')
 query getApprovalsIterator([string siteid])
 query getApprovalsQuery([string siteid])
 query getArchiveHist([string contentid], [string siteid])
 any getBean([any beanName='content'])
 query getCategoriesByHistID(string contentHistID)
 query getCategoriesByParentID(string siteID, string parentID)
 query getCategorySummary(string siteID)
 any getCommentBean()
 numeric getCommentCount(String contentID='', string siteID='')
 query getComponents([string moduleid], [string siteid])
 query getComponentType([string siteid], [string type])
 any getContentVersion(string contentHistID, string siteID, boolean use404='false', any contentbean='', any sourceIterator='')
 array getCrumbList([string contentid], [string siteid], boolean setInheritance='false', any path='', any sort='asc')
 query getDownloadselect([string contentid], [string siteid])
 query getDraftHist([string contentid], [string siteid])
 query getDraftList([string siteid])
 struct getDraftPromptData(string contentid, string siteid)
 query getExpiringContent(string siteid, string userid)
 any getHasDrafts([string contentid], [string siteid])
 query getHist([string contentid], [string siteid])
 any getImageURL(any bean, any size='undefined', [any direct='true'], [any complete='false'], [any height=''], [any width=''])
 query getItemCount([string contentid], [string siteid])
 any getIterator()
 any getKidsCount(string parentid, string siteid, any liveOnly='true', any menutype='default')
 any getKidsIterator(string moduleid='00000000000000000000000000000000000', [string siteid], [string parentid], [string type='default'], [date today='[runtime expression]'], [numeric size='100'], [string keywords=''], [numeric hasFeatures='0'], [string sortBy='orderno'], [string sortDirection='asc'], string categoryID='', string relatedID='', string tag='', boolean aggregation='false', boolean applyPermFilter='false', string taggroup='')
 query getKidsQuery(string moduleid='00000000000000000000000000000000000', [string siteid], [string parentid], [string type='default'], [date today='[runtime expression]'], [numeric size='100'], [string keywords=''], [numeric hasFeatures='0'], [string sortBy='orderno'], [string sortDirection='asc'], string categoryID='', string relatedID='', string tag='', boolean aggregation='false', boolean applyPermFilter='false', string taggroup='')
 query getList([struct args])
 any getMyApprovalsCount([any siteid])
 any getMyDraftsCount([any siteid], [any startdate])
 any getMyExpiresCount(string siteid)
 any getMyLockedFilesCount(string siteid)
 any getMySubmissionsCount([any siteid])
 query getNest([string parentid], [string siteid], string sortBy='orderno', string sortDirection='asc')
 query getPageCount([string siteid])
 query getPendingChangesets([string contentid], [string siteid])
 query getPrivateSearch([string siteid], [string keywords], any tag='', any sectionID='', string searchType='default')
 any getPrivateSearchIterator([string siteid], [string keywords], any tag='', any sectionID='', string searchType='default')
 query getPublicSearch([string siteid], [string keywords], any tag='', any sectionID='', any categoryID='')
 any getPublicSearchIterator([string siteid], [string keywords], any tag='', any sectionID='', any categoryID='')
 any getRecentCommentsIterator(string siteID='', numeric size='5', boolean approvedOnly='true')
 query getRecentCommentsQuery(string siteID='', numeric size='5', boolean approvedOnly='true')
 any getRegionObjects([string contenthistid], [string siteid], [string regionID])
 query getRelatedContent([string siteID], [string contentHistID], boolean liveOnly='false', date today='[runtime expression]', [string sortBy='orderno'], [string sortDirection='asc'], [string relatedContentSetID=''], [string name=''], [boolean reverse='false'], [string reverseContentID])
 any getRelatedContentIterator([string siteID], [string contentHistID], boolean liveOnly='false', date today='[runtime expression]', [string sortBy='orderno'], [string sortDirection='asc'], [string relatedContentSetID=''], [string name=''], [boolean reverse='false'], [string reverseContentID])
 void getReportData([struct data], [any contentBean])
 query getSections([string siteid], string type='')
 any getStatsBean()
 query getSubmissionsIterator([string siteid])
 query getSubmissionsQuery([string siteid])
 query getSystemObjects([string siteid])
 any getTabList()
 any getURL(any bean, any querystring='', boolean complete='false', string showMeta='0')
 any markCommentAsSpam([string commentID])
 void multiFileUpload([struct data])
 any purgeContentCache([any contentID], [any siteID], [any contentBean], [any broadcast='true'])
 any purgeContentCacheKey([any cache], [any key], [any purgeTypes='true'])
 any purgeContentDescendentsCache([any contentID], [any siteID], [any contentBean], [any broadcast='true'])
 any read(any contentID='', any contentHistID='', [any filename], any remoteID='', any title='', any urltitle='', any siteID='', any use404='false', any contentBean='', any type='', any sourceIterator='')
          Takes (contentid | contenthistid | filename | remoteid | title), siteid, use404
 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])
 any save([any data])
 any saveComment([struct data], [any contentRenderer=''], any script='', any subject='', any notify='true')
 void saveCopyInfo([string siteID], [string contentID], [string copyAll])
 void sendReminders(any theTime='[runtime expression]')
 void setCommentStat([string contentID], [string siteID])
 void setMaterializedPath([any contentBean])
 void setReminder([string contentid], [string siteid], [string email], [string displayStart], [numeric remindInterval])
 void setRequestRegionObjects([string contenthistid], [string siteid])
 any trimArchiveHistory([any contentID], [any siteID], [any limit='[runtime expression]'])
 any unapproveComment([string commentID])
 any undeleteComment([string commentID])
 any unmarkCommentAsSpam([string commentID])
 any updateContentObjectParams([any contenthistID], [any regionID], [any orderno], [any params])
 void updateMaterializedPath([any newPath], [any currentPath], [any siteID])
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, 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 contentGateway, any contentDAO, any contentUtility, any reminderManager, any settingsManager, any utility, any categoryManager, any fileManager, any pluginManager, any trashManager, any changesetManager, any clusterManager)

Parameters:
configBean
contentGateway
contentDAO
contentUtility
reminderManager
settingsManager
utility
categoryManager
fileManager
pluginManager
trashManager
changesetManager
clusterManager
Method Detail

add

public any add([any data])

Parameters:
data

approveComment

public any approveComment([string commentID], any contentRenderer='', any script='', any subject='', any notify='true')

Parameters:
commentID
contentRenderer - deprecated
script
subject
notify

commentUnsubscribe

public any commentUnsubscribe([string contentID], [string email], [string siteID])

Parameters:
contentID
email
siteID

copy

public any copy([string siteID], [string contentID], [string parentID], boolean recurse='false', boolean appendTitle='true', boolean setNotOnDisplay='false')

Parameters:
siteID
contentID
parentID
recurse
appendTitle
setNotOnDisplay

delete

public void delete([struct data])
Deletes a version from version history

Parameters:
data

deleteall

public string deleteall([struct data])
Deletes everything

Parameters:
data

deleteAllWithNestedContent

public any deleteAllWithNestedContent([struct data])

Parameters:
data

deleteComment

public any deleteComment([string commentID])

Parameters:
commentID

deletehistall

public void deletehistall([struct data])
Clears an item's version history

Parameters:
data

doesLoadKeyExist

public boolean doesLoadKeyExist([any contentBean], [any field], [any fieldValue])

Parameters:
contentBean
field
fieldValue

exportHtmlSite

public any exportHtmlSite(string siteid='default', [any exportDir=''])

Parameters:
siteid
exportDir

formatRegionObjectsString

public any formatRegionObjectsString([any rs])

Parameters:
rs

getActiveByRemoteID

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

Parameters:
remoteID
siteID
use404
contentBean
type

getActiveByTitle

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

Parameters:
title
siteID
use404
contentBean
type

getActiveByURLTitle

public any getActiveByURLTitle(string URLTitle, string siteID, boolean use404='false', any contentBean='', any type='')

Parameters:
URLTitle
siteID
use404
contentBean
type

getActiveContent

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

Parameters:
contentID
siteID
use404
contentBean
sourceIterator

getActiveContentByFilename

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

Parameters:
filename
siteID
use404
contentBean
type

getApprovalsIterator

public query getApprovalsIterator([string siteid])

Parameters:
siteid

getApprovalsQuery

public query getApprovalsQuery([string siteid])

Parameters:
siteid

getArchiveHist

public query getArchiveHist([string contentid], [string siteid])

Parameters:
contentid
siteid

getBean

public any getBean([any beanName='content'])

Overrides:
getBean in class cfobject
Parameters:
beanName

getCategoriesByHistID

public query getCategoriesByHistID(string contentHistID)

Parameters:
contentHistID

getCategoriesByParentID

public query getCategoriesByParentID(string siteID, string parentID)

Parameters:
siteID
parentID

getCategorySummary

public query getCategorySummary(string siteID)

Parameters:
siteID

getCommentBean

public any getCommentBean()


getCommentCount

public numeric getCommentCount(String contentID='', string siteID='')

Parameters:
contentID
siteID

getComponents

public query getComponents([string moduleid], [string siteid])

Parameters:
moduleid
siteid

getComponentType

public query getComponentType([string siteid], [string type])

Parameters:
siteid
type

getContentVersion

public any getContentVersion(string contentHistID, string siteID, boolean use404='false', any contentbean='', any sourceIterator='')

Parameters:
contentHistID
siteID
use404
contentbean
sourceIterator

getCrumbList

public array getCrumbList([string contentid], [string siteid], boolean setInheritance='false', any path='', any sort='asc')

Parameters:
contentid
siteid
setInheritance
path
sort

getDownloadselect

public query getDownloadselect([string contentid], [string siteid])

Parameters:
contentid
siteid

getDraftHist

public query getDraftHist([string contentid], [string siteid])

Parameters:
contentid
siteid

getDraftList

public query getDraftList([string siteid])

Parameters:
siteid

getDraftPromptData

public struct getDraftPromptData(string contentid, string siteid)

Parameters:
contentid
siteid

getExpiringContent

public query getExpiringContent(string siteid, string userid)

Parameters:
siteid
userid

getHasDrafts

public any getHasDrafts([string contentid], [string siteid])

Parameters:
contentid
siteid

getHist

public query getHist([string contentid], [string siteid])

Parameters:
contentid
siteid

getImageURL

public any getImageURL(any bean, any size='undefined', [any direct='true'], [any complete='false'], [any height=''], [any width=''])

Parameters:
bean
size
direct
complete
height
width

getItemCount

public query getItemCount([string contentid], [string siteid])

Parameters:
contentid
siteid

getIterator

public any getIterator()


getKidsCount

public any getKidsCount(string parentid, string siteid, any liveOnly='true', any menutype='default')

Parameters:
parentid
siteid
liveOnly
menutype

getKidsIterator

public any getKidsIterator(string moduleid='00000000000000000000000000000000000', [string siteid], [string parentid], [string type='default'], [date today='[runtime expression]'], [numeric size='100'], [string keywords=''], [numeric hasFeatures='0'], [string sortBy='orderno'], [string sortDirection='asc'], string categoryID='', string relatedID='', string tag='', boolean aggregation='false', boolean applyPermFilter='false', string taggroup='')

Parameters:
moduleid
siteid
parentid
type
today
size
keywords
hasFeatures
sortBy
sortDirection
categoryID
relatedID
tag
aggregation
applyPermFilter
taggroup

getKidsQuery

public query getKidsQuery(string moduleid='00000000000000000000000000000000000', [string siteid], [string parentid], [string type='default'], [date today='[runtime expression]'], [numeric size='100'], [string keywords=''], [numeric hasFeatures='0'], [string sortBy='orderno'], [string sortDirection='asc'], string categoryID='', string relatedID='', string tag='', boolean aggregation='false', boolean applyPermFilter='false', string taggroup='')

Parameters:
moduleid
siteid
parentid
type
today
size
keywords
hasFeatures
sortBy
sortDirection
categoryID
relatedID
tag
aggregation
applyPermFilter
taggroup

getList

public query getList([struct args])

Parameters:
args

getMyApprovalsCount

public any getMyApprovalsCount([any siteid])

Parameters:
siteid

getMyDraftsCount

public any getMyDraftsCount([any siteid], [any startdate])

Parameters:
siteid
startdate

getMyExpiresCount

public any getMyExpiresCount(string siteid)

Parameters:
siteid

getMyLockedFilesCount

public any getMyLockedFilesCount(string siteid)

Parameters:
siteid

getMySubmissionsCount

public any getMySubmissionsCount([any siteid])

Parameters:
siteid

getNest

public query getNest([string parentid], [string siteid], string sortBy='orderno', string sortDirection='asc')

Parameters:
parentid
siteid
sortBy
sortDirection

getPageCount

public query getPageCount([string siteid])

Parameters:
siteid

getPendingChangesets

public query getPendingChangesets([string contentid], [string siteid])

Parameters:
contentid
siteid

getPrivateSearch

public query getPrivateSearch([string siteid], [string keywords], any tag='', any sectionID='', string searchType='default')

Parameters:
siteid
keywords
tag
sectionID
searchType - Can be default or image

getPrivateSearchIterator

public any getPrivateSearchIterator([string siteid], [string keywords], any tag='', any sectionID='', string searchType='default')

Parameters:
siteid
keywords
tag
sectionID
searchType - Can be default or image

getPublicSearch

public query getPublicSearch([string siteid], [string keywords], any tag='', any sectionID='', any categoryID='')

Parameters:
siteid
keywords
tag
sectionID
categoryID

getPublicSearchIterator

public any getPublicSearchIterator([string siteid], [string keywords], any tag='', any sectionID='', any categoryID='')

Parameters:
siteid
keywords
tag
sectionID
categoryID

getRecentCommentsIterator

public any getRecentCommentsIterator(string siteID='', numeric size='5', boolean approvedOnly='true')

Parameters:
siteID
size
approvedOnly

getRecentCommentsQuery

public query getRecentCommentsQuery(string siteID='', numeric size='5', boolean approvedOnly='true')

Parameters:
siteID
size
approvedOnly

getRegionObjects

public any getRegionObjects([string contenthistid], [string siteid], [string regionID])

Parameters:
contenthistid
siteid
regionID

getRelatedContent

public query getRelatedContent([string siteID], [string contentHistID], boolean liveOnly='false', date today='[runtime expression]', [string sortBy='orderno'], [string sortDirection='asc'], [string relatedContentSetID=''], [string name=''], [boolean reverse='false'], [string reverseContentID])

Parameters:
siteID
contentHistID
liveOnly
today
sortBy
sortDirection
relatedContentSetID
name
reverse
reverseContentID

getRelatedContentIterator

public any getRelatedContentIterator([string siteID], [string contentHistID], boolean liveOnly='false', date today='[runtime expression]', [string sortBy='orderno'], [string sortDirection='asc'], [string relatedContentSetID=''], [string name=''], [boolean reverse='false'], [string reverseContentID])

Parameters:
siteID
contentHistID
liveOnly
today
sortBy
sortDirection
relatedContentSetID
name
reverse
reverseContentID

getReportData

public void getReportData([struct data], [any contentBean])

Parameters:
data
contentBean

getSections

public query getSections([string siteid], string type='')

Parameters:
siteid
type

getStatsBean

public any getStatsBean()


getSubmissionsIterator

public query getSubmissionsIterator([string siteid])

Parameters:
siteid

getSubmissionsQuery

public query getSubmissionsQuery([string siteid])

Parameters:
siteid

getSystemObjects

public query getSystemObjects([string siteid])

Parameters:
siteid

getTabList

public any getTabList()


getURL

public any getURL(any bean, any querystring='', boolean complete='false', string showMeta='0')

Parameters:
bean
querystring
complete
showMeta

markCommentAsSpam

public any markCommentAsSpam([string commentID])

Parameters:
commentID

multiFileUpload

public void multiFileUpload([struct data])

Parameters:
data

purgeContentCache

public any purgeContentCache([any contentID], [any siteID], [any contentBean], [any broadcast='true'])

Parameters:
contentID
siteID
contentBean
broadcast

purgeContentCacheKey

public any purgeContentCacheKey([any cache], [any key], [any purgeTypes='true'])

Parameters:
cache
key
purgeTypes

purgeContentDescendentsCache

public any purgeContentDescendentsCache([any contentID], [any siteID], [any contentBean], [any broadcast='true'])

Parameters:
contentID
siteID
contentBean
broadcast

read

public any read(any contentID='', any contentHistID='', [any filename], any remoteID='', any title='', any urltitle='', any siteID='', any use404='false', any contentBean='', any type='', any sourceIterator='')
Takes (contentid | contenthistid | filename | remoteid | title), siteid, use404

Parameters:
contentID
contentHistID
filename
remoteID
title
urltitle
siteID
use404
contentBean
type
sourceIterator

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

save

public any save([any data])

Parameters:
data

saveComment

public any saveComment([struct data], [any contentRenderer=''], any script='', any subject='', any notify='true')

Parameters:
data
contentRenderer - deprecated
script
subject
notify

saveCopyInfo

public void saveCopyInfo([string siteID], [string contentID], [string copyAll])

Parameters:
siteID
contentID
copyAll

sendReminders

public void sendReminders(any theTime='[runtime expression]')

Parameters:
theTime

setCommentStat

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

Parameters:
contentID
siteID

setMaterializedPath

public void setMaterializedPath([any contentBean])

Parameters:
contentBean

setReminder

public void setReminder([string contentid], [string siteid], [string email], [string displayStart], [numeric remindInterval])

Parameters:
contentid
siteid
email
displayStart
remindInterval

setRequestRegionObjects

public void setRequestRegionObjects([string contenthistid], [string siteid])

Parameters:
contenthistid
siteid

trimArchiveHistory

public any trimArchiveHistory([any contentID], [any siteID], [any limit='[runtime expression]'])

Parameters:
contentID
siteID
limit

unapproveComment

public any unapproveComment([string commentID])

Parameters:
commentID

undeleteComment

public any undeleteComment([string commentID])

Parameters:
commentID

unmarkCommentAsSpam

public any unmarkCommentAsSpam([string commentID])

Parameters:
commentID

updateContentObjectParams

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

Parameters:
contenthistID
regionID
orderno
params

updateMaterializedPath

public void updateMaterializedPath([any newPath], [any currentPath], [any siteID])

Parameters:
newPath
currentPath
siteID

Mura CMS 6.1