contentbox.model.security

Class Permission

railo-context.Component
        extended by contentbox.model.security.Permission
Class Attributes:
  • entityname : cbPermission
  •  
  • cacheuse : read-write
  •  
  • table : cb_permission
  •  
  • synchronized : false
  •  
  • cachename : cbPermission
  •  
  • accessors : false
  •  
  • persistent : true
  •  

    ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com Apache License, Version 2.0 Copyright Since [2012] [Luis Majano and Ortus Solutions,Corp] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. A cool Permission entity

    Property Summary
    type property default serializable required
    any description


    • notnull = false
    • ormtype = string
    • length = 500
    true false
    any numberOfRoles


    • formula = select count(*) from cb_rolePermissions as rolePermissions where rolePermissions.FK_permissionID=permissionID
    true false
    any permission


    • unique = true
    • notnull = true
    • ormtype = string
    • length = 255
    true false
    any permissionID


    • fieldtype = id
    • generator = native
    • setter = no
    true false
    Constructor Summary
    init()
    Method Summary
    string getDescription()
    any getMemento()
         Get memento representation.
    string getNumberOfRoles()
    string getPermission()
    string getPermissionID()
    boolean isLoaded()
         is loaded?.
    any setDescription(any description)
    any setNumberOfRoles(any numberOfRoles)
    any setPermission(any permission)
     
    Methods inherited from class railo-context.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    description

    property any description

    Attributes:
    required - false
    notnull - false
    ormtype - string
    length - 500
    serializable - true

    numberOfRoles

    property any numberOfRoles

    Attributes:
    required - false
    formula - select count(*) from cb_rolePermissions as rolePermissions where rolePermissions.FK_permissionID=permissionID
    serializable - true

    permission

    property any permission

    Attributes:
    unique - true
    required - false
    notnull - true
    ormtype - string
    length - 255
    serializable - true

    permissionID

    property any permissionID

    Attributes:
    required - false
    fieldtype - id
    generator - native
    serializable - true
    setter - no

    Method Detail

    getDescription

    public string getDescription()


    getMemento

    public any getMemento()

    Get memento representation


    getNumberOfRoles

    public string getNumberOfRoles()


    getPermission

    public string getPermission()


    getPermissionID

    public string getPermissionID()


    isLoaded

    public boolean isLoaded()

    is loaded?


    setDescription

    public any setDescription(any description)

    Parameters:
    description

    setNumberOfRoles

    public any setNumberOfRoles(any numberOfRoles)

    Parameters:
    numberOfRoles

    setPermission

    public any setPermission(any permission)

    Parameters:
    permission