lucee.Componentcborm.models.BaseORMService
cborm.models.VirtualEntityService
contentbox.models.security.SecurityRuleService
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Security rules manager
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
dateUtil
|
true
|
false
|
|
any
|
populator
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
array
|
getAllForExport()
Get all data prepared for export. |
numeric
|
getMaxOrder()
Get the maximum used order. |
numeric
|
getNextMaxOrder()
Get the next maximum used order. |
query
|
getSecurityRules()
Get all rules in firing order. |
string
|
importFromData(any importData, [boolean override='false'], [any importLog])
Import data from an array of structures or a single structure of data. |
string
|
importFromFile(any importFile, [boolean override='false'])
Import data from a ContentBox JSON file. |
any
|
resetRules()
Reset rules to factory shipping standards, this will remove all rules also. |
any
|
saveRule(any entity, [boolean forceInsert='false'], [boolean flush='false'], [boolean transactional='[runtime expression]'])
Save rule. |
Methods inherited from class cborm.models.VirtualEntityService |
---|
autoCast, convertIdValueToJavaType, convertValueToJavaType, count, countWhere, deleteAll, deleteByID, deleteByQuery, deleteWhere, evictCollection, executeQuery, exists, findAllWhere, findWhere, get, getAll, getEntityName, getKey, getOrFail, getPropertyNames, getTableName, idCast, list, new, newCriteria, onMissingMethod, setEntityName |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- DateUtil@contentboxserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- wirebox:populatorserializable
- trueMethod Detail |
---|
Get all data prepared for export
Get the maximum used order
Get the next maximum used order
Get all rules in firing order
Import data from an array of structures or a single structure of data
importData
- A struct or array of data to importoverride
- Override content if found in the database, defaults to falseimportLog
- The import log bufferImport data from a ContentBox JSON file. Returns the import log
importFile
- The json file to importoverride
- Override content if found in the database, defaults to falseReset rules to factory shipping standards, this will remove all rules also
Save rule
entity
forceInsert
flush
transactional