mura.bean

Class beanORMVersioned

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.bean.beanORMVersioned
Direct Known Subclasses:
contentFileMetaDataBean

This provides the ability to have entities that are versioned in sync with a tree level content node

Class Attributes:
  • bundleable : true
  •  
  • versioned : true
  •  
    Property Summary
    type property default serializable required
    any activeContent


    • cfc = content
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = contentid
    • access = public
    true false
    any content


    • cfc = content
    • fieldtype = many-to-one
    • returntype = any
    • comparable = false
    • fkcolumn = contenthistid
    • access = public
    true false
    any site


    • cfc = site
    • fieldtype = one-to-one
    • returntype = any
    • fkcolumn = siteID
    • access = public
    true false
    Method Summary
    private any addObject([any obj])
    any persistToVersion([any previousBean], [any newBean], [any $])
    any toBundle([any bundle], [any siteid], [any includeVersionHistory='false'], [any contenthistid])
     
    Methods inherited from class mura.bean.beanORM
    addQueryParam, checkSchema, clone, delete, fromBundle, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getLoadSQL, getLoadSQLColumnsAndTables, getManageSchema, getPrimaryKey, getPropertiesAsJSON, getQueryAttrs, getQueryParamType, getQueryService, getReadOnly, getSaveErrors, getSite, getUseCache, getUseTrash, hasColumn, hasCustomDatasource, init, loadBy, postCreate, postDelete, postInsert, postLoad, postUpdate, preCreate, preDelete, preInsert, preLoad, preUpdate, purgeCache, save, set, setDbUtility, setPropAsIDColumn, setSaveErrors, updateMappingsByIDLists, validate
     
    Methods inherited from class mura.bean.bean
    OnMissingMethod, addEventHandler, allowAccess, allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getAllValues, getBundleable, getDynamic, getEntityDisplayName, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getOrderBy, getProperties, getPublicAPI, getRegisteredEntity, getScaffold, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, on, parseDateArg, registerAsEntity, removeObject, setAddedObjectValues, setAllValues, setErrors, setValidations, setValue, setlastUpdateBy, synthArgs, transformEventName, translatePropKey, trigger, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEntity, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getServiceFactory, getSession, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class WEB-INF.cftags.component
    None

    Property Detail

    activeContent

    property any activeContent

    Attributes:
    cfc - content
    fieldtype - many-to-one
    returntype - any
    required - false
    fkcolumn - contentid
    access - public
    serializable - true

    content

    property any content

    Attributes:
    cfc - content
    fieldtype - many-to-one
    returntype - any
    required - false
    comparable - false
    fkcolumn - contenthistid
    access - public
    serializable - true

    site

    property any site

    Attributes:
    cfc - site
    fieldtype - one-to-one
    returntype - any
    required - false
    fkcolumn - siteID
    access - public
    serializable - true

    Method Detail

    addObject

    private any addObject([any obj])

    Overrides:
    addObject in class bean
    Parameters:
    obj

    persistToVersion

    public any persistToVersion([any previousBean], [any newBean], [any $])

    Parameters:
    previousBean
    newBean
    $

    toBundle

    public any toBundle([any bundle], [any siteid], [any includeVersionHistory='false'], [any contenthistid])

    Overrides:
    toBundle in class beanORM
    Parameters:
    bundle
    siteid
    includeVersionHistory
    contenthistid