mura.bean

Class beanORMVersioned

lucee.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:
  • versioned : true
  •  
  • bundleable : true
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any activeContent


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


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


    • access = public
    • fieldtype = one-to-one
    • returntype = any
    • fkcolumn = siteID
    • cfc = site
    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, getBundleable, getCache, getCacheKey, getCacheName, getCacheSiteID, getColumns, getCustomDatasource, getDbType, getDbUtility, getDiscriminatorColumn, getDiscriminatorValue, getFeed, getIterator, getLoadSQL, getManageSchema, getPrimaryKey, 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
    allowDelete, allowQueryParams, allowRead, allowSave, compare, exists, get, getAll, getAllValues, getEntityName, getErrors, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getListView, getOrderBy, getProperties, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, OnMissingMethod, parseDateArg, removeObject, setAddedObjectValues, setAllValues, setErrors, setlastUpdateBy, setValidations, setValue, synthArgs, translatePropKey, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getServiceFactory, getSession, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    activeContent

    property any activeContent

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

    content

    property any content

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

    site

    property any site

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

    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