|
ContentBox Core API 1.6.0 | ||||
FRAMES |
WEB-INF.cftags.componentcontentbox.model.security.Permission
public class Permission
******************************************************************************* ContentBox - A Modular Content Platform Copyright 2012 by Luis Majano and Ortus Solutions, Corp www.gocontentbox.org | www.luismajano.com | 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 & Description | Default | Serializable | Required |
any
|
description
Attributes:
|
|
true
|
false
|
any
|
numberOfRoles
Attributes:
|
|
true
|
false
|
any
|
permission
Attributes:
|
|
true
|
false
|
any
|
permissionID
Attributes:
|
|
true
|
false
|
Constructor Summary | |
---|---|
init()
|
Method Summary | |
---|---|
any |
GETDESCRIPTION()
get: |
any |
GETNUMBEROFROLES()
get: |
any |
GETPERMISSION()
get: |
any |
GETPERMISSIONID()
get: |
Permission |
SETDESCRIPTION(any description)
set: |
Permission |
SETNUMBEROFROLES(any numberOfRoles)
set: |
Permission |
SETPERMISSION(any permission)
set: |
any |
getMemento()
Get memento representation |
boolean |
isLoaded()
is loaded? |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init()
Property Detail |
---|
any description
ormtype
- stringserializable
- truerequired
- falsenotnull
- falselength
- 500default
- any numberOfRoles
formula
- select count(*) from cb_rolePermissions as rolePermissions where rolePermissions.FK_permissionID=permissionIDrequired
- falseserializable
- truedefault
- any permission
unique
- trueormtype
- stringserializable
- truerequired
- falsenotnull
- truelength
- 255default
- any permissionID
generator
- nativefieldtype
- idserializable
- truerequired
- falsedefault
- setter
- falseMethod Detail |
---|
public any GETDESCRIPTION()
public any GETNUMBEROFROLES()
public any GETPERMISSION()
public any GETPERMISSIONID()
public Permission SETDESCRIPTION(any description)
description
public Permission SETNUMBEROFROLES(any numberOfRoles)
numberOfRoles
public Permission SETPERMISSION(any permission)
permission
public any getMemento()
public boolean isLoaded()
|
ContentBox Core API 1.6.0 | ||||
FRAMES |