|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| CommitProcessor | If the processor defined for the field is of this type, then the CommitProcessor.commit(org.mmbase.bridge.Node, org.mmbase.bridge.Field) method will be called
on commit of the Node. |
| ParameterizedCommitProcessorFactory | A parameterized commitprocessor factory creates CommitProcessors, using Parameters. |
| ParameterizedProcessorFactory | A parameterized commitprocessor factory creates Processors, using Parameters. |
| Processor | Interface for doing field processing. |
| Class Summary | |
|---|---|
| Age | The set- and get- processors implemented in this file can be used to make a virtual 'age' field. |
| Age.Getter | |
| Age.Setter | |
| BinaryCommitProcessor | Used as 'commitprocessor' on the 'binaries'. |
| BinaryFile | This class constains Setter and Getter method for 'binary' file fields. |
| BinaryFile.Delete | |
| BinaryFile.Getter | |
| BinaryFile.Setter | |
| BinaryFile.StringGetter | A bit of a hack, used if the file was originally saved in a transaction, and hence has a negative number prefix. |
| ChainedCommitProcessor | Chains a bunch of other processors into one new processor. |
| ChainedProcessor | Chains a bunch of other processors into one new processor. |
| CharTransformerProcessor | A processor based on a chartransformer (works only for Strings). |
| CharTransformerProcessorFactory | Wraps a ParameterizedTransformerFactory (it must produce
a CharTransformer), to be a ParameterizedProcessorFactory. |
| ChecksumGetProcessorFactory | See ChecksumFactory. |
| ChecksumProcessorFactory | See ChecksumFactory. |
| ContextProcessor | |
| ContextProcessor.Get | |
| ContextProcessor.Set | |
| Cookies | Setter and Getter to make a virtual field which stores the actual value in a user's cookie. |
| Cookies.CookieBase | |
| Cookies.Getter | |
| Cookies.Setter | |
| CopyFieldCommitProcessorFactory | This factory produces commit-processors which simply copies the value of another field of the same node, to the field with which this CommitProcessor was associated. |
| CopyProcessor | The Processor that does nothing. |
| CreationTimeGuesser | Get-processor for 'created' field. |
| Creator | This processor can be used as a 'set' processor on a (datetime) field. |
| DefaultOwner | |
| DelayedGetter | To be used in conjuction with DelayedSetter. |
| DelayedSetter | If you use a DelaySetter on a field, than the process of the field will make sure that the field is not actually changed (the original value is returned). |
| DelayedSetter.NodeField | |
| DelayedSetter.SetThread | |
| Duration | Formats a long with hour:minutes:seconds. |
| Duration.DataType | |
| Duration.GetString | |
| Duration.SetString | |
| EmptyCommitProcessor | The CommitProcessor that does nothing. |
| FileNameProcessor | Some browers provide directory information (IE on Windows), and FileItem.getName() still includes that. |
| FormatDateTime | This can be used as getProcessor for String on DateTime fields. |
| FormatFileSize | A processor that gets a number as a file-size, that is, rounded with kbytes and Mb's and so on. |
| FormatFileSize.Parser | |
| FormatQuantity | A processor that gets a number as a file-size, that is, rounded with kbytes and Mb's and so on. |
| FormatQuantity.Parser | |
| FunctionValueIfEmptyCommitProcessor | If this commit-processor is configured on a field, then on commit of the node, the value of a certain function (on the same node), is set into the field, if the field is empty. |
| FunctionValueIfEmptyGetter | This processor can be used on a field to return a certain function value of the node, if the field is empty. |
| IgnoreEmptyProcessor | If you use this processor for a field, then setting it to an empty value will be ignored (the previous value will remain intact). |
| IgnoreIfChangedProcessor | If this processor is used on a certain field, then you can effectively set the value only once (until the commit of the node). |
| Ip | This processor can be used as a 'commit' processor on a string field. |
| KeywordsProcessor | This processor can be used as a 'set' processor on keyword fields. |
| KeywordsProcessor.EntryComparator | |
| LastModified | This processor can be used as a 'commit' processor on a (datetime) field. |
| LastModifiedProcessorFactory | This factory creates processors which don't actually change the value, but only have a side-effect, namely updating another field with the current time. |
| LastModifier | This processor can be used as a 'commit' processor on a string field. |
| NodeNumber | If value is a node, returns it's number (as a String) |
| ObjectTypeChangerCommitProcessor | It also implements simply copying the value of another field in such cases (using the 'fieldName') parameter. |
| ObjectTypeChangerCommitProcessor.Getter | |
| OriginTrace | |
| OtherField | The set- and get- processors implemented in this file can be used to make a virtual field which acts as another field of the same node |
| OtherField.AbstractProcessor | |
| OtherField.Getter | |
| OtherField.Setter | |
| PathRelatedList | |
| PathRelatedList.AbstractProcessor | |
| PathRelatedList.Getter | |
| PosrelCommitProcessor | Used as 'commitprocessor' on the 'pos' field of a posrel object, this guesses a nice default if you left the value empty on commit. |
| Readonly | This processor can be used as a 'set' processor on a field. |
| Related | The set- and get- processors implemented in this file can be used to make a virtual field which act as a a node field, but actually is a related node. |
| Related.AbstractProcessor | |
| Related.Creator | This get-processor can be used to implicitly create the wanted related node too. |
| Related.Getter | |
| Related.Setter | |
| RelatedField | The set- and get- processors implemented in this file can be used to make a virtual field which acts as a field of a related node. |
| RelatedField.AbstractProcessor | |
| RelatedField.Creator | |
| RelatedField.Getter | |
| RelatedField.Setter | |
| RelatedList | The set- and get- processors implemented in this file can be used to make a virtual field which act as a list (or 'set') field, but actually represents related nodes. |
| RelatedList.AbstractProcessor | |
| RelatedList.Getter | |
| RelatedList.Setter | |
Plugins into set- and getValue methods on Node (Setting and getting Fields).
When functionality is added to a certain field type then a Processor must be implemented and turned on in datatypes.xml or the builder xml.
Processors can be parameterized in two ways. Using a ParameterizedProcessorFactory or
ParameterizedCommitProcessorFactory or simply by using bean-like setting on the instance.
Both ways are recognized in builder xml's.
Node
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||