Mura CMS 6.1

mura
Class factoryMetadata

railo-context.Component
        extended by mura.cfobject
            extended by mura.Factory
                extended by mura.factoryMetadata

public class factoryMetadata
extends Factory

Constructor Summary
init(boolean isSoft='true')
          Constructor
 
Method Summary
private void cleanUp()
 any get(string key)
 any getAllMetadata()
 numeric getDefaultCacheTimeout()
 any getObjectMetadata(string key)
 any getObjectMetadataProperty(string key, string prop)
 boolean has(string key)
 any hasObjectMetadata(string key)
private boolean isSoftReference(any obj)
 void purge(string key)
 void purgeAll()
 void purgeByMetadataParamValues()
 void purgeByTimeout(string key)
 void set(string key, any obj, [boolean isSoft='[runtime expression]'], [numeric timeout='[runtime expression]'], [string timeoutBy='m'])
 void setDefaultCacheTimeout(numeric minutes)
 void setObjectMetadata(string key, any meta)
 void setObjectMetadataProperty(string key, string prop, any val)
 
Methods inherited from class mura.Factory
getAll, getCollection, getHashKey, getJavaLoader, getParent, hasParent, keyExists, setCollection, setJavaLoader, setParent, size
 
Methods inherited from class mura.cfobject
commitTracePoint, deleteMethod, getAsJSON, getAsStruct, getBean, getConfigBean, getCurrentUser, getEventManager, getPlugin, getPluginManager, getServiceFactory, getValue, initTracePoint, injectMethod, invokeMethod, removeValue, setValue, valueExists
 
Methods inherited from class railo-context.Component
 

Constructor Detail

init

public init(boolean isSoft='true')
Constructor

Parameters:
isSoft
Method Detail

cleanUp

private void cleanUp()


get

public any get(string key)

Overrides:
get in class Factory
Parameters:
key

getAllMetadata

public any getAllMetadata()


getDefaultCacheTimeout

public numeric getDefaultCacheTimeout()


getObjectMetadata

public any getObjectMetadata(string key)

Parameters:
key

getObjectMetadataProperty

public any getObjectMetadataProperty(string key, string prop)

Parameters:
key
prop

has

public boolean has(string key)

Overrides:
has in class Factory
Parameters:
key

hasObjectMetadata

public any hasObjectMetadata(string key)

Parameters:
key

isSoftReference

private boolean isSoftReference(any obj)

Overrides:
isSoftReference in class Factory
Parameters:
obj

purge

public void purge(string key)

Overrides:
purge in class Factory
Parameters:
key

purgeAll

public void purgeAll()

Overrides:
purgeAll in class Factory

purgeByMetadataParamValues

public void purgeByMetadataParamValues()


purgeByTimeout

public void purgeByTimeout(string key)

Parameters:
key

set

public void set(string key, any obj, [boolean isSoft='[runtime expression]'], [numeric timeout='[runtime expression]'], [string timeoutBy='m'])

Overrides:
set in class Factory
Parameters:
key
obj
isSoft
timeout
timeoutBy

setDefaultCacheTimeout

public void setDefaultCacheTimeout(numeric minutes)

Parameters:
minutes

setObjectMetadata

public void setObjectMetadata(string key, any meta)

Parameters:
key
meta

setObjectMetadataProperty

public void setObjectMetadataProperty(string key, string prop, any val)

Parameters:
key
prop
val

Mura CMS 6.1