mura.content.approval

Class approvalRequestBean

WEB-INF.cftags.component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.bean.beanORM
          extended by mura.content.approval.approvalRequestBean

This provides approval chain request functionality

Class Attributes:
  • table : tapprovalrequests
  •  
  • bundleable : true
  •  
  • entityname : approvalRequest
  •  
    Property Summary
    type property default serializable required
    any actions


    • cfc = approvalAction
    • fieldtype = one-to-many
    • returntype = any
    • cascade = delete
    • singularname = action
    • orderby = created asc
    • access = public
    true false
    any approvalChain


    • cfc = approvalChain
    • fieldtype = one-to-one
    • returntype = any
    • fkcolumn = chainID
    • access = public
    true false
    any content


    • cfc = content
    • fieldtype = one-to-one
    • returntype = any
    • fkcolumn = contentHistID
    • access = public
    true false
    mura.content.approval.timestamp created


    • returntype = any
    • access = public
    true false
    any group


    • cfc = user
    • fieldtype = many-to-one
    • loadkey = userid
    • returntype = any
    • fkcolumn = groupID
    • access = public
    true false
    any requestID


    • fieldtype = id
    • returntype = any
    • access = public
    true false
    any site


    • cfc = site
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = siteID
    • access = public
    true false
    String status


    • returntype = any
    • access = public
    Pending true false
    any user


    • cfc = user
    • fieldtype = many-to-one
    • returntype = any
    • fkcolumn = userID
    • access = public
    true false
    Constructor Summary
    init()
    Method Summary
    any approve([any comments])
    any cancel([any comments])
    any reject([any comments])
    any save()
    any sendActionMessage([any contentBean], [any actionType])
     
    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, loadBy, postCreate, postDelete, postInsert, postLoad, postUpdate, preCreate, preDelete, preInsert, preLoad, preUpdate, purgeCache, set, setDbUtility, setPropAsIDColumn, setSaveErrors, toBundle, updateMappingsByIDLists, validate
     
    Methods inherited from class mura.bean.bean
    OnMissingMethod, addEventHandler, addObject, 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

    Constructor Detail

    init

    public init()


    Property Detail

    actions

    property any actions

    Attributes:
    cfc - approvalAction
    fieldtype - one-to-many
    returntype - any
    required - false
    cascade - delete
    serializable - true
    singularname - action
    orderby - created asc
    access - public

    approvalChain

    property any approvalChain

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

    content

    property any content

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

    created

    property mura.content.approval.timestamp created

    Attributes:
    returntype - any
    required - false
    access - public
    serializable - true

    group

    property any group

    Attributes:
    cfc - user
    fieldtype - many-to-one
    loadkey - userid
    returntype - any
    required - false
    fkcolumn - groupID
    access - public
    serializable - true

    requestID

    property any requestID

    Attributes:
    fieldtype - id
    returntype - any
    required - false
    access - public
    serializable - true

    site

    property any site

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

    status

    property String status = [Pending]

    Attributes:
    returntype - any
    required - false
    access - public
    serializable - true

    user

    property any user

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

    Method Detail

    approve

    public any approve([any comments])

    Parameters:
    comments

    cancel

    public any cancel([any comments])

    Parameters:
    comments

    reject

    public any reject([any comments])

    Parameters:
    comments

    save

    public any save()

    Overrides:
    save in class beanORM

    sendActionMessage

    public any sendActionMessage([any contentBean], [any actionType])

    Parameters:
    contentBean
    actionType