Mura CMS 6.1

mura.content
Class contentUtility

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

public class contentUtility
extends cfobject

Constructor Summary
init(any contentDAO, any configBean, any permUtility, any settingsManager, any fileManager, any contentRenderer)
 
Method Summary
 void checkApprovalQue([any contentBean], [any parentBean])
 any copy([string siteid], [string contentID], [string parentID], boolean recurse='false', boolean appendTitle='true', [any path], boolean setNotOnDisplay='false')
 void deleteFile([any contentBean])
 boolean doesFileExist(string siteid, string filename, string contentid)
 boolean doesLoadKeyExist([any contentBean], [any field], [any fieldValue])
 any duplicateExternalCategories([any destinationSiteID], [any sourceSiteID], [any categoryID=''], [any parentID=''])
 any duplicateExternalContent([any contentID], [any destinationSiteID], [any sourceSiteID], [boolean includeChildren='false'], [boolean siteSynced='false'], [string feedIDList=''], [string contentIDList=''])
 void duplicateExternalFeed([any feedID], [any destinationSiteID], [any sourceSiteID])
 void duplicateExternalSortOrder([any destinationSiteID], [any sourceSiteID])
 void findAndReplace(string find='', string replace='', string siteID='')
 any formatFilename([any filename])
 query getExtendFileIDs([any contentExtendData], [any siteID])
 query getMailingLists(string siteid)
 query getNotify([array crumbData])
 query getRestrictGroups([string siteID])
 query getTemplates(string siteid, string type='')
 numeric isOnDisplay([numeric display], [string displaystart], [string displaystop], [string siteid], [string parentid], string parentType='Page')
 void move([string siteid], [string filename], [string oldfilename])
 void movelink([string siteid], [string filename], [string oldfilename])
 string removeUnicode([any str])
 void sendNotices([struct data], [any contentBean])
 void setApprovalQue([any contentBean], [string email])
 any setCategoriesFromExternalAssignments([any sourceContentBean], [any newContentBean])
 any setMailer(any mailer)
 void setUniqueFilename([any contentBean])
 void setUniqueTitle([any contentBean])
 void setUniqueURLTitle([any contentBean])
 any setVersionNumbers([any contentBean], [any versionType='minor'])
 any updateGlobalCommentsMaterializedPath([any siteID], any parentID='', any path='', any datasource='[runtime expression]')
 any updateGlobalMaterializedPath([any siteID], any parentID='00000000000000000000000000000000END', any path='', any datasource='[runtime expression]')
 void updateRelatedContent([any contentID], [any destinationSiteID], [any sourceSiteID])
 
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 contentDAO, any configBean, any permUtility, any settingsManager, any fileManager, any contentRenderer)

Parameters:
contentDAO
configBean
permUtility
settingsManager
fileManager
contentRenderer
Method Detail

checkApprovalQue

public void checkApprovalQue([any contentBean], [any parentBean])

Parameters:
contentBean
parentBean

copy

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

Parameters:
siteid
contentID
parentID
recurse
appendTitle
path
setNotOnDisplay

deleteFile

public void deleteFile([any contentBean])

Parameters:
contentBean

doesFileExist

public boolean doesFileExist(string siteid, string filename, string contentid)

Parameters:
siteid
filename
contentid

doesLoadKeyExist

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

Parameters:
contentBean
field
fieldValue

duplicateExternalCategories

public any duplicateExternalCategories([any destinationSiteID], [any sourceSiteID], [any categoryID=''], [any parentID=''])

Parameters:
destinationSiteID
sourceSiteID
categoryID
parentID

duplicateExternalContent

public any duplicateExternalContent([any contentID], [any destinationSiteID], [any sourceSiteID], [boolean includeChildren='false'], [boolean siteSynced='false'], [string feedIDList=''], [string contentIDList=''])

Parameters:
contentID
destinationSiteID
sourceSiteID
includeChildren
siteSynced
feedIDList
contentIDList

duplicateExternalFeed

public void duplicateExternalFeed([any feedID], [any destinationSiteID], [any sourceSiteID])

Parameters:
feedID
destinationSiteID
sourceSiteID

duplicateExternalSortOrder

public void duplicateExternalSortOrder([any destinationSiteID], [any sourceSiteID])

Parameters:
destinationSiteID
sourceSiteID

findAndReplace

public void findAndReplace(string find='', string replace='', string siteID='')

Parameters:
find
replace
siteID

formatFilename

public any formatFilename([any filename])

Parameters:
filename

getExtendFileIDs

public query getExtendFileIDs([any contentExtendData], [any siteID])

Parameters:
contentExtendData
siteID

getMailingLists

public query getMailingLists(string siteid)

Parameters:
siteid

getNotify

public query getNotify([array crumbData])

Parameters:
crumbData

getRestrictGroups

public query getRestrictGroups([string siteID])

Parameters:
siteID

getTemplates

public query getTemplates(string siteid, string type='')

Parameters:
siteid
type

isOnDisplay

public numeric isOnDisplay([numeric display], [string displaystart], [string displaystop], [string siteid], [string parentid], string parentType='Page')

Parameters:
display
displaystart
displaystop
siteid
parentid
parentType

move

public void move([string siteid], [string filename], [string oldfilename])

Parameters:
siteid
filename
oldfilename

movelink

public void movelink([string siteid], [string filename], [string oldfilename])

Parameters:
siteid
filename
oldfilename

removeUnicode

public string removeUnicode([any str])

Parameters:
str

sendNotices

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

Parameters:
data
contentBean

setApprovalQue

public void setApprovalQue([any contentBean], [string email])

Parameters:
contentBean
email

setCategoriesFromExternalAssignments

public any setCategoriesFromExternalAssignments([any sourceContentBean], [any newContentBean])

Parameters:
sourceContentBean
newContentBean

setMailer

public any setMailer(any mailer)

Parameters:
mailer

setUniqueFilename

public void setUniqueFilename([any contentBean])

Parameters:
contentBean

setUniqueTitle

public void setUniqueTitle([any contentBean])

Parameters:
contentBean

setUniqueURLTitle

public void setUniqueURLTitle([any contentBean])

Parameters:
contentBean

setVersionNumbers

public any setVersionNumbers([any contentBean], [any versionType='minor'])

Parameters:
contentBean
versionType

updateGlobalCommentsMaterializedPath

public any updateGlobalCommentsMaterializedPath([any siteID], any parentID='', any path='', any datasource='[runtime expression]')

Parameters:
siteID
parentID
path
datasource

updateGlobalMaterializedPath

public any updateGlobalMaterializedPath([any siteID], any parentID='00000000000000000000000000000000END', any path='', any datasource='[runtime expression]')

Parameters:
siteID
parentID
path
datasource

updateRelatedContent

public void updateRelatedContent([any contentID], [any destinationSiteID], [any sourceSiteID])

Parameters:
contentID
destinationSiteID
sourceSiteID

Mura CMS 6.1