mura.content.favorite

Class favoriteBean

lucee.Component
    extended by mura.cfobject
      extended by mura.bean.bean
        extended by mura.content.favorite.favoriteBean

This provides user favorites persistence

Class Attributes:
  • entityname : favorite
  •  
  • output : false
  •  
  • table : tusersfavorites
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    numeric columnNumber


    • access = public
    • returntype = any
    0 true yes
    date dateCreated


    • access = public
    • returntype = any
    true yes
    string favorite


    • access = public
    • returntype = any
    true yes
    string favoriteID


    • access = public
    • fieldtype = id
    • returntype = any
    true yes
    string favoriteName


    • access = public
    • returntype = any
    true yes
    numeric isNew


    • access = public
    • returntype = any
    1 true yes
    numeric maxRSSItems


    • access = public
    • returntype = any
    0 true yes
    numeric rowNumber


    • access = public
    • returntype = any
    0 true yes
    string siteID


    • access = public
    • returntype = any
    true yes
    string type


    • access = public
    • returntype = any
    true yes
    string userID


    • access = public
    • returntype = any
    true yes
    Constructor Summary
    init()
    Method Summary
    any delete()
    any getFavoriteID()
    any getFavoritesByUser([any userID], [any type])
    any getPrimaryKey()
    any getQuery()
    any getUsersByFavorite([any favorite], [any type])
    any load()
    any loadBy()
    any save()
    any setColumnNumber([any ColumnNumber])
    any setConfigBean([any configBean])
    any setDateCreated([any DateCreated])
    any setMaxRSSItems([any MaxRSSItems])
    any setRowNumber([any RowNumber])
     
    Methods inherited from class mura.bean.bean
    addObject, allowDelete, allowQueryParams, allowRead, allowSave, clone, compare, exists, get, getAll, getAllValues, getEntityName, getErrors, getFeed, getHasManyPropArray, getHasOnePropArray, getInstanceName, getIsHistorical, getListView, getOrderBy, getProperties, getSynthedFunctions, getTable, getValidations, getValue, has, hasErrors, hasProperty, hasTable, isComparable, OnMissingMethod, parseDateArg, removeObject, set, setAddedObjectValues, setAllValues, setErrors, setlastUpdateBy, setPropAsIDColumn, setValidations, setValue, synthArgs, translatePropKey, validate, valueExists
     
    Methods inherited from class mura.cfobject
    commitTracePoint, convertTimezone, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getHTTPAttrs, getHTTPService, getJavaTimezone, getPlugin, getPluginManager, getQueryAttrs, getQueryService, getServiceFactory, getSession, hasCustomDatasource, initTracePoint, inject, injectMethod, invokeMethod, mixin, removeValue
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    columnNumber

    property numeric columnNumber = [0]

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

    dateCreated

    property date dateCreated

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

    favorite

    property string favorite

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

    favoriteID

    property string favoriteID

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

    favoriteName

    property string favoriteName

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

    isNew

    property numeric isNew = [1]

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

    maxRSSItems

    property numeric maxRSSItems = [0]

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

    rowNumber

    property numeric rowNumber = [0]

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

    siteID

    property string siteID

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

    type

    property string type

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

    userID

    property string userID

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

    Method Detail

    delete

    public any delete()


    getFavoriteID

    public any getFavoriteID()


    getFavoritesByUser

    public any getFavoritesByUser([any userID], [any type])

    Parameters:
    userID
    type

    getPrimaryKey

    public any getPrimaryKey()

    Overrides:
    getPrimaryKey in class bean

    getQuery

    public any getQuery()


    getUsersByFavorite

    public any getUsersByFavorite([any favorite], [any type])

    Parameters:
    favorite
    type

    load

    public any load()


    loadBy

    public any loadBy()


    save

    public any save()


    setColumnNumber

    public any setColumnNumber([any ColumnNumber])

    Parameters:
    ColumnNumber

    setConfigBean

    public any setConfigBean([any configBean])

    Parameters:
    configBean

    setDateCreated

    public any setDateCreated([any DateCreated])

    Parameters:
    DateCreated

    setMaxRSSItems

    public any setMaxRSSItems([any MaxRSSItems])

    Parameters:
    MaxRSSItems

    setRowNumber

    public any setRowNumber([any RowNumber])

    Parameters:
    RowNumber