| Modifier and Type | Method and Description |
|---|---|
protected Node |
NodeCronEntry.getNode() |
| Constructor and Description |
|---|
NodeCronEntry(Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
Dove.addField(Element out,
NodeManager nm,
Field f,
Node node) |
protected void |
Dove.addRelationNodes(Element relation,
Element out,
Node nd)
Retrieves the relations of a node and adds its content to a DOM element.
|
protected boolean |
Dove.fillFields(String alias,
Node node,
Element objectelement,
Map<String,Object> values)
Fills the fields of the specified node with the supplied values.
|
protected boolean |
Dove.fillFields(String alias,
Node node,
Element out,
Map<String,Object> values,
Map<String,Object> originalValues)
Fills the fields of the specified node with the supplied values.
|
void |
Dove.getDataNode(Element in,
Element out,
Node node)
Handles a node storing its content in a DOM element.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Dove.mergeClouds(Map<String,Map<String,Object>> originalNodes,
Map<String,Map<String,Object>> newNodes,
Map<String,Map<String,Object>> originalRelations,
Map<String,Map<String,Object>> newRelations,
Map<Node,Element> addedNodes,
Map<Relation,Element> addedRelations,
Element out,
Cloud cloud)
Performs the put within a transaction.
|
protected boolean |
Dove.putNewNode(String alias,
Map<String,Object> values,
Map<String,Integer> aliases,
Map<Node,Element> addedNodes,
Element out,
Cloud cloud)
Creates a new node.
|
| Modifier and Type | Method and Description |
|---|---|
static Node |
EmailHandler.sendMailNode(Node node,
Object... messageFormatArguments)
Send the email node.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static List<org.mmbase.applications.email.MimeMessageGenerator.MimeBodyTag> |
MimeMessageGenerator.getMimeBodyParts(String body,
Node node) |
static javax.mail.internet.MimeMultipart |
MimeMessageGenerator.getMimeMultipart(String text,
Node node) |
void |
SendMail.sendLocalMail(javax.mail.internet.InternetAddress[] to,
Node n)
Delivers the mail represented by an MMBase node 'locally'.
|
boolean |
SendMail.sendMail(Node n)
Send mail with headers AND attachments
|
protected boolean |
EmailBuilder.sendMail(Node node,
Parameters parameters) |
boolean |
SendMail.sendMail(String onlyto,
Node n)
Send mail with headers AND attachments to the emailaddresses
specified in the 'to' and 'cc' fields.
|
static Node |
EmailHandler.sendMailNode(Node node,
Object... messageFormatArguments)
Send the email node.
|
protected void |
SendMail.sendRemoteMail(javax.mail.internet.InternetAddress[] onlyto,
javax.mail.Address sender,
Node n)
Sends an email which is represented by an MMBase node.
|
protected void |
SendMail.sendRemoteMail(javax.mail.internet.InternetAddress[] onlyto,
Node n) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeleteSourcesProcessor.commit(Node node,
Field field) |
void |
FragmentTypeFixer.commit(Node node,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
Node |
Poster.getNode()
get a node for a poster
|
Node |
Mailbox.getNode()
get the mailbox-node
|
| Modifier and Type | Method and Description |
|---|---|
String |
FieldAlias.getValue(Node node) |
static void |
ForumManager.nodeDeleted(Node node)
Remove the given deleted node from the sync queues
ToDo: very ugly need to be beter
|
void |
ForumMMBaseSyncer.nodeDeleted(Node node)
remove the given node from the syncQueue
|
void |
Forum.setNode(Node node)
Set forum to node
|
void |
Posting.setNode(Node node)
set the node of this posting
|
void |
ForumMMBaseSyncer.syncNode(Node node)
add the given node to the syncQueue, to be synchronized at synchronization-time
|
static void |
ForumManager.syncNode(Node node,
int queue)
ToDo: Write docs!
|
| Constructor and Description |
|---|
Forum(Node node)
Constructor
|
Mailbox(Node node,
Poster parent)
Constructor
|
PostArea(Forum parent,
Node node)
Constructor
|
Poster(Node node,
Forum parent,
boolean prefixwanted)
Contructor
|
Posting(Node node,
PostThread parent,
boolean prefixwanted)
Construct the posting
|
PostThread(PostArea parent,
Node node,
boolean prefixwanted) |
| Modifier and Type | Method and Description |
|---|---|
Node |
Controller.newFolder(String forumid,
int activeid,
String newfolder) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Node> |
ResultContainer.getIdMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
ResultContainer.addParamToReturnURL(String name,
Node node)
Add a parameter to the url the request is forwarded to.
|
| Modifier and Type | Field and Description |
|---|---|
protected Node |
AbstractRelationAction.destinationNode |
protected Node |
AbstractRelationAction.sourceNode |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Node |
AbstractNodeAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method is called to obtain the node for this action.
|
protected Node |
CreateNodeAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
AbstractRelationAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method implementation handles all the preconditions for relation actions.
|
protected Node |
UpdateNodeAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
CreateRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
ToggleRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
SortRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
Try to find the relation node that is of type given by the role field,
and exists between the source and destination node.
|
protected abstract Node |
AbstractRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method should be implemented by concrete implementations of
this class.
|
protected Node |
AbstractNodeAction.getNode() |
protected Node |
AbstractRelationAction.resolveNode(String refNotFoundErrorKey,
String nodeRef,
String nodenr,
Map<String,Node> idMap,
Transaction transaction)
Try to resolve a node, by trying either the nodenr or node ref.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AbstractNodeAction.mayDelete(Node node)
can the current owner delete this node? set global error when fail.
|
protected boolean |
AbstractNodeAction.shouldProcess(Node node)
this template method is called before any changes are made to the node to edit.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract Node |
AbstractNodeAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method is called to obtain the node for this action.
|
protected Node |
CreateNodeAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
AbstractRelationAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method implementation handles all the preconditions for relation actions.
|
protected Node |
UpdateNodeAction.createNode(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
CreateRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
ToggleRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request) |
protected Node |
SortRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
Try to find the relation node that is of type given by the role field,
and exists between the source and destination node.
|
protected abstract Node |
AbstractRelationAction.createRelation(Transaction transaction,
Map<String,Node> idMap,
javax.servlet.http.HttpServletRequest request)
This template method should be implemented by concrete implementations of
this class.
|
protected Node |
AbstractRelationAction.resolveNode(String refNotFoundErrorKey,
String nodeRef,
String nodenr,
Map<String,Node> idMap,
Transaction transaction)
Try to resolve a node, by trying either the nodenr or node ref.
|
protected boolean |
AbstractRelationAction.resolveSourceAndDestination(Transaction transaction,
Map<String,Node> idMap)
(try to) resolve the source and destination nodes for this relation.
|
| Constructor and Description |
|---|
NodeNumberResolver(Node node) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NodeManager
This interface represents a node's type information object.
|
interface |
Relation
A relation within the cloud.
|
interface |
RelationManager
This interface represents a relation constraint (or contex, if you like).
|
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeManager.createNode()
Creates a new node.
|
Node |
Relation.getDestination()
Retrieves the destination of the relation
|
Node |
FieldValue.getNode()
Returns the Node to which this value belongs.
|
Node |
Cloud.getNode(int number)
Returns the node with the specified number from this cloud.
|
Node |
NodeList.getNode(int index)
Returns the Node at the indicated postion in the list
|
Node |
Cloud.getNode(String number)
Returns the node with the specified number from this cloud.
|
Node |
Cloud.getNodeByAlias(String alias)
Returns the node with the specified alias from this cloud.
|
Node |
Node.getNodeValue(String fieldName)
Returns the value of the specified field as a
Node. |
Node |
Relation.getSource()
Retrieves the source of the relation
|
Node |
NodeIterator.nextNode()
Returns the next element in the iterator as a Node
|
Node |
NodeIterator.previousNode()
Returns the previous element in the iterator as a Node
|
Node |
FieldValue.toNode()
Returns the value as a Node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Query.addNode(Step s,
Node node)
Adds a node to a step.
|
Relation |
RelationManager.createRelation(Node sourceNode,
Node destinationNode)
Adds a relation from this type.
|
Relation |
Node.createRelation(Node destinationNode,
RelationManager relationManager)
Adds a relation between this node and a specified node to the cloud.
|
Relation |
RelationManager.createRelation(Node sourceNode,
RelationManager relationManager)
This method from Node is redeclared here to prevent an ambiguous invocation of method.
|
RelationList |
RelationManager.getRelations(Node node)
Retrieves all the relations of this type from a given node.
|
boolean |
RelationManager.mayCreateRelation(Node sourceNode,
Node destinationNode)
Check if the current user may create a new relation of this type between
the specified nodes.
|
void |
Relation.setDestination(Node node)
set the destination of the relation
|
void |
FieldValue.setNode(Node value)
Sets the value, passing a Node.
|
void |
Node.setNodeValue(String fieldName,
Node value)
Sets the value of the specified field using an
Node. |
void |
Relation.setSource(Node node)
set the source of the relation
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNodeList<E extends Node>
An abstract BasicList implementation which overrided
AbstractNodeList.convert(java.lang.Object) to make sure the list
contains Nodes. |
| Modifier and Type | Class and Description |
|---|---|
class |
BasicNode
Basic implementation of Node.
|
class |
BasicNodeManager
This class represents a node's type information object - what used to be the 'builder'.
|
class |
BasicRelation |
class |
BasicRelationManager |
class |
VirtualNode
Implementation of Node.
|
class |
VirtualNodeManager
This class represents a virtual node type information object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Node |
BasicNodeList.convert(Object o) |
static Node |
AbstractNodeList.convertMMObjectNodetoBridgeNode(Cloud cloud,
NodeManager nodeManager,
Object o) |
static Node |
AbstractNodeList.convertWithBridgeToNode(Cloud cloud,
NodeManager nodeManager,
Object o)
Converts an object to a Node, using only bridge.
|
Node |
BasicNodeManager.createNode() |
Node |
BasicRelation.getDestination() |
Node |
BasicFieldValue.getNode() |
protected static Node |
AbstractNodeList.getNode(Cloud cloud,
NodeManager nodeManager,
MMObjectNode coreNode) |
Node |
BasicCloud.getNode(int nodeNumber) |
Node |
BasicNodeList.getNode(int index) |
Node |
BasicTransaction.getNode(String nodeNumber) |
Node |
BasicCloud.getNode(String nodeNumber) |
Node |
BasicCloud.getNodeByAlias(String aliasname) |
Node |
BasicNode.getNodeValue(String fieldName) |
Node |
VirtualNode.getNodeValue(String fieldName)
Returns the Node value of a certain field, but in the case of a VirtualNode this can also occasionally be
null
because the node can have been deleted. |
Node |
BasicRelation.getSource() |
Node |
BasicNodeList.BasicNodeIterator.nextNode() |
Node |
BasicNodeList.BasicNodeIterator.previousNode() |
Node |
BasicFieldValue.toNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicQuery.addNode(Step s,
Node node) |
protected static NodeManager |
AbstractNodeList.castToNodeManager(Cloud cloud,
Node n)
since MMBase 1.8
|
Relation |
BasicRelationManager.createRelation(Node sourceNode,
Node destinationNode) |
RelationList |
BasicRelationManager.getRelations(Node node) |
boolean |
BasicRelationManager.mayCreateRelation(Node sourceNode,
Node destinationNode) |
protected void |
BasicTransaction.processCommitProcessors(Node n) |
protected void |
BasicCloud.processCommitProcessors(Node n)
Calls the commit processor for every field.
|
protected void |
BasicTransaction.processDeleteProcessors(Node n) |
protected void |
BasicCloud.processDeleteProcessors(Node n)
Calls the delete processor for every field.
|
void |
BasicRelation.setDestination(Node node) |
void |
BasicFieldValue.setNode(Node value) |
void |
BasicRelation.setSource(Node node) |
| Constructor and Description |
|---|
BasicFieldValue(Node node,
Field field) |
BasicFunctionValue(Node node,
Object value)
Constructor for a function value returned by a Node.
|
| Modifier and Type | Field and Description |
|---|---|
protected ListIterator<Node> |
NodeListHelper.nodeIterator
Data member to hold an iteration of the values to return.
|
(package private) BridgeList<Node> |
AbstractNodeListTag.NodesAndTrim.nodeList |
protected BridgeList<Node> |
NodeListHelper.returnList |
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeReferrerTag.findNode()
As
NodeReferrerTag.getNode() only with a different name, because taglib compilers can be confused
otherwise. |
protected Node |
NodeReferrerTag.getNode() |
protected Node |
NodeReferrerTag.getNode(boolean exception)
Gets the Node variable from the parent NodeProvider.
|
protected Node |
CloudReferrerTag.getNode(String key) |
protected Node |
NodeReferrerTag.getNodeFromPageContext() |
protected Node |
CloudReferrerTag.getNodeOrNull(String key)
Gets a node from the context.
|
Node |
NodeProvider.getNodeVar() |
Node |
NodeProviderHelper.getNodeVar()
For use by children, they can find the current 'node' belonging
to this tag.
|
Node |
FieldTag.getNodeVar()
A fieldprovider also provides a node.
|
Node |
FieldProvider.getNodeVar() |
Node |
AbstractNodeProviderTag.getNodeVar() |
Node |
FieldListTag.getNodeVar() |
(package private) Node |
ListRelationsTag.getRelatedfromNode() |
Node |
ListRelationsTag.getRelatedNode() |
protected Node |
ImageTag.getServletNode(Node node,
String template) |
| Modifier and Type | Method and Description |
|---|---|
protected BridgeList<Node> |
AbstractNodeListTag.getReturnList() |
BridgeList<Node> |
NodeListHelper.getReturnList() |
| Modifier and Type | Method and Description |
|---|---|
String |
FieldInfoTag.decode(String value,
Node n)
decode and encode can be overriden.
|
protected String |
ImageTag.encodeURL(Node node,
String servletPath) |
protected String |
ImageTag.getAltAttribute(Node node) |
protected String |
ImageTag.getCropTemplate(Node node,
int width,
int height,
String cropTemplate)
Returns the crop template string to be used by img servlet
|
Dimension |
ImageTag.getDimension(Node node,
String template) |
protected String |
ImageTag.getOutputValue(int mode,
Node node,
String servletPath,
Dimension dim) |
protected String |
ImageTag.getResizeTemplate(Node node,
int width,
int height)
Returns the resize template string to be used by img servlet without cropping
|
String |
ImageTag.getServletArgument(Node node,
String t) |
Function |
ImageTag.getServletFunction(Node node) |
protected Node |
ImageTag.getServletNode(Node node,
String template) |
protected String |
ImageTag.getServletPath(Node node,
String servletArgument) |
String |
ImageTag.getTemplate(Node node,
String t,
int widthTemplate,
int heightTemplate,
String cropTemplate)
Get template to manipulate image
|
String |
AttachmentTag.getTemplate(Node node,
String t,
int widthTemplate,
int heightTemplate,
String cropTemplate) |
void |
ContextTag.registerNode(String key,
Node node)
Deprecated.
Use getContextProvider().getContextContainer().registerNode
|
void |
NodeProviderHelper.setNodeVar(Node node)
Children can also directly access the node member, but the
prefered method is to treat this variable as much as possible
as private, and use this.
|
protected void |
AbstractNodeProviderTag.setNodeVar(Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected Cloud |
NodeListHelper.getCloud(BridgeList<Node> nodes,
Cloud cloud) |
protected String |
NodeListHelper.getFirstOrderedField(BridgeList<Node> returnList,
NodeManager nextNodeManager)
The first ordered field is used to determin the 'changed' status of a Node in a NodeList.
|
protected int |
AbstractNodeListTag.setReturnValues(BridgeList<Node> nodes)
Creates the node iterator and sets appropriate variables (such as listsize)
from a passed node list.
|
protected int |
AbstractNodeListTag.setReturnValues(BridgeList<Node> nodes,
boolean trim)
Creates the node iterator and sets appropriate variables (such as listsize).
|
int |
NodeListHelper.setReturnValues(BridgeList<Node> nodes,
boolean trim) |
| Modifier and Type | Method and Description |
|---|---|
Node |
ListRelationsContainerTag.getRelatedFromNode() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CreateAliasTag.doJob(Node n,
String a) |
protected void |
DeleteAliasTag.doJob(Node n,
String alias) |
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeFunctionTag.getNodeVar() |
Node |
NodeListFunctionTag.getNodeVar() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Functions.hasAlias(Node node,
String alias)
Checks if the supplied node has the supplied alias
|
protected void |
NodeFunctionTag.setNodeVar(Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
RelatedTag.getBaseNode() |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
MayWriteTag.getNodeToCheck() |
| Constructor and Description |
|---|
BranchLoopStatus(Node c,
NodeList s) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
DoubleHandler.cast(Object value,
Node node,
Field field) |
protected Object |
FloatHandler.cast(Object value,
Node node,
Field field) |
protected Object |
BooleanHandler.cast(Object value,
Node node,
Field field) |
protected Object |
AbstractTypeHandler.cast(Object value,
Node node,
Field field) |
protected Object |
EnumHandler.cast(Object value,
Node node,
Field field) |
protected Object |
IntegerHandler.cast(Object value,
Node node,
Field field) |
protected Object |
LongHandler.cast(Object value,
Node node,
Field field) |
String |
AbstractTypeHandler.checkHtmlInput(Node node,
Field field,
boolean errors) |
String |
DataTypeHandler.checkHtmlInput(Node node,
Field field,
boolean errors) |
String |
BinaryHandler.checkHtmlInput(Node node,
Field field,
boolean errors) |
String |
TypeHandler.checkHtmlInput(Node node,
Field field,
boolean errors)
Produces a div, containing the error message for the current value, or the empty string if everything ok.
|
protected Object |
AbstractTypeHandler.convertToValidate(Object value,
Node node,
Field field) |
protected Object |
EnumHandler.convertToValidate(Object s,
Node node,
Field field) |
protected Calendar |
DateHandler.getCalendarValue(Node node,
Field field) |
protected String |
AbstractTypeHandler.getClasses(Node node,
Field field) |
protected EnumHandler |
ListHandler.getEnumHandler(Node node,
Field field) |
protected EnumHandler |
AbstractTypeHandler.getEnumHandler(Node node,
Field field) |
protected EnumHandler |
EnumHandler.getEnumHandler(Node node,
Field field) |
Object |
BooleanHandler.getFieldValue(Node node,
Field field) |
protected Object |
StringHandler.getFieldValue(Node node,
Field field) |
protected Object |
AbstractTypeHandler.getFieldValue(Node node,
Field field)
Returns the field value as specified by the client's post.
|
protected SerializableInputStream |
BinaryHandler.getFieldValue(Node node,
Field field)
Returns the field value as specified by the client's post.
|
protected Object |
DateHandler.getFieldValue(Node node,
Field field)
Returns the field value as specified by the client's post.
|
protected Object |
AbstractTypeHandler.getFieldValue(Node node,
Field field,
boolean useDefault)
Returns the field value to be used in the page.
|
protected Object |
DateHandler.getFieldValue(Node node,
Field field,
boolean useDefault) |
protected Iterator |
EnumHandler.getIterator(Node node,
Field field) |
protected Object |
StringHandler.getValue(Node node,
String fieldName) |
protected Object |
AbstractTypeHandler.getValue(Node node,
String fieldName) |
protected InputStream |
BinaryHandler.getValue(Node node,
String fieldName) |
String |
BooleanHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
DurationHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
NodeHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
StringHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
AbstractTypeHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
DataTypeHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
BinaryHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
EnumHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
DateHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
IntegerHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
XmlHandler.htmlInput(Node node,
Field field,
boolean search) |
String |
TypeHandler.htmlInput(Node node,
Field field,
boolean search)
Produces an form input field for the given Node, and Field.
|
String |
AbstractTypeHandler.htmlInputId(Node node,
Field field) |
String |
DataTypeHandler.htmlInputId(Node node,
Field field) |
String |
TypeHandler.htmlInputId(Node node,
Field field) |
protected void |
StringHandler.setValue(Node node,
String fieldName,
Object value) |
protected void |
AbstractTypeHandler.setValue(Node node,
String fieldName,
Object value) |
boolean |
BooleanHandler.useHtmlInput(Node node,
Field field) |
boolean |
DurationHandler.useHtmlInput(Node node,
Field field) |
boolean |
StringHandler.useHtmlInput(Node node,
Field field) |
boolean |
AbstractTypeHandler.useHtmlInput(Node node,
Field field) |
boolean |
DataTypeHandler.useHtmlInput(Node node,
Field field) |
boolean |
BinaryHandler.useHtmlInput(Node node,
Field field) |
boolean |
DateHandler.useHtmlInput(Node node,
Field field) |
boolean |
IntegerHandler.useHtmlInput(Node node,
Field field) |
boolean |
TypeHandler.useHtmlInput(Node node,
Field field)
returns true if setValue happened.
|
protected boolean |
NodeHandler.useLegacy(Node node,
Field field) |
| Constructor and Description |
|---|
EnumHandler(FieldInfoTag tag,
Node node,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextContainer.registerNode(String newId,
Node n) |
| Modifier and Type | Class and Description |
|---|---|
class |
MockNode
MockNodes belong to a
MockCloud. |
class |
MockNodeManager
Straight-forward implementation of NodeManager based on a Map with DataType's.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
MockNodeManager.createNode() |
Node |
MockCloud.getNode(int number) |
(package private) Node |
MockCloud.getNode(Map<String,Object> m,
NodeManager nm,
boolean n) |
(package private) Node |
MockTransaction.getNode(Map<String,Object> m,
NodeManager nm,
boolean n) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MockNodeManager.setDefaultsWithCloud(Node node) |
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteNode_Proxy
RemoteNode_Proxy in a generated smart proxy of Node
This smart proxy is used by a local class when the MMCI is called remotely |
class |
RemoteNodeManager_Proxy
RemoteNodeManager_Proxy in a generated smart proxy of NodeManager
This smart proxy is used by a local class when the MMCI is called remotely |
class |
RemoteRelation_Proxy
RemoteRelation_Proxy in a generated smart proxy of Relation
This smart proxy is used by a local class when the MMCI is called remotely |
class |
RemoteRelationManager_Proxy
RemoteRelationManager_Proxy in a generated smart proxy of RelationManager
This smart proxy is used by a local class when the MMCI is called remotely |
| Modifier and Type | Method and Description |
|---|---|
Node |
RemoteNodeManager_Proxy.createNode() |
Node |
RemoteRelationManager_Proxy.createNode() |
Node |
RemoteRelation_Proxy.getDestination() |
Node |
RemoteFieldValue_Proxy.getNode() |
Node |
RemoteTransaction_Proxy.getNode(int arg0) |
Node |
RemoteCloud_Proxy.getNode(int arg0) |
Node |
RemoteNodeList_Proxy.getNode(int arg0) |
Node |
RemoteTransaction_Proxy.getNode(String arg0) |
Node |
RemoteCloud_Proxy.getNode(String arg0) |
Node |
RemoteTransaction_Proxy.getNodeByAlias(String arg0) |
Node |
RemoteCloud_Proxy.getNodeByAlias(String arg0) |
Node |
RemoteRelation_Proxy.getNodeValue(String arg0) |
Node |
RemoteNodeManager_Proxy.getNodeValue(String arg0) |
Node |
RemoteNode_Proxy.getNodeValue(String arg0) |
Node |
RemoteRelationManager_Proxy.getNodeValue(String arg0) |
Node |
RemoteRelation_Proxy.getSource() |
Node |
RemoteNodeIterator_Proxy.nextNode() |
Node |
RemoteNodeIterator_Proxy.previousNode() |
Node |
RemoteFieldValue_Proxy.toNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
RemoteQuery_Proxy.addNode(Step arg0,
Node arg1) |
void |
RemoteNodeQuery_Proxy.addNode(Step arg0,
Node arg1) |
int |
RemoteRelation_Proxy.compareTo(Node arg0) |
int |
RemoteNodeManager_Proxy.compareTo(Node arg0) |
int |
RemoteNode_Proxy.compareTo(Node arg0) |
int |
RemoteRelationManager_Proxy.compareTo(Node arg0) |
Relation |
RemoteRelationManager_Proxy.createRelation(Node arg0,
Node arg1) |
Relation |
RemoteRelation_Proxy.createRelation(Node arg0,
RelationManager arg1) |
Relation |
RemoteNodeManager_Proxy.createRelation(Node arg0,
RelationManager arg1) |
Relation |
RemoteNode_Proxy.createRelation(Node arg0,
RelationManager arg1) |
Relation |
RemoteRelationManager_Proxy.createRelation(Node arg0,
RelationManager arg1) |
RelationList |
RemoteRelationManager_Proxy.getRelations(Node arg0) |
boolean |
RemoteRelationManager_Proxy.mayCreateRelation(Node arg0,
Node arg1) |
void |
RemoteRelation_Proxy.setDestination(Node arg0) |
void |
RemoteFieldValue_Proxy.setNode(Node arg0) |
void |
RemoteRelation_Proxy.setNodeValue(String arg0,
Node arg1) |
void |
RemoteNodeManager_Proxy.setNodeValue(String arg0,
Node arg1) |
void |
RemoteNode_Proxy.setNodeValue(String arg0,
Node arg1) |
void |
RemoteRelationManager_Proxy.setNodeValue(String arg0,
Node arg1) |
void |
RemoteRelation_Proxy.setSource(Node arg0) |
| Constructor and Description |
|---|
RemoteNode_Rmi(Node originalObject,
int port) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCollectionNodeList<E extends Node>
An AbstractCollectionNodeList implements a
BridgeList of Nodes, based on a collection of objects of perhaps other type, which are
implicitely AbstractCollectionNodeList.convert(java.lang.Object, int)ed when necessary. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNode
Abstract implementation of Node.
|
class |
AbstractNodeManager
Abstract implementation of NodeManager, to minimalize the implementation of a virtual one.
|
class |
AnnotatedNode<A>
An annotated node is an object that wraps another
Node but wich can be annotated with
some extra information. |
class |
ChangedNode
A nodewrapper in which fields are explicitely marked as 'changed' (even though they may actually not be).
|
class |
MapNode<V>
A bridge Node based on a
Map. |
class |
MapNodeManager
A bridge NodeManager based on a Map of node values.
|
class |
NodeChanger
Wraps another Node, and adds '
NodeChanger.isChangedByThis()'. |
class |
NodeMap
A
Map representing a Node. |
class |
NodeMapWithoutProcess
Like
NodeMap but it uses getValueWithoutProcess(java.lang.String) and setValueWithoutProcess(java.lang.String, java.lang.Object) to acces the wrapped node. |
class |
NodeWrapper
Wraps another Node.
|
| Modifier and Type | Field and Description |
|---|---|
protected Node |
HugeNodeListIterator.nextNode |
protected Node |
NodeWrapper.node |
protected Node |
AbstractFieldValue.node |
protected Node |
HugeNodeListIterator.previousNode |
| Modifier and Type | Method and Description |
|---|---|
static Node |
CloneUtil.cloneNode(Node localNode)
Clone a node to a cloud, including any fields without keeping administrative information
|
static Node |
CloneUtil.cloneNodeWithRelations(Node localNode)
Clone a node with all relations
|
protected static Node |
Queries.clusterNode(Relation relation,
String relationAlias,
Node node)
Given a 'relation' node
|
Node |
AbstractNodeManager.createNode() |
static Node |
SearchUtil.findNode(Cloud cloud,
String managerName,
String fieldname,
String value)
Search for a node which contains a field value.
|
static Node |
SearchUtil.findNode(Cloud cloud,
String managerName,
String fieldname,
String value,
String sortName)
Search for a node which contains a field value.
|
static Node |
SearchUtil.findNode(Cloud cloud,
String managerName,
String fieldname,
String value,
String sortName,
String sortDirection)
Search for a node which contains a field value.
|
static Node |
SearchUtil.findOrderedNode(Cloud cloud,
String managerName,
String sortName)
Retrieve the first node based on the sort field
|
static Node |
SearchUtil.findOrderedNode(Cloud cloud,
String managerName,
String sortName,
String sortDirection)
Retrieve the first node based on the sort field
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role)
Search for a node which is related to the parent node.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role,
String fieldname,
Object value)
Search for a node which is related to the parent node and contains a field value.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName)
Search for a node which is related to the parent node and contains a field value.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Search for a node which is related to the parent node and contains a field value.
|
static Node |
SearchUtil.findRelatedOrderedNode(Node parent,
String managerName,
String role,
String sortName)
Retrieve a node which is related to the parent node and is sorted in a field.
|
static Node |
SearchUtil.findRelatedOrderedNode(Node parent,
String managerName,
String role,
String sortName,
String sortDirection)
Retrieve a node which is related to the parent node and is sorted in a field.
|
protected Node |
TreeList.TreeItr.getNextLeafNode()
Simply returns the 'smallest' of all available nodes (compared to the 'previous node')
This is actually an alternavite implementation for getNextNode, but it also works when
'leaf' constraints are applied.
|
protected Node |
TreeList.TreeItr.getNextNode()
Implementation idea graphicly.
|
Node |
NodeWrapper.getNode() |
Node |
AbstractFieldValue.getNode() |
abstract Node |
AbstractCloud.getNode(int number) |
Node |
TreeList.getNode(int i) |
Node |
CollectionNodeList.getNode(int index) |
Node |
BridgeCollections.UnmodifiableNodeList.getNode(int index) |
Node |
BridgeCollections.EmptyNodeList.getNode(int index) |
Node |
AbstractCloud.getNode(String number) |
Node |
AbstractCloud.getNodeByAlias(String alias) |
Node |
NodeWrapper.getNodeValue(String fieldName) |
Node |
AbstractNode.getNodeValue(String fieldName) |
Node |
TreeList.TreeItr.getParent() |
Node |
TreeIterator.getParent()
Returns the 'parent' node of the most recently returned Node.
|
protected Node |
TreeList.TreeItr.getRealNode(int index)
Returns the 'real' node, thus the just used 'next' node of index.
|
protected Node |
TreeList.getRealNode(int queryIndex,
int index)
Returns node 'index' of query result 'queryIndex' as a 'real' node (so not a cluster node)
|
static Node |
Queries.getStartNode(NodeQuery nq,
Cloud cloud)
This method is the counterpart of
Queries.setStartNode(org.mmbase.bridge.NodeQuery, org.mmbase.bridge.Node) and receives 'the' startnode from the Query (which may not be committed). |
Node |
TreeList.TreeItr.next() |
Node |
HugeNodeListIterator.next() |
Node |
TreeList.TreeItr.nextNode() |
Node |
CollectionNodeList.BasicNodeIterator.nextNode() |
Node |
HugeNodeListIterator.nextNode()
Returns the next element in the iterator as a Node
|
Node |
BridgeCollections.UnmodifiableNodeIterator.nextNode() |
Node |
TreeList.TreeItr.previous() |
Node |
HugeNodeListIterator.previous() |
Node |
TreeList.TreeItr.previousNode() |
Node |
CollectionNodeList.BasicNodeIterator.previousNode() |
Node |
HugeNodeListIterator.previousNode()
Returns the previous element in the iterator as a Node
|
Node |
BridgeCollections.UnmodifiableNodeIterator.previousNode() |
Node |
AbstractFieldValue.toNode() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Node> |
AbstractCollectionNodeList.getCollection() |
static Comparator<Node> |
Queries.getComparator(Query q)
Returns a Node comparator associated with the
SortOrders of the given Query (See SearchQuery.getSortOrders()). |
static List<Node> |
Queries.getRelatedNodesInTransaction(Node startNode,
NodeQuery q)
Returns the related nodes of a certain node (defined by the query), including the one that where related to it in the current transaction.
|
ListIterator<Node> |
TreeList.listIterator(int ind) |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeList.TreeItr.add(Node o) |
void |
HugeNodeListIterator.add(Node o) |
static void |
SearchUtil.addFeatures(NodeQuery query,
Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Add constraints and sort orders to a query.
|
static void |
SearchUtil.addFeatures(NodeQuery query,
Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection,
String searchdir)
Add constraints and sort orders to a query.
|
void |
AbstractQueryWrapper.addNode(Step s,
Node node) |
static NodeList |
Queries.addToResult(Query q,
Node n)
Explores a query object, and creates a certain new relation object, which would make the
given node appear in the query's result.
|
static int |
Queries.applyConstraints(Query q,
Step step,
Node n) |
static void |
CloneUtil.cloneAliasses(Node localNode,
Node destNode)
Clone aliases to the destination node.
|
static Node |
CloneUtil.cloneNode(Node localNode)
Clone a node to a cloud, including any fields without keeping administrative information
|
static void |
CloneUtil.cloneNodeField(Node sourceNode,
Node destinationNode,
Field field)
cloneNodeField copies node fields from one node to the other
|
static Node |
CloneUtil.cloneNodeWithRelations(Node localNode)
Clone a node with all relations
|
static Relation |
CloneUtil.cloneRelation(Node sourceRelation)
Clone relation of the source node to the destination node.
|
static Relation |
CloneUtil.cloneRelation(Node sourceRelation,
Node sourceNode,
Node destNode)
Clone relation of the source node to the destination node.
|
static void |
CloneUtil.cloneRelations(Node sourceNode,
Node destNode)
Clone relations of the source node to the destination node.
|
static void |
CloneUtil.cloneRelations(Node sourceNode,
Node destNode,
String relationName,
String managerName)
Clone relations of the source node to the destination node.
|
protected static Node |
Queries.clusterNode(Relation relation,
String relationAlias,
Node node)
Given a 'relation' node
|
int |
NodeFieldComparator.compare(Node n1,
Node n2)
Two external source objects are said to be equal only when the two type fields match.
|
static int |
Queries.compare(Node node1,
Node node2,
List<SortOrder> sortOrders)
Does a field-by-field compare of two Node objects, on the fields used to order the nodes.
|
static int |
Queries.compare(Node node1,
Node node2,
SortOrder sortOrder)
Compare tho nodes, with a SortOrder.
|
protected int |
HugeNodeListIterator.compares(Node node1,
Node node2)
Used by nextNode and previousNode.
|
int |
NodeWrapper.compareTo(Node o) |
int |
AbstractNode.compareTo(Node o)
Compares this node to the passed object.
|
static NodeQuery |
Queries.createNodeQuery(Node node)
Returns the NodeQuery returning the given Node.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role,
String searchdir)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
SearchUtil.createRelatedNodeListQuery(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection,
String searchdir)
Create a query for a list of nodes which are related to the parent node and contain a field value.
|
static NodeQuery |
Queries.createRelatedNodesQuery(Node node,
NodeManager otherNodeManager,
String role,
String direction)
Returns a query to find the nodes related to the given node.
|
Relation |
NodeWrapper.createRelation(Node destinationNode,
RelationManager relationManager) |
Relation |
MapNode.createRelation(Node destinationNode,
RelationManager relationManager) |
Relation |
AbstractNode.createRelation(Node destinationNode,
RelationManager relationManager) |
static NodeQuery |
Queries.createRelationNodesQuery(Node node,
NodeManager otherNodeManager,
String role,
String direction)
Returns a query to find the relations nodes of the given node.
|
static NodeQuery |
Queries.createRelationNodesQuery(Node node,
Node otherNode,
String role,
String direction)
Returns a query to find the relations nodes between two given nodes.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role)
Search for a node which is related to the parent node.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role,
String fieldname,
Object value)
Search for a node which is related to the parent node and contains a field value.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName)
Search for a node which is related to the parent node and contains a field value.
|
static Node |
SearchUtil.findRelatedNode(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Search for a node which is related to the parent node and contains a field value.
|
static NodeList |
SearchUtil.findRelatedNodeList(Node parent,
String managerName,
String role)
Search for nodes which are related to the parent node.
|
static NodeList |
SearchUtil.findRelatedNodeList(Node parent,
String managerName,
String role,
String fieldname,
Object value)
Search for nodes which are related to the parent node and contain a field value.
|
static NodeList |
SearchUtil.findRelatedNodeList(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName)
Search for nodes which are related to the parent node and contain a field value.
|
static NodeList |
SearchUtil.findRelatedNodeList(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection)
Search for nodes which are related to the parent node and contain a field value.
|
static NodeList |
SearchUtil.findRelatedNodeList(Node parent,
String managerName,
String role,
String fieldname,
Object value,
String sortName,
String sortDirection,
String searchdir)
Search for nodes which are related to the parent node and contain a field value.
|
static Node |
SearchUtil.findRelatedOrderedNode(Node parent,
String managerName,
String role,
String sortName)
Retrieve a node which is related to the parent node and is sorted in a field.
|
static Node |
SearchUtil.findRelatedOrderedNode(Node parent,
String managerName,
String role,
String sortName,
String sortDirection)
Retrieve a node which is related to the parent node and is sorted in a field.
|
static NodeList |
SearchUtil.findRelatedOrderedNodeList(Node parent,
String managerName,
String role,
String sortName)
Search for nodes which are related to the parent node and contain a field value.
|
static NodeList |
SearchUtil.findRelatedOrderedNodeList(Node parent,
String managerName,
String role,
String sortName,
String sortDirection)
Search for nodes which are related to the parent node and contain a field value.
|
static RelationList |
SearchUtil.findRelations(Node source,
Node destination,
String role,
String searchdir)
Finds the relation-nodes between two specified nodes
|
static RelationList |
SearchUtil.findRelations(Node parent,
String managerName,
String role,
String sortName,
String sortDirection)
Search for a list of relations which are related to the parent node.
|
static RelationList |
SearchUtil.findRelations(Node parent,
String managerName,
String role,
String sortName,
String sortDirection,
String searchdir)
Search for a list of relations which are related to the parent node.
|
static NodeList |
Queries.getRelatedNodes(Node node,
NodeManager otherNodeManager,
String role,
String direction,
String relationFields,
String sortOrders)
Queries a list of cluster nodes, using a
NodeQuery (so al fields of
one step are available), plus some fields of the relation step. |
static List<Node> |
Queries.getRelatedNodesInTransaction(Node startNode,
NodeQuery q)
Returns the related nodes of a certain node (defined by the query), including the one that where related to it in the current transaction.
|
static NodeList |
Queries.getRelations(Query q,
Node n)
Explores a query object, returns the relations the node has within the query.
|
static Object |
Queries.getSortOrderFieldValue(Node node,
SortOrder sortOrder)
Obtains a value for the field of a sortorder from a given node.
|
static NodeQuery |
Queries.getSubQuery(Query q,
Node node,
int step)
Defaulting version
Queries.getSubQuery(Query, Node, int, int). |
static NodeQuery |
Queries.getSubQuery(Query q,
Node node,
int elementStep,
int lastStep)
Given a Query, and Node, produces a new query, where the first part of the query is replaced by the Node.
|
static boolean |
SearchUtil.hasAllowedRelation(Node parent,
String role,
String searchdir)
Check to see if a relation is allowed from the parent node
|
protected static boolean |
CloneUtil.isRelation(Node node)
quick test to see if node is a relation by testing fieldnames
|
static NodeList |
Queries.removeFromResult(Query q,
Node n)
Deletes the relations with a node from a queries resulting relations list.
|
static NodeList |
Queries.removeFromResultOnce(Query q,
Node n)
Remove one node from query, but just once leaving other relations with same node intact.
|
void |
TreeList.TreeItr.set(Node o) |
void |
HugeNodeListIterator.set(Node o) |
void |
AbstractFieldValue.setNode(Node value)
Function values cannot be changed, and all set-functions throw an exception.
|
void |
NodeChanger.setNodeValue(String fieldName,
Node value) |
void |
NodeWrapper.setNodeValue(String fieldName,
Node value) |
void |
AbstractNode.setNodeValue(String fieldName,
Node value) |
static void |
Queries.setStartNode(NodeQuery query,
Node startNode)
This puts the node as 'startnode' in the query (propably a 'related nodes' query.
|
| Constructor and Description |
|---|
AbstractFieldValue(Node n,
Cloud c) |
AnnotatedNode(Node n) |
ChangedNode(Node node,
String... fields) |
NodeChanger(Node node) |
NodeMap(Node node) |
NodeMapWithoutProcess(Node node) |
NodeWrapper(Node node) |
| Constructor and Description |
|---|
AbstractCollectionNodeList(Collection<? extends Node> c,
Cloud cloud) |
AbstractCollectionNodeList(Collection<? extends Node> c,
NodeManager nodeManager) |
CollectionRelationList(Collection<? extends Node> c,
Cloud cloud) |
CollectionRelationList(Collection<? extends Node> c,
NodeManager nodeManager) |
| Modifier and Type | Method and Description |
|---|---|
Element |
Generator.add(Node node)
Adds one Node to a DOM Document.
|
Element |
Generator.add(Node node,
Field fieldDefinition)
Adds a field to the DOM Document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Generator.add(List<? extends Node> nodes)
Adds a whole MMBase bridge NodeList to the DOM Document.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
GuiFunction.getFunctionValue(Node node,
Parameters parameters) |
protected String |
ContrastFunction.getFunctionValue(Node node,
Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
static NodeEvent |
NodeEventHelper.createNodeEventInstance(Node node,
int eventType,
String machineName) |
| Modifier and Type | Method and Description |
|---|---|
Node |
UserNodeDataType.getDefaultValue(Locale locale,
Cloud cloud,
Field field) |
static Node |
VerifyEmailProcessor.validate(Cloud cloud,
String encryptedKey)
Call this method with the key received from the client to perform the actual validation.
|
| Modifier and Type | Method and Description |
|---|---|
Comparator<Node> |
NodeDataType.getComparator() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<LocalizedString> |
BasicDataType.StaticAbstractRestriction.addError(Collection<LocalizedString> errors,
Object v,
Node node,
Field field)
Utility method to add a new error message to the errors collection, based on this
Restriction.
|
protected String |
BinaryStringDataType.cast(Object value,
Cloud cloud,
Node node,
Field field) |
protected E |
NumberDataType.cast(Object value,
Cloud cloud,
Node node,
Field field) |
protected Boolean |
BooleanDataType.cast(Object value,
Cloud cloud,
Node node,
Field field)
Cast a bit more conservatively, because Casting aggressively casts everything to boolean,
which would make nearly every value valid.
|
protected C |
BasicDataType.cast(Object value,
Cloud cloud,
Node node,
Field field)
Utility to avoid repetitive calling of getCloud
|
protected InputStream |
BinaryDataType.cast(Object value,
Cloud cloud,
Node node,
Field field) |
C |
BasicDataType.cast(Object value,
Node node,
Field field)
Tries to 'cast' an object for use with this parameter.
|
C |
DataType.cast(Object value,
Node node,
Field field)
Tries to 'cast' an object for use with this parameter.
|
Collection<LocalizedString> |
BasicDataType.castAndValidate(Object value,
Node node,
Field field) |
Collection<LocalizedString> |
DataType.castAndValidate(Object value,
Node node,
Field field)
Validates a value without knowing its type yet.
|
protected String |
BinaryStringDataType.castForPattern(Object v,
Node node,
Field field) |
protected String |
StringDataType.castForPattern(Object v,
Node node,
Field field) |
String |
BinaryStringDataType.castForSearch(Object value,
Node node,
Field field) |
String |
XmlDataType.castForSearch(Object value,
Node node,
Field field) |
Integer |
NodeDataType.castForSearch(Object value,
Node node,
Field field) |
Object |
BasicDataType.castForSearch(Object value,
Node node,
Field field) |
Object |
DataType.castForSearch(Object value,
Node node,
Field field)
Sometimes the the representation of the value is a bit different in the database, or has a
different type.
|
protected String |
BinaryStringDataType.castToPresent(Object value,
Node node,
Field field) |
protected String |
BasicDataType.castToPresent(Object value,
Node node,
Field field)
If the value must be shown, e.g.
|
protected String |
BinaryDataType.castToPresent(Object value,
Node node,
Field field) |
protected SerializableInputStream |
BinaryStringDataType.castToValidate(Object value,
Node node,
Field field) |
protected Object |
NumberDataType.castToValidate(Object value,
Node node,
Field field) |
protected Object |
NodeDataType.castToValidate(Object value,
Node node,
Field field) |
protected Object |
BasicDataType.castToValidate(Object value,
Node node,
Field field)
Before validating the value, the value will be 'cast', on default this will be to the
'correct' type, but it can be a more generic type sometimes.
|
protected Object |
DateTimeDataType.castToValidate(Object value,
Node node,
Field field) |
void |
VerifyEmailProcessor.commit(Node node,
Field field) |
protected String |
VerifyEmailProcessor.encryptKey(Node node,
Field field,
String key) |
protected boolean |
BasicDataType.StaticAbstractRestriction.enforce(Object v,
Node node,
Field field)
|
protected Cloud |
NodeDataType.MustExistRestriction.getCloud(Node node,
Field field) |
protected Cloud |
BasicDataType.getCloud(Node node,
Field field) |
Collection<Map.Entry<C,String>> |
BasicDataType.EnumerationRestriction.getEnumeration(Locale locale,
Cloud cloud,
Node node,
Field field) |
Collection<C> |
BasicDataType.EnumerationRestriction.getEnumerationKeys(Locale locale,
Cloud cloud,
Node node,
Field field) |
String |
BasicDataType.getEnumerationValue(Locale locale,
Cloud cloud,
Node node,
Field field,
Object key)
Returns a (gui) value from a list of restricted enumerated values, or
null if no enumeration restrictions apply or the value cannot be found. |
String |
DataType.getEnumerationValue(Locale locale,
Cloud cloud,
Node node,
Field field,
Object key)
Returns a (gui) value from a list of restricted enumerated values, or
null if no enumeration restrictions apply or the value cannot be found. |
Iterator<Map.Entry<Integer,String>> |
WeekdaysDataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field) |
Iterator<Map.Entry<String,String>> |
ComponentNamesDataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field) |
Iterator<Map.Entry<String,String>> |
NodeManagerNamesDataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field) |
Iterator<Map.Entry<C,String>> |
BasicDataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field)
Returns an iterator over all possible values for this datatype, as
Map.Entrys, or
null if no enumeration restrictions apply. |
Iterator<Map.Entry<String,String>> |
LanguageDataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field) |
Iterator<Map.Entry<C,String>> |
DataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field)
Returns an iterator over all possible values for this datatype, as
Map.Entrys, or
null if no enumeration restrictions apply. |
Iterator<Map.Entry<String,String>> |
SecurityContextDataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field) |
MimeType |
BinaryDataType.getMimeType(Object value,
Node node,
Field field) |
String |
CaptchaDataType.Handler.input(Request request,
Node node,
Field field,
boolean search) |
protected <D> D |
BooleanDataType.preCast(D value,
Cloud cloud,
Node node,
Field field) |
protected <D> D |
BasicDataType.preCast(D value,
Cloud cloud,
Node node,
Field field)
This method implements 'precasting', which can be seen as a kind of datatype specific
casting.
|
<D> D |
BasicDataType.preCast(D value,
Node node,
Field field)
Before actually 'cast' an object to the right type, it may undergo some conversion by the
datatype, e.g.
|
<D> D |
DataType.preCast(D value,
Node node,
Field field)
Before actually 'cast' an object to the right type, it may undergo some conversion by the
datatype, e.g.
|
Object |
VerifyEmailProcessor.process(Node node,
Field field,
Object value) |
Object |
LanguageDataType.Getter.process(Node node,
Field field,
Object value) |
protected void |
CaptchaDataType.Handler.setValue(Request request,
Node node,
String fieldName,
Object value) |
protected boolean |
InternetAddressDataType.InternetAddressRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
CaptchaDataType.CaptchaRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
NodeDataType.MustExistRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
ListDataType.ItemRestriction.simpleValid(Object v,
Node node,
Field field) |
protected abstract boolean |
BasicDataType.StaticAbstractRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
BasicDataType.RequiredRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
BasicDataType.UniqueRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
BasicDataType.TypeRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
BasicDataType.EnumerationRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
StringDataType.PatternRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
DecimalDataType.PrecisionRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
DecimalDataType.ScaleRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
CheckEqualityDataType.FieldRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
ComparableDataType.MinRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
ComparableDataType.MaxRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
AbstractLengthDataType.MinRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
AbstractLengthDataType.MaxRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
MustBeTrueDataType.ValueRestriction.simpleValid(Object v,
Node node,
Field field) |
protected boolean |
BinaryDataType.MimeTypeRestriction.simpleValid(Object v,
Node node,
Field field) |
String |
BasicDataType.StaticAbstractRestriction.toString(Node node,
Field field) |
boolean |
BasicDataType.StaticAbstractRestriction.valid(Object v,
Node node,
Field field) |
boolean |
DataType.Restriction.valid(Object value,
Node node,
Field field)
This function should contain the actual logic of the restriction.
|
Collection<LocalizedString> |
BasicDataType.validate(C value,
Node node,
Field field) |
Collection<LocalizedString> |
DataType.validate(C value,
Node node,
Field field)
Checks if the passed object obeys the restrictions defined for this type.
|
protected Collection<LocalizedString> |
BasicDataType.StaticAbstractRestriction.validate(Collection<LocalizedString> errors,
Object v,
Node node,
Field field)
This method is called by
BasicDataType.validate(Object, Node, Field) for each of its conditions. |
protected Collection |
ListDataType.ItemRestriction.validate(Collection errors,
Object v,
Node node,
Field field) |
protected Collection<LocalizedString> |
InternetAddressDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
CaptchaDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
NodeDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
ListDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
BasicDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
StringDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
DecimalDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
CheckEqualityDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
ComparableDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
AbstractLengthDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
MustBeTrueDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
BinaryDataType.validateCastValue(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
BasicDataType.validateCastValueOrNull(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
StringDataType.validateCastValueOrNull(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
AbstractLengthDataType.validateCastValueOrNull(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
BinaryStringDataType.validateRequired(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
BasicDataType.validateRequired(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected Collection<LocalizedString> |
BinaryDataType.validateRequired(Collection<LocalizedString> errors,
Object castValue,
Object value,
Node node,
Field field) |
protected String |
BasicDataType.StaticAbstractRestriction.valueString(Node node,
Field field)
If value of a a restriction depends on node, field, then you can override this
|
protected String |
BasicDataType.EnumerationRestriction.valueString(Node node,
Field field) |
| Constructor and Description |
|---|
RestrictedEnumerationIterator(Locale locale,
Cloud cloud,
Node node,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
AbstractHandler.cast(Object value,
Node node,
Field field) |
abstract C |
AbstractHandler.check(Request request,
Node node,
Field field,
boolean errors) |
C |
Handler.check(Request request,
Node node,
Field field,
boolean errors)
Checks the user input, and invalidates the request, if this user input was invalid.
|
protected Object |
AbstractHandler.getEvaluatedFieldValue(Request request,
Node node,
Field field)
Returns the field value to be used in the page.
|
protected Object |
AbstractHandler.getFieldValue(Request request,
Node node,
Field field)
Returns the field value as specified by the client's post.
|
protected Object |
AbstractHandler.getFieldValue(Request request,
Node node,
Field field,
boolean form) |
protected Object |
AbstractHandler.getValue(Node node,
String fieldName) |
abstract C |
AbstractHandler.input(Request request,
Node node,
Field field,
boolean search) |
C |
Handler.input(Request request,
Node node,
Field field,
boolean search)
Produces an form input field for the given Node, and Field.
|
boolean |
AbstractHandler.set(Request request,
Node node,
Field field) |
boolean |
Handler.set(Request request,
Node node,
Field field)
Sets the user's input into the field of the node
|
protected void |
AbstractHandler.setValue(Request request,
Node node,
String fieldName,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HtmlHandler.appendClasses(Request request,
StringBuilder buf,
Node node,
Field field) |
protected void |
HtmlHandler.appendClasses(StringBuilder buf,
Node node,
Field field)
Deprecated.
|
String |
HtmlHandler.check(Request request,
Node node,
Field field,
boolean errors) |
protected Object |
BinaryHandler.getFieldValue(Request request,
Node node,
Field field)
Returns the field value as specified by the client's post.
|
protected Iterator<Map.Entry<Object,String>> |
EnumHandler.getIterator(Request request,
Node node,
Field field) |
String |
TextHandler.input(Request request,
Node node,
Field field,
boolean search) |
String |
AreaHandler.input(Request request,
Node node,
Field field,
boolean search) |
String |
BinaryHandler.input(Request request,
Node node,
Field field,
boolean search) |
String |
EnumHandler.input(Request request,
Node node,
Field field,
boolean search) |
protected void |
BinaryHandler.setValue(Request request,
Node node,
String fieldName,
Object value) |
| Modifier and Type | Field and Description |
|---|---|
Node |
DelayedSetter.NodeField.node |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
Related.AbstractProcessor.getRelatedNode(Node node,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryFile.Delete.commit(Node node,
Field field) |
void |
OriginTrace.commit(Node node,
Field field) |
void |
EmptyCommitProcessor.commit(Node node,
Field field) |
void |
Ip.commit(Node node,
Field field) |
void |
LastModified.commit(Node node,
Field field) |
void |
BinaryCommitProcessor.commit(Node node,
Field field) |
void |
PosrelCommitProcessor.commit(Node node,
Field field) |
void |
ObjectTypeChangerCommitProcessor.commit(Node node,
Field field) |
void |
CommitProcessor.commit(Node node,
Field field)
Will be called on commit of the node.
|
void |
Creator.commit(Node node,
Field field) |
void |
FunctionValueIfEmptyCommitProcessor.commit(Node node,
Field field) |
void |
ChainedCommitProcessor.commit(Node node,
Field field) |
void |
LastModifier.commit(Node node,
Field field) |
protected void |
Related.AbstractProcessor.createRelation(Node node,
Node dest,
NodeList rl) |
protected boolean |
OtherField.AbstractProcessor.empty(Node n,
String field) |
protected String |
Related.AbstractProcessor.getKey(Node node,
Field field) |
protected NodeManager |
Related.AbstractProcessor.getRelatedCreateType(Node node) |
protected Node |
Related.AbstractProcessor.getRelatedNode(Node node,
Field field) |
protected NodeQuery |
Related.AbstractProcessor.getRelatedQuery(Node node) |
protected NodeManager |
Related.AbstractProcessor.getRelatedType(Node node) |
protected RelationManager |
Related.AbstractProcessor.getRelationManager(Node node) |
protected NodeQuery |
Related.AbstractProcessor.getRelationsQuery(Node node) |
protected Object |
Duration.DataType.preCast(Object value,
Cloud cloud,
Node node,
Field field) |
Object |
DelayedSetter.process(Node node,
Field field,
Object value) |
Object |
DelayedGetter.process(Node node,
Field field,
Object value) |
Object |
BinaryFile.Setter.process(Node node,
Field field,
Object value) |
Object |
BinaryFile.Getter.process(Node node,
Field field,
Object value) |
Object |
BinaryFile.StringGetter.process(Node node,
Field field,
Object value) |
Object |
FileNameProcessor.process(Node node,
Field field,
Object value) |
Object |
IgnoreEmptyProcessor.process(Node node,
Field field,
Object value) |
Object |
RelatedList.Setter.process(Node node,
Field field,
Object value) |
Object |
RelatedList.Getter.process(Node node,
Field field,
Object value) |
Object |
Duration.GetString.process(Node node,
Field field,
Object value) |
Object |
Duration.SetString.process(Node node,
Field field,
Object value) |
Object |
RelatedField.Setter.process(Node node,
Field field,
Object value) |
Object |
RelatedField.Getter.process(Node node,
Field field,
Object value) |
Object |
NodeNumber.process(Node node,
Field field,
Object value) |
Object |
Readonly.process(Node node,
Field field,
Object value)
You can plug this in on every set-action besides 'object' which will make this
field unmodifiable, except for set(Object) itself (which is never used from editors).
|
Object |
KeywordsProcessor.process(Node node,
Field field,
Object value) |
Object |
CreationTimeGuesser.process(Node node,
Field field,
Object value) |
Object |
OtherField.Setter.process(Node node,
Field field,
Object value) |
Object |
OtherField.Getter.process(Node node,
Field field,
Object value) |
Object |
IgnoreIfChangedProcessor.process(Node node,
Field field,
Object value) |
Object |
FormatDateTime.process(Node node,
Field field,
Object value) |
Object |
Cookies.Getter.process(Node node,
Field field,
Object value) |
Object |
Cookies.Setter.process(Node node,
Field field,
Object value) |
Object |
CharTransformerProcessor.process(Node node,
Field field,
Object value) |
Object |
Age.Setter.process(Node node,
Field field,
Object value) |
Object |
Age.Getter.process(Node node,
Field field,
Object value) |
Object |
CopyProcessor.process(Node node,
Field field,
Object value) |
Object |
Processor.process(Node node,
Field field,
Object value) |
Object |
DefaultOwner.process(Node node,
Field field,
Object value) |
Object |
ObjectTypeChangerCommitProcessor.Getter.process(Node node,
Field field,
Object value) |
Object |
ContextProcessor.Get.process(Node node,
Field field,
Object value) |
Object |
ContextProcessor.Set.process(Node node,
Field field,
Object value) |
Object |
FunctionValueIfEmptyGetter.process(Node node,
Field field,
Object value) |
Object |
ChainedProcessor.process(Node node,
Field field,
Object value) |
Object |
PathRelatedList.Getter.process(Node node,
Field field,
Object value) |
Object |
Related.Creator.process(Node node,
Field field,
Object value) |
Object |
Related.Setter.process(Node node,
Field field,
Object value) |
Object |
Related.Getter.process(Node node,
Field field,
Object value) |
Object |
FormatQuantity.process(Node node,
Field field,
Object value) |
Object |
FormatQuantity.Parser.process(Node node,
Field field,
Object value) |
| Constructor and Description |
|---|
NodeField(Node n,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
Object |
HtmlSetString.process(Node node,
Field field,
Object value) |
Object |
FieldGetString.process(Node node,
Field field,
Object value) |
Object |
FieldSetString.process(Node node,
Field field,
Object value) |
Object |
HtmlGetString.process(Node node,
Field field,
Object value) |
| Modifier and Type | Field and Description |
|---|---|
static Parameter<Node> |
Framework.N
A framework must be able to provide a node to the rendered blocks.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Node |
Framework.getUserNode(Parameters frameworkParameters)
Return an MMBase Node for the user currently using the framework.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Map.Entry<String,String>> |
Setting.DataType.getEnumerationValues(Locale locale,
Cloud cloud,
Node node,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
Node |
BasicFramework.getUserNode(Parameters frameworkParameters) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
FlashGuiFunction.getFunctionValue(Node node,
Parameters parameters) |
protected String |
FlashGuiFunction.getGuiForNewFlash(Node node,
Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
StripJsessionidCommitProcessor.commit(Node n,
Field f) |
| Modifier and Type | Field and Description |
|---|---|
protected static Parameter<Node> |
Properties.NODE |
| Modifier and Type | Method and Description |
|---|---|
protected List<Node> |
Properties.getValueNode(Node node,
String key) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
AbstractServletBuilder.getFileName(Node node,
StringBuilder buf) |
protected NodeList |
Properties.getPropertyNodes(Node node) |
protected Object |
Properties.getValue(Node node,
String key) |
protected List<Node> |
Properties.getValueNode(Node node,
String key) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
Properties.getValue(List<Node> prop) |
| Modifier and Type | Method and Description |
|---|---|
protected static Node |
MMObjectNodeFunction.getNode(MMObjectNode coreNode,
Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected MMObjectNode |
MMObjectNodeFunction.getCoreNode(MMObjectBuilder builder,
Node node)
Utility method to convert a
Node to a MMObjectNode. |
void |
SmartPathFunction.setNode(Node n) |
| Modifier and Type | Method and Description |
|---|---|
Node |
MMBaseIndexDefinition.getNode(Cloud userCloud,
org.apache.lucene.document.Document doc) |
Node |
JdbcIndexDefinition.getNode(Cloud userCloud,
org.apache.lucene.document.Document doc) |
Node |
IndexDefinition.getNode(Cloud cloud,
org.apache.lucene.document.Document doc)
Defines how a Node for this index must be produced.
|
Node |
Indexer.getNode(Cloud userCloud,
org.apache.lucene.document.Document doc) |
protected Node |
MMBaseEntry.getNode(IndexFieldDefinition fd) |
| Constructor and Description |
|---|
MMBaseEntry(Node node,
Collection<IndexFieldDefinition> fields,
boolean multiLevel,
NodeManager elementManager,
Step elementStep,
Collection<IndexDefinition> subQueries) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CloudMailHandler.nodeSetHeader(Node node,
String fieldName,
javax.mail.Address[] values) |
protected void |
CloudMailHandler.nodeSetHeader(Node node,
String fieldName,
String value) |
| Modifier and Type | Field and Description |
|---|---|
protected Node |
Notifyable.node |
| Modifier and Type | Method and Description |
|---|---|
Node |
Notifyable.getNode()
returs node of type notifyable
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Notifyable.addNotifyables(Queue queue,
Node notifyable,
Date date,
Date after) |
void |
CommitProcessor.commit(Node node,
Field field) |
| Constructor and Description |
|---|
Notifyable(Node n,
Date d,
int po,
int o) |
| Modifier and Type | Method and Description |
|---|---|
void |
Total.setNode(Node node)
Makes this bean useable as a Node function.
|
| Modifier and Type | Method and Description |
|---|---|
static Node |
Mmxf.createTree(Node node,
Node root,
RelationManager relationManager,
int depth,
String titleField,
String xmlField,
Writer feedBack)
Creates a a tree of Nodes from an mmxf DOM-Node.
|
static Node |
Mmxf.createTree(Node node,
RelationManager relationManager,
int depth,
Writer buf)
|
| Modifier and Type | Method and Description |
|---|---|
static Node |
Mmxf.createTree(Node node,
Node root,
RelationManager relationManager,
int depth,
String titleField,
String xmlField,
Writer feedBack)
Creates a a tree of Nodes from an mmxf DOM-Node.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GetIndex.process(Node node,
Field field,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Node |
Wiki.findById(Element a,
NodeList links,
String fieldName,
Set<String> usedIds)
Searches in the existsing relations for a relation with the
given id
|
(package private) Node |
Wiki.getNode(Cloud cloud,
String id,
String fieldName)
Simply considers the id the node-number, but this could be sophisitcated on.
|
static Node |
Util.getUrlNode(Cloud cloud,
String href,
Element a) |
| Modifier and Type | Method and Description |
|---|---|
static Document |
MmxfGetString.getDocument(Node node,
Field field)
Returns a 'objects' Document containing the node with the mmxf field plus all idrelated objects
|
static NodeList |
Util.getRelatedNodes(Node editedNode,
NodeManager dest) |
(package private) Document |
DocBook.parse(Node editedNode,
Document source)
Receives Docbook XML, and saves as MMXF.
|
(package private) Document |
Kupu.parse(Node editedNode,
Document document)
Parses kupu-output for a certain node.
|
(package private) Document |
Wiki.parse(Node editedNode,
Field field,
Document source) |
Object |
UnPGet.process(Node node,
Field field,
Object value) |
Object |
MmxfGetString.process(Node node,
Field field,
Object value) |
Object |
MmxfSetString.process(Node node,
Field field,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Kupu.cleanDanglingIdRels(NodeList clusterNodes,
List<Map.Entry<String,Node>> usedNodes,
String type)
At the end of stage 2 of parse all relations are removed which are not used any more, using this function.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SRNodeHandler.appendClasses(Request request,
StringBuilder buf,
Node node,
Field field) |
String |
SRNodeHandler.check(Request request,
Node node,
Field field,
boolean errors) |
(package private) Query |
SRNodeHandler.getQuery(Cloud cloud,
Node node,
Field field) |
String |
SRNodeHandler.input(Request request,
Node node,
Field field,
boolean search) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Node |
ConvertTool.getNode(NodeManager nm,
String name) |
(package private) Node |
ConvertTool.getNode(NodeManager nm,
String name,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ContextBuilderFunctions.allows(Node context,
Node groupOrUser,
Operation operation) |
static boolean |
ContextBuilderFunctions.grant(Node context,
Node groupOrUser,
Operation operation,
UserContext user) |
static boolean |
ContextBuilderFunctions.may(Node context,
UserContext user,
String usertocheck,
Operation operation) |
static boolean |
ContextBuilderFunctions.maygrant(Node context,
Node groupOrUser,
Operation operation,
UserContext user) |
static boolean |
ContextBuilderFunctions.mayrevoke(Node context,
Node groupOrUser,
Operation operation,
UserContext user) |
static boolean |
ContextBuilderFunctions.parentsallow(Node context,
Node groupOrUser,
Operation operation) |
static boolean |
ContextBuilderFunctions.revoke(Node context,
Node groupOrUser,
Operation operation,
UserContext user) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Functions.markForDelete(Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
ImageServlet.desperatelyGetNode(Cloud cloud,
String nodeIdentifier)
Overridden to support 'title aliases'.
|
protected Node |
BridgeServlet.desperatelyGetNode(Cloud cloud,
String nodeIdentifier)
Extensions can override this, to produce a node, even if cloud.hasNode failed.
|
(package private) Node |
BridgeServlet.QueryParts.getNode() |
protected Node |
BridgeServlet.getNode(BridgeServlet.QueryParts query)
Servlets would often need a node.
|
(package private) Node |
BridgeServlet.QueryParts.getServedNode() |
protected Node |
ImageServlet.getServedNode(BridgeServlet.QueryParts query,
Node node)
ImageServlet can serve a icache node in stead (using the 'extra parameters)'
|
protected Node |
BridgeServlet.getServedNode(BridgeServlet.QueryParts qp,
Node node)
If the node associated with the resonse is another node then the node associated with the request.\
(E.g.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
HandleServlet.getContentDisposition(BridgeServlet.QueryParts query,
Node node,
String def) |
protected String |
HandleServlet.getFileName(Node node,
Node titleNode,
String def) |
protected String |
HandleServlet.getMimeType(Node node)
Forces download in browsers.
|
protected String |
ImageServlet.getMimeType(Node node) |
protected String |
AttachmentServlet.getMimeType(Node node)
Determines the mimetype.
|
protected Node |
ImageServlet.getServedNode(BridgeServlet.QueryParts query,
Node node)
ImageServlet can serve a icache node in stead (using the 'extra parameters)'
|
protected Node |
BridgeServlet.getServedNode(BridgeServlet.QueryParts qp,
Node node)
If the node associated with the resonse is another node then the node associated with the request.\
(E.g.
|
protected long |
HandleServlet.getSize(NodeManager manager,
Node node) |
protected boolean |
HandleServlet.setCacheControl(javax.servlet.http.HttpServletResponse res,
Node node)
Sets cache-controlling headers.
|
protected boolean |
HandleServlet.setContent(BridgeServlet.QueryParts query,
Node node,
String mimeType)
Sets the content disposition header.
|
protected boolean |
ImageServlet.setContent(BridgeServlet.QueryParts query,
Node node,
String mimeType)
Content-Disposition header
Sets the content disposition header.
|
protected boolean |
HandleServlet.setExpires(javax.servlet.http.HttpServletResponse res,
Node node)
Sets the exires header.
|
(package private) void |
BridgeServlet.QueryParts.setNode(Node node) |
(package private) void |
BridgeServlet.QueryParts.setServedNode(Node node) |
| Modifier and Type | Method and Description |
|---|---|
Object |
NumberRecognizer.process(Node node,
Field field,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
static Node |
CreateSourcesWithoutProcessFunction.getMediaSource(Node mediafragment) |
static Node |
CreateSourcesWithoutProcessFunction.getMediaSource(Node mediafragment,
Boolean cache)
The media source node of this mediafragment, containing the original stream or file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DeleteCachesProcessor.commit(Node node,
Field field) |
protected Boolean |
ChangeWithoutProcessFunction.getFunctionValue(Node source,
Parameters parameters) |
protected Boolean |
CreateCachesFunction.getFunctionValue(Node node,
Parameters parameters) |
protected Boolean |
UpdateSourcesFunction.getFunctionValue(Node source,
Parameters parameters) |
protected File |
FileFunction.getFunctionValue(Node source,
Parameters parameters) |
Boolean |
CreateSourcesWithoutProcessFunction.getFunctionValue(Node media,
Parameters parameters) |
static Node |
CreateSourcesWithoutProcessFunction.getMediaSource(Node mediafragment) |
static Node |
CreateSourcesWithoutProcessFunction.getMediaSource(Node mediafragment,
Boolean cache)
The media source node of this mediafragment, containing the original stream or file.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) Node |
TranscoderResult.dest |
(package private) Node |
RecognizerResult.source |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
Job.getCacheNode(Node src,
String key)
Gets and/or creates the node representing the 'cached' stream (the result of a conversion),
see the builder property 'org.mmbase.streams.cachestype'.
|
protected Node |
Job.getCacheNode(String key)
Gets and/or creates the node representing the 'cached' stream, uses this (source) node as
infile to create cache from.
|
Node |
RecognizerResult.getDestination() |
Node |
TranscoderResult.getDestination() |
Node |
SkippedResult.getDestination() |
abstract Node |
Result.getDestination()
The Node receiving the result or
null if that is not applicable (for recognizers). |
Node |
Job.getMediafragment() |
Node |
Job.getNode() |
Node |
RecognizerResult.getSource() |
| Modifier and Type | Method and Description |
|---|---|
static String |
Processor.cancelJob(Node node) |
void |
Processor.commit(Node node,
Field field)
Commits the mediastreamsources node, calls createCaches to create resulting streamscaches nodes
and start transcoding.
|
protected Node |
Job.getCacheNode(Node src,
String key)
Gets and/or creates the node representing the 'cached' stream (the result of a conversion),
see the builder property 'org.mmbase.streams.cachestype'.
|
protected Boolean |
WaitUntilTranscodingFunction.getFunctionValue(Node node,
Parameters parameters) |
protected Boolean |
WaitUntilRecognizedFunction.getFunctionValue(Node node,
Parameters parameters) |
static Job |
Processor.getJob(Node node) |
protected static boolean |
Processor.removeJob(Node node) |
void |
Job.setNode(Node n)
Source Node on which this Job will run.
|
| Constructor and Description |
|---|
RecognizerResult(JobDefinition def,
Node source,
URI in) |
TranscoderResult(File directory,
JobDefinition def,
Node dest,
URI in,
URI out) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
DownloadFunction.getDownloadStatus(Node node) |
String |
DownloadFunction.getFunctionValue(Node node,
Parameters parameters) |
protected String |
DownloadFunction.getProperty(Node node,
String key) |
protected void |
DownloadFunction.setDownloadStatus(Node node,
String status) |
protected void |
DownloadFunction.setDownloadUrl(Node node,
String link) |
void |
Downloader.setNode(Node n) |
protected void |
DownloadFunction.setProperty(Node node,
String key,
String value) |
protected Future<String> |
DownloadFunction.submit(Node node,
Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
protected static Node |
ThumbNailFunction.getDefault(Cloud cloud) |
protected Node |
WaitFunction.getFunctionValue(Node node,
Parameters parameters) |
protected Node |
ThumbNailFunction.getFunctionValue(Node node,
Parameters parameters) |
protected static Node |
ThumbNailFunction.getSourceNode(Node node) |
(package private) static Node |
ThumbNailFunction.getThumbNail(Node node,
Long offset) |
| Modifier and Type | Method and Description |
|---|---|
protected Node |
WaitFunction.getFunctionValue(Node node,
Parameters parameters) |
protected String |
GuiFunction.getFunctionValue(Node node,
Parameters parameters) |
protected Node |
ThumbNailFunction.getFunctionValue(Node node,
Parameters parameters) |
protected static Node |
ThumbNailFunction.getSourceNode(Node node) |
(package private) static Node |
ThumbNailFunction.getThumbNail(Node node,
Long offset) |
Object |
TitleField.process(Node node,
Field field,
Object value) |
(package private) static long |
WaitFunction.wait(Node thumb) |
(package private) static long |
WaitFunction.wait(Node thumb,
Integer timeout) |
| Constructor and Description |
|---|
FFMpegThumbNailCreator(Node node,
Field field) |
| Modifier and Type | Field and Description |
|---|---|
protected Node |
AnalyzerLogger.destination |
protected Node |
AnalyzerLogger.source |
| Modifier and Type | Method and Description |
|---|---|
void |
SegmenterAnalyzer.analyze(String l,
Node source,
Node des) |
void |
FFMpeg2TheoraAnalyzer.analyze(String l,
Node source,
Node des) |
void |
FFMpegAnalyzer.analyze(String l,
Node source,
Node des) |
void |
Analyzer.analyze(String l,
Node source,
Node dest)
Analyzes a line of logging of
|
void |
ChainedAnalyzer.analyze(String l,
Node source,
Node dest) |
void |
MockAnalyzer.analyze(String l,
Node source,
Node des) |
boolean |
AnalyzerUtils.audio(String l,
Node source,
Node dest)
Looks for audio channel(s).
|
boolean |
AnalyzerUtils.dimensions(String l,
Node source,
Node dest)
Looks for width and height when it finds a match for Video, and looks for bitrate after that.
|
boolean |
AnalyzerUtils.duration(String l,
Node source,
Node dest)
Matches duration, records that and tries to match bitrate and start on that same line.
|
void |
AnalyzerUtils.filelastModified(Node node) |
protected void |
AnalyzerUtils.fixMimeType(String type,
Node node)
This fixes the first part (f.e.
|
boolean |
AnalyzerUtils.image(String l,
Node source,
Node dest) |
boolean |
AnalyzerUtils.image2(String l,
Node source,
Node dest)
Matches on Input and looks for the 'image2' format which indicates that the input is an image.
|
void |
SegmenterTranscoder.init(Node dest)
Saves mimetype (application/x-mpegurl) in destination node when not set, deletes former
segments when re-transcoding and removes punctuation, whitespace etc from filename.
|
void |
FFMpegTranscoder.init(Node dest)
Saving values like width, height, normally when re-transcoding
|
void |
RecognizerTranscoder.init(Node d) |
void |
Transcoder.init(Node destination)
Init the transcoder and destination node with appropiate values.
|
void |
FFMpegSegmenterTranscoder.init(Node dest) |
void |
FFMpeg2TheoraTranscoder.init(Node dest)
Saves values video codec in codec (Theora)) and audio codec in acodec (Vorbis) in destination node.
|
void |
AbstractTranscoder.init(Node dest) |
boolean |
AnalyzerUtils.output(String l,
Node source,
Node dest) |
boolean |
AnalyzerUtils.png(String l,
Node source,
Node dest)
Matches on Input and looks for the 'image2' format which indicates that the input is an image.
|
void |
SegmenterAnalyzer.ready(Node sourceNode,
Node destNode) |
void |
FFMpeg2TheoraAnalyzer.ready(Node sourceNode,
Node destNode) |
void |
FFMpegAnalyzer.ready(Node sourceNode,
Node destNode) |
void |
Analyzer.ready(Node source,
Node dest) |
void |
ChainedAnalyzer.ready(Node source,
Node dest) |
void |
MockAnalyzer.ready(Node sourceNode,
Node destNode) |
void |
AnalyzerUtils.toAudio(Node source,
Node dest) |
void |
AnalyzerUtils.toImage(Node source,
Node dest) |
void |
AnalyzerUtils.toVideo(Node source,
Node dest) |
boolean |
AnalyzerUtils.unsupported(String l,
Node source,
Node dest) |
boolean |
AnalyzerUtils.video(String l,
Node source,
Node dest) |
| Constructor and Description |
|---|
AnalyzerLogger(Analyzer a,
Node source,
Node destination) |
| Modifier and Type | Method and Description |
|---|---|
Node |
Casting.NodeListWrapper.get(int index) |
(package private) Node |
ResourceLoader.getResourceNode(String name) |
static Node |
Casting.toNode(Object i,
Cloud cloud)
Convert an object to an Node.
|
| Modifier and Type | Method and Description |
|---|---|
List<Map.Entry<C,String>> |
LocalizedEntryListFactory.get(Locale locale,
Cloud c,
Node node,
Field field) |
List<C> |
LocalizedEntryListFactory.getKeys(Locale locale,
Cloud c,
Node node,
Field field) |
protected List<Map.Entry<C,? extends CharSequence>> |
LocalizedEntryListFactory.getLazy(Locale locale,
Cloud c,
Node node,
Field field) |
List<Query> |
LocalizedEntryListFactory.getQueries(Cloud cloud,
Node node,
Field field)
Return the
Query's that define this enumeration factory. |
| Modifier and Type | Field and Description |
|---|---|
static ReturnType<Node> |
ReturnType.NODE
The return type of a function that returns a Node.
|
static Parameter<Node> |
Parameter.NODE
'system' parameter set for nodefunctions.
|
| Modifier and Type | Method and Description |
|---|---|
protected Node |
CloneNodeFunction.getFunctionValue(Node node,
Parameters parameters) |
protected Node |
NodeFunction.getNode(Parameters parameters) |
Node |
ExampleBean.nodeFunction2()
A function returning a Node as a bridge object, but based on a Map of values.
|
| Modifier and Type | Method and Description |
|---|---|
static Function |
FunctionFactory.getFunction(Node node,
String functionName)
Gets a function object for a Node.
|
protected Node |
CloneNodeFunction.getFunctionValue(Node node,
Parameters parameters) |
protected String |
GuiFunction.getFunctionValue(Node node,
Parameters parameters) |
protected String |
PatternNodeFunctionProvider.PatternNodeFunction.getFunctionValue(Node node,
Parameters parameters) |
protected abstract R |
NodeFunction.getFunctionValue(Node node,
Parameters parameters) |
static FieldValue |
NodeFunction.getFunctionValue(Node node,
String function)
Utility function, for easy call of function on node by one string.
|
R |
NodeFunction.getFunctionValueForNode(Node node,
Parameters parameters)
Just a public wrapper around
NodeFunction.getFunctionValue(Node, Parameters) (of which we don't want to loosen the scope, because it may be overriden protected). |
Function<R> |
NodeFunction.newInstance(Node node)
Returns a new instance of NodeInstanceFunction, which represents an actual Function.
|
void |
ExampleBean.setNode(Node node)
Makes this bean useable as a Node function.
|
| Modifier and Type | Field and Description |
|---|---|
protected Node |
LazyDimension.node |
| Constructor and Description |
|---|
LazyDimension(Node n,
String t) |
| Modifier and Type | Method and Description |
|---|---|
void |
VersioningCommitProcessor.commit(Node node,
Field field) |
void |
IdRelVersioningCommitProcessor.commit(Node node,
Field field) |
(package private) void |
IdRelVersioningCommitProcessor.fillFromAndToFields(Node node,
Field field)
Fills 'version_from', 'version_to' of all idrels of this node for which they are empty.
|
(package private) static NodeList |
IdRelVersioningCommitProcessor.getIdRels(Node node) |
static NodeList |
VersioningCommitProcessor.getVersions(Node node) |
static NodeQuery |
VersioningCommitProcessor.getVersionsQuery(Node node) |
(package private) boolean |
IdRelVersioningCommitProcessor.isRelevant(Node idrel,
Node node) |
(package private) static boolean |
IdRelVersioningCommitProcessor.isVersionFieldsFilled(Node idrel) |
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}