ContentBox Core API 1.6.0

contentbox.model.security
Class SecurityRule

WEB-INF.cftags.component
        extended by contentbox.model.security.SecurityRule

public class SecurityRule
extends WEB-INF.cftags.component

******************************************************************************* 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 SecurityRule entity

Property Summary
Type Property & Description Default Serializable Required
 any match


Attributes:
  • ormtype = string
  • notnull = false
  • length = 50
true false
 any order


Attributes:
  • ormtype = integer
  • notnull = true
  • dbdefault = 0
0 true false
 any permissions


Attributes:
  • ormtype = string
  • notnull = false
  • length = 500
true false
 any redirect


Attributes:
  • ormtype = string
  • notnull = true
  • length = 500
true false
 any roles


Attributes:
  • ormtype = string
  • notnull = false
  • length = 255
true false
 any ruleID


Attributes:
  • generator = native
  • fieldtype = id
  • setter = false
  • column = ruleID
true false
 any securelist


Attributes:
  • ormtype = string
  • notnull = true
  • length = 255
true false
 any useSSL


Attributes:
  • ormtype = boolean
  • notnull = false
  • dbdefault = 0
false true false
 any whitelist


Attributes:
  • ormtype = string
  • notnull = false
  • length = 255
true false
 
Constructor Summary
init()
 
Method Summary
 any GETMATCH()
          get:
 any GETORDER()
          get:
 any GETPERMISSIONS()
          get:
 any GETREDIRECT()
          get:
 any GETROLES()
          get:
 any GETRULEID()
          get:
 any GETSECURELIST()
          get:
 any GETUSESSL()
          get:
 any GETWHITELIST()
          get:
 SecurityRule SETORDER(any order)
          set:
 SecurityRule SETPERMISSIONS(any permissions)
          set:
 SecurityRule SETREDIRECT(any redirect)
          set:
 SecurityRule SETROLES(any roles)
          set:
 SecurityRule SETSECURELIST(any securelist)
          set:
 SecurityRule SETUSESSL(any useSSL)
          set:
 SecurityRule SETWHITELIST(any whitelist)
          set:
 any getMemento()
          Get memento representation
 boolean isLoaded()
          is loaded?
 SecurityRule setMatch(any match)
          Overriden setter
 array validate()
 
Methods inherited from class WEB-INF.cftags.component
None
 

Constructor Detail

init

public init()

Property Detail

match

any match

Attributes:
ormtype - string
serializable - true
required - false
notnull - false
length - 50
default -

order

any order

Attributes:
ormtype - integer
serializable - true
required - false
notnull - true
dbdefault - 0
default - 0

permissions

any permissions

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

redirect

any redirect

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

roles

any roles

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

ruleID

any ruleID

Attributes:
generator - native
fieldtype - id
serializable - true
required - false
default -
setter - false
column - ruleID

securelist

any securelist

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

useSSL

any useSSL

Attributes:
ormtype - boolean
serializable - true
required - false
notnull - false
dbdefault - 0
default - false

whitelist

any whitelist

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

Method Detail

GETMATCH

public any GETMATCH()
get:


GETORDER

public any GETORDER()
get:


GETPERMISSIONS

public any GETPERMISSIONS()
get:


GETREDIRECT

public any GETREDIRECT()
get:


GETROLES

public any GETROLES()
get:


GETRULEID

public any GETRULEID()
get:


GETSECURELIST

public any GETSECURELIST()
get:


GETUSESSL

public any GETUSESSL()
get:


GETWHITELIST

public any GETWHITELIST()
get:


SETORDER

public SecurityRule SETORDER(any order)
set:

Parameters:
order

SETPERMISSIONS

public SecurityRule SETPERMISSIONS(any permissions)
set:

Parameters:
permissions

SETREDIRECT

public SecurityRule SETREDIRECT(any redirect)
set:

Parameters:
redirect

SETROLES

public SecurityRule SETROLES(any roles)
set:

Parameters:
roles

SETSECURELIST

public SecurityRule SETSECURELIST(any securelist)
set:

Parameters:
securelist

SETUSESSL

public SecurityRule SETUSESSL(any useSSL)
set:

Parameters:
useSSL

SETWHITELIST

public SecurityRule SETWHITELIST(any whitelist)
set:

Parameters:
whitelist

getMemento

public any getMemento()
Get memento representation


isLoaded

public boolean isLoaded()
is loaded?


setMatch

public SecurityRule setMatch(any match)
Overriden setter

Parameters:
match

validate

public array validate()


ContentBox Core API 1.6.0