ERXProperties.EncryptedOperator Class Reference

Inherits er::extensions::foundation::ERXProperties::Operator.

Collaboration diagram for ERXProperties.EncryptedOperator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

NSDictionary< String, Stringcompute (String key, String value, String parameters)

Static Public Member Functions

static void register ()

Static Public Attributes

static final String Key = "encrypted"


Detailed Description

Encrypted operator supports decrypting values using the default crypter. To register this operator, add the following static block to your Application class:

static { ERXProperties.setOperatorForKey(new ERXProperties.EncryptedOperator(), ERXProperties.EncryptedOperator.Key); }

Call er.extensions.ERXProperties.EncryptedOperator.register() in an Application static block to register this operator.

Author:
mschrag

Member Function Documentation

NSDictionary<String, String> compute ( String  key,
String  value,
String  parameters 
)

Performs some computation on the key, value, and parameters and returns a dictionary of new properties. If this method returns null, the original key and value will be used. If any other dictionary is returned, the properties in the dictionary will be copied into the destination properties.

Parameters:
key the key ("er.extensions.akey" in "er.extensions.akey.@someOperatorKey.aparameter=somevalue")
value ("somevalue" in "er.extensions.akey.@someOperatorKey.aparameter=somevalue")
parameters ("aparameter" in "er.extensions.akey.@someOperatorKey.aparameter=somevalue")
Returns:
a dictionary of properties (or null to use the original key and value)

Implements ERXProperties.Operator.

static void register (  )  [static]


Member Data Documentation

final String Key = "encrypted" [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:13 2012 for Project Wonder by  doxygen 1.5.8