| Package | Description |
|---|---|
| org.mmbase.applications.email | |
| org.mmbase.applications.media.builders |
The basic builders for the object model associated with the MMBase
media project.
|
| org.mmbase.applications.media.cache | |
| org.mmbase.applications.media.urlcomposers |
URL composers contain the information to create an URL.
|
| org.mmbase.applications.xmlimporter |
Provides classes and interfaces for importing a Temporary Cloud of Objects (TCP) into the permanent MMBase Persistent Cloud of Objects (PCO).
|
| org.mmbase.bridge.implementation |
This package provides the basic implementations for the interfaces of org.mmbase.bridge.
|
| org.mmbase.cache |
The goal of this package is to centralize the MMBase
caches.
|
| org.mmbase.clustering | |
| org.mmbase.core.event | |
| org.mmbase.core.util | |
| org.mmbase.jumpers | |
| org.mmbase.module |
The modules used to load MMBase and optional MMBase functionality.
|
| org.mmbase.module.builders |
The MMBase standard and optional builders.
|
| org.mmbase.module.builders.vwms | |
| org.mmbase.module.core |
The core classes for MMBase.
|
| org.mmbase.module.corebuilders |
The MMBase core builders.
|
| org.mmbase.module.gui.html | |
| org.mmbase.mynews | |
| org.mmbase.richtext.builders | |
| org.mmbase.security.implementation.cloudcontext | |
| org.mmbase.security.implementation.cloudcontext.builders | |
| org.mmbase.security.implementation.cloudcontext.workflow | |
| org.mmbase.storage |
The interfaces that define the classes for persistent storage of objects.
|
| org.mmbase.storage.implementation.database | |
| org.mmbase.storage.search |
Provides interfaces for retrieval of data from
SearchQuery objects. |
| org.mmbase.storage.search.implementation.database | |
| org.mmbase.streams.builders | |
| org.mmbase.util | |
| org.mmbase.util.functions |
The function framework is all about the creation of
Function instances, from which
then, subsequently, function values can be acquired. |
| org.mmbase.util.images |
The packages contains classes and interfaces related to conversion of images and finding information about them.
|
| org.mmbase.util.jumpers | |
| org.mmbase.util.xml.applicationdata |
| Modifier and Type | Method and Description |
|---|---|
(package private) List<MMObjectNode> |
EmailBuilder.getDeliveredMailOlderThan(long expireAge)
Returns all the one-shot delivered mail nodes older than a specified time.
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
AudioSources.addAudioSource(MMObjectNode audiofragment,
int format,
int codec,
int bitrate,
int channels,
String url,
int state,
String owner)
Creates a new audiosource and relates it to an audiofragment.
|
MMObjectNode |
MediaSources.createSource(MMObjectNode mediafragment,
int status,
int format,
int speed,
int channels,
String url,
String owner)
create a new mediasource, and relate it with specified mediafragment.
|
MMObjectNode |
MediaFragments.getRootFragment(MMObjectNode fragment)
Find the mediafragment of which the given mediafragment is a
part.
|
| Modifier and Type | Method and Description |
|---|---|
Stack<MMObjectNode> |
MediaFragments.getParentFragments(MMObjectNode fragment)
Returns a Stack with all parent fragments.
|
protected List<MMObjectNode> |
MediaSources.getProviders(MMObjectNode source)
Get all mediaproviders belonging to this mediasource
|
List<MMObjectNode> |
MediaFragments.getSources(MMObjectNode fragment)
Get all mediasources belonging to this mediafragment
(scope should be protected)
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
AudioSources.addAudioSource(MMObjectNode audiofragment,
int format,
int codec,
int bitrate,
int channels,
String url,
int state,
String owner)
Creates a new audiosource and relates it to an audiofragment.
|
void |
MediaSources.addProvider(MMObjectNode source,
String providername,
String owner)
Relates a source with given provider.
|
protected long |
MediaFragments.calculateLength(MMObjectNode node)
Calculate the length of a mediafragment
|
boolean |
MediaSources.commit(MMObjectNode node)
The commit can be used to automatically fill unfilled fields.
|
MMObjectNode |
MediaSources.createSource(MMObjectNode mediafragment,
int status,
int format,
int speed,
int channels,
String url,
String owner)
create a new mediasource, and relate it with specified mediafragment.
|
boolean |
MediaFragments.equals(MMObjectNode o1,
MMObjectNode o2)
Implements equals for nodes (this is in MMObjectBuilder because you cannot override MMObjectNode)
|
protected Object |
MediaSources.executeFunction(MMObjectNode node,
String function,
List<?> args)
Executes a function on the field of a node, and returns the result.
|
protected Object |
MediaFragments.executeFunction(MMObjectNode node,
String function,
List<?> args)
Executes a function on the field of a node, and returns the result.
|
int |
MediaSources.getChannels(MMObjectNode node) |
protected Codec |
MediaSources.getCodec(MMObjectNode source)
The codec field is an integer, this function returns a string-presentation
|
protected List<URLComposer> |
MediaFragments.getFilteredURLs(MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
protected List<URLComposer> |
MediaSources.getFilteredURLs(MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info)
Returns all URLs for this source, but filtered, with the best ones on top.
|
protected Format |
MediaSources.getFormat(MMObjectNode source)
The format field is an integer, this function returns a string-presentation
|
protected String |
MediaSources.getFormat(MMObjectNode source,
Map<String,Object> info) |
protected String |
MediaFragments.getFormat(MMObjectNode fragment,
Map<String,Object> info) |
String |
MediaSources.getGUIIndicator(MMObjectNode source)
Used in the editors
|
String |
MediaFragments.getGUIIndicator(MMObjectNode node)
Will show the title (clickable if possible)
|
String |
MediaFragments.getGUIIndicator(String field,
MMObjectNode node) |
(package private) MimeType |
MediaSources.getMimeType(MMObjectNode source)
Resolve the mimetype for a certain media source
|
Object |
MediaFragments.getObjectValue(MMObjectNode node,
String field) |
Stack<MMObjectNode> |
MediaFragments.getParentFragments(MMObjectNode fragment)
Returns a Stack with all parent fragments.
|
protected List<MMObjectNode> |
MediaSources.getProviders(MMObjectNode source)
Get all mediaproviders belonging to this mediasource
|
MMObjectNode |
MediaFragments.getRootFragment(MMObjectNode fragment)
Find the mediafragment of which the given mediafragment is a
part.
|
List<MMObjectNode> |
MediaFragments.getSources(MMObjectNode fragment)
Get all mediasources belonging to this mediafragment
(scope should be protected)
|
int |
MediaSources.getSpeed(MMObjectNode node) |
protected String |
MediaSources.getURL(MMObjectNode source,
Map<String,Object> info)
Resolve the url of the mediasource.
|
protected String |
MediaFragments.getURL(MMObjectNode fragment,
Map<String,Object> info)
Retrieves the url of the mediasource that matches best.
|
protected List<URLComposer> |
MediaFragments.getURLs(MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
Returns a List of all possible (unfiltered) URLComposer's for this Fragment.
|
protected List<URLComposer> |
MediaSources.getURLs(MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
Returns all possible URLs for this source.
|
protected List<URLComposer> |
MediaProviders.getURLs(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
A MediaProvider can provide one or more URL's for every source
|
int |
MediaSources.insert(String owner,
MMObjectNode node) |
boolean |
MediaFragments.isSubFragment(MMObjectNode mediafragment)
If a mediafragment is coupled to another mediafragment instead of being directly
coupled to mediasources, the mediafragment is a subfragment.
|
void |
MediaFragments.removeSources(MMObjectNode fragment)
Removes related media sources.
|
boolean |
MediaFragments.setValue(MMObjectNode node,
String fieldname) |
boolean |
MediaSources.setValue(MMObjectNode node,
String fieldName,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
MediaFragments.addParentFragment(Stack<MMObjectNode> fragments)
Adds a parent fragment to the Stack and returns true, or returns false.
|
protected List<URLComposer> |
MediaFragments.getFilteredURLs(MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
protected List<URLComposer> |
MediaFragments.getURLs(MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
Returns a List of all possible (unfiltered) URLComposer's for this Fragment.
|
protected List<URLComposer> |
MediaSources.getURLs(MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
Returns all possible URLs for this source.
|
protected List<URLComposer> |
MediaProviders.getURLs(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
A MediaProvider can provide one or more URL's for every source
|
| Modifier and Type | Method and Description |
|---|---|
static String |
URLCache.toKey(MMObjectNode mediaFragment,
Map<String,Object> info)
creates a key based of the media fragment number and the user information
|
| Modifier and Type | Method and Description |
|---|---|
void |
URLCache.put(String key,
String result,
Set<MMObjectNode> objects)
put an entry in the cache
|
| Modifier and Type | Field and Description |
|---|---|
protected MMObjectNode |
FragmentURLComposer.fragment |
protected MMObjectNode |
URLComposer.provider |
protected MMObjectNode |
URLComposer.source |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
FragmentURLComposer.getFragment() |
MMObjectNode |
URLComposer.getProvider() |
MMObjectNode |
URLComposer.getSource() |
protected MMObjectNode |
MarkupURLComposer.getTemplate()
Typical for a 'MarkupURLComposer' is that it should have a
'template'.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<MMObjectNode> |
URLComposerFactory.getTemplates(MMObjectNode fragment)
You can relate template objects to media fragments.
|
| Modifier and Type | Method and Description |
|---|---|
List<URLComposer> |
URLComposerFactory.createURLComposers(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
When the provider/source/fragment combo is determined they can
be fed into this function of the urlcomposerfactory, which will
then produce zero or more urlcomposers.
|
static StringBuilder |
RealURLComposer.getRMArgs(StringBuilder args,
MMObjectNode fragment,
Map<String,Object> info) |
protected List<MMObjectNode> |
URLComposerFactory.getTemplates(MMObjectNode fragment)
You can relate template objects to media fragments.
|
void |
FragmentURLComposer.init(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
void |
URLComposer.init(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
void |
RamURLComposer.init(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
| Modifier and Type | Method and Description |
|---|---|
List<URLComposer> |
URLComposerFactory.createURLComposers(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
List<URLComposer> urls,
Set<MMObjectNode> cacheExpireObjects)
When the provider/source/fragment combo is determined they can
be fed into this function of the urlcomposerfactory, which will
then produce zero or more urlcomposers.
|
void |
FragmentURLComposer.init(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
void |
URLComposer.init(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
void |
RamURLComposer.init(MMObjectNode provider,
MMObjectNode source,
MMObjectNode fragment,
Map<String,Object> info,
Set<MMObjectNode> cacheExpireObjects) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
TmpObject.getNode()
Gets the temporary node corresponding to this object.
|
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
TmpObject.getRelationsInPersistentCloud()
Gets the relations of this object in the persistent cloud.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) MMObjectNode |
BasicNodeManager.NodeAndId.node |
protected MMObjectNode |
BasicNode.noderef
Reference to actual MMObjectNode object.
|
protected MMObjectNode |
BasicNode.originalNoderef |
MMObjectNode |
BasicRelationManager.relDefNode |
| Modifier and Type | Method and Description |
|---|---|
protected MMObjectNode |
BasicNode.getNode()
Obtains a reference to the underlying MMObjectNode.
|
protected MMObjectNode |
VirtualNode.getNode()
Obtains a reference to the underlying MMObjectNode.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) List<MMObjectNode> |
BasicCloud.checkNodes(List<MMObjectNode> in,
Query query) |
protected List<MMObjectNode> |
BasicCloud.getClusterNodes(Query query)
Result with all Cluster - MMObjectNodes, with cache.
|
protected Collection<MMObjectNode> |
BasicTransaction.getCoreNodes() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
BasicTransaction.contains(MMObjectNode node) |
(package private) boolean |
BasicCloud.contains(MMObjectNode node)
Checks wether the current transaction contains the given node.
|
(package private) void |
BasicTransaction.deleteNewNode(int temporaryNodeId,
MMObjectNode node) |
(package private) void |
BasicCloud.deleteNewNode(int temporaryNodeId,
MMObjectNode node) |
(package private) void |
BasicTransaction.deleteNode(int temporaryNodeId,
MMObjectNode node) |
(package private) void |
BasicCloud.deleteNode(int temporaryNodeId,
MMObjectNode node)
Ignored by basic cloud.
|
protected static Node |
AbstractNodeList.getNode(Cloud cloud,
NodeManager nodeManager,
MMObjectNode coreNode) |
(package private) BasicNode |
BasicTransaction.makeNode(MMObjectNode node,
String nodeNumber) |
(package private) BasicNode |
BasicCloud.makeNode(MMObjectNode node,
String nodeNumber) |
(package private) void |
BasicCloud.remove(MMObjectNode node)
Instructs core to reomve the Node
|
protected void |
BasicNodeManager.setDefaultsWithCloud(MMObjectNode node)
Sometimes default values can only be filled if a cloud is present, hence only in the bridge.
|
protected void |
BasicNode.setNode(MMObjectNode n)
Sets the reference to the underlying MMObjectNode.
|
protected void |
BasicNodeManager.setNodeManager(MMObjectNode node) |
protected void |
BasicNode.setNodeManager(MMObjectNode node)
Set nodemanager for node
|
protected void |
BasicRelationManager.setNodeManager(MMObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
(package private) List<MMObjectNode> |
BasicCloud.checkNodes(List<MMObjectNode> in,
Query query) |
| Constructor and Description |
|---|
BasicNode(MMObjectNode node,
BasicCloud cloud)
Instantiates a node, linking it to a specified cloud
The NodeManager for the node is requested from the Cloud.
|
BasicNode(MMObjectNode node,
BasicCloud cloud,
int id)
Instantiates a new node (for insert), using a specified nodeManager.
|
BasicNode(MMObjectNode node,
BasicNodeManager nodeManager)
Instantiates a node, linking it to a specified node manager.
|
BasicNodeManager(MMObjectNode node,
BasicCloud cloud)
Instantiates a NodeManager based on a node which either represents or references a builder.
|
BasicNodeManager(MMObjectNode node,
BasicCloud cloud,
int nodeid)
Instantiates a new NodeManager (for insert) based on a newly created node which either represents or references a builder.
|
BasicRelation(MMObjectNode node,
BasicCloud cloud) |
BasicRelation(MMObjectNode node,
BasicCloud cloud,
int id) |
BasicRelation(MMObjectNode node,
BasicRelationManager nodeManager) |
BasicRelationManager(MMObjectNode node,
BasicCloud cloud)
Creates a new instance of Relation manager.
|
BasicRelationManager(MMObjectNode node,
BasicCloud cloud,
int nodeId)
Creates a new Relation manager (for insert).
|
NodeAndId(MMObjectNode n,
int i) |
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
QueryResultCache.put(SearchQuery query,
List<MMObjectNode> queryResult)
Puts a search result in this cache.
|
List<MMObjectNode> |
QueryResultCache.remove(Object key)
Removes an object from the cache.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
ReleaseStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
implement this method to create your own strategy.
|
protected boolean |
BasicReleaseStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ChainedReleaseStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ConstraintsMatchingStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
BetterStrategy.doEvaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected abstract boolean |
ReleaseStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
implement this method to create your own strategy.
|
protected boolean |
BasicReleaseStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ChainedReleaseStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
ConstraintsMatchingStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
protected boolean |
BetterStrategy.doEvaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
ReleaseStrategy.StrategyResult |
ReleaseStrategy.evaluate(NodeEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult)
This method checks if evaluation should happen (active), keeps the time
of the operation and updates the statistics.
|
ReleaseStrategy.StrategyResult |
ReleaseStrategy.evaluate(RelationEvent event,
SearchQuery query,
List<MMObjectNode> cachedResult) |
List<MMObjectNode> |
QueryResultCache.put(SearchQuery query,
List<MMObjectNode> queryResult)
Puts a search result in this cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChangeManager.commit(MMObjectNode node,
String change) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChangeManager.commit(Map<MMObjectNode,String> changes)
Commit all changes stored in a Changes map.
|
| Constructor and Description |
|---|
WaitNode(MMObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
static NodeEvent |
NodeEventHelper.createNodeEventInstance(MMObjectNode node,
int eventType,
String machineName)
create an NodeEvent instance with an MMObjectNode
|
static RelationEvent |
NodeEventHelper.createRelationEventInstance(MMObjectNode node,
int eventType,
String machineName)
create an RelationEvent instnce with an MMObjectNode (builder should be specialization of insrel)
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
StorageConnector.getNode(int number,
boolean useCache)
Retrieves a node based on it's number (a unique key).
|
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
StorageConnector.getNodes()
Returns all the nodes from the associated builder.
|
List<MMObjectNode> |
StorageConnector.getNodes(Collection<MMObjectNode> virtuals)
Convert virtual nodes to real nodes based on their otype
Normally a multirelations-search will return virtual nodes.
|
List<MMObjectNode> |
StorageConnector.getNodes(SearchQuery query)
Returns nodes matching a specified constraint.
|
List<MMObjectNode> |
StorageConnector.getNodes(SearchQuery query,
boolean useCache)
Returns nodes matching a specified constraint.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StorageConnector.addSubResult(NodeSearchQuery query,
List<Integer> subResult,
List<MMObjectNode> result) |
protected boolean |
StorageConnector.assertSizes(Collection<MMObjectNode> virtuals,
Collection<MMObjectNode> result) |
protected boolean |
StorageConnector.assertSizes(Collection<MMObjectNode> virtuals,
Collection<MMObjectNode> result) |
List<MMObjectNode> |
StorageConnector.getNodes(Collection<MMObjectNode> virtuals)
Convert virtual nodes to real nodes based on their otype
Normally a multirelations-search will return virtual nodes.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
Jumpers.executeFunction(MMObjectNode node,
String function,
List arguments) |
String |
Jumpers.getGUIIndicator(MMObjectNode node,
Parameters args) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
sessionInfo.getNode() |
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
ProcessorModule.getNodeList(Object context,
String command,
Map<String,?> params)
This method is a wrapper around
ProcessorModule.getList(PageInfo, StringTagger, String) |
| Modifier and Type | Method and Description |
|---|---|
void |
sessionInfo.setNode(MMObjectNode node) |
void |
sessions.setValueFromNode(sessionInfo session,
MMObjectNode node) |
void |
sessionsInterface.setValueFromNode(sessionInfo session,
MMObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
ImageCaches.getCachedNode(int imageNumber,
String template)
Finds a icache node in the icaches table
|
MMObjectNode |
Images.getCachedNode(MMObjectNode node,
String template)
Returns a icache node for given image node and conversion template.
|
protected MMObjectNode |
ImageCaches.getLegacyCachedNode(int imageNumber,
String template)
Finds a icache node in the icache table, supposing 'legacy' ckeys (where all +'s are removed).
|
MMObjectNode |
MMServers.getMMServerNode(String name) |
MMObjectNode |
MMServers.getMMServerNode(String name,
String host) |
MMObjectNode |
Versions.getVersionNode(String name,
String type) |
MMObjectNode |
Vwmtasks.preCommit(MMObjectNode node)
This method is called just before an actual write to the database is performed.
|
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
MMServers.getActiveServers() |
List<MMObjectNode> |
MMServers.getMMServerNodes()
Returns all the nodes from the builder without loading it in the nodes cache of MMBase.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ImageCaches.addFileName(MMObjectNode node,
String servlet) |
protected boolean |
AbstractServletBuilder.addFileName(MMObjectNode node,
String servlet)
Adds a filename to the path to a servlet, unless this does not make sense (not filename can
be determined) or it was explicitely set not to, using the servlet context init parameter
'mmbase.servlet.<association>addfilename.
|
protected void |
ReferredAttachments.checkHandle(MMObjectNode node) |
protected void |
Attachments.checkHandle(MMObjectNode node)
If mimetype is not filled on storage in the database, then we
can try to do smart things.
|
protected void |
AbstractImages.checkHandle(MMObjectNode node) |
protected void |
AbstractServletBuilder.checkHandle(MMObjectNode node)
Tries to fill all fields which are dependend on the 'handle' field.
|
boolean |
Images.commit(MMObjectNode node) |
boolean |
MMEvents.commit(MMObjectNode node) |
boolean |
AbstractServletBuilder.commit(MMObjectNode node) |
boolean |
MMServers.equals(MMObjectNode o1,
MMObjectNode o2)
MMServer object are field by field equals.
|
protected Object |
Attachments.executeFunction(MMObjectNode node,
String function,
List<?> args)
Implements 'mimetype' function (Very simply for attachments, because they have the field).
|
protected Object |
AbstractImages.executeFunction(MMObjectNode node,
String function,
List<?> args)
Every image of course has a format and a mimetype.
|
protected Object |
Images.executeFunction(MMObjectNode node,
String function,
List<?> args)
The executeFunction of this builder adds the 'cache' function.
|
protected Object |
ImageCaches.executeFunction(MMObjectNode node,
String function,
List<?> args)
Every image of course has a format and a mimetype.
|
protected Object |
AbstractServletBuilder.executeFunction(MMObjectNode node,
String function,
List<?> args)
Overrides the executeFunction of MMObjectBuilder with a function to get the servletpath
associated with this builder.
|
protected void |
Images.fillImageCacheNode(MMObjectNode image,
MMObjectNode icacheNode,
String template) |
InputStream |
ImagesInterface.getBinary(MMObjectNode node) |
InputStream |
AbstractServletBuilder.getBinary(MMObjectNode node) |
MMObjectNode |
Images.getCachedNode(MMObjectNode node,
String template)
Returns a icache node for given image node and conversion template.
|
Date |
DayMarkers.getDate(MMObjectNode node)
Returns the date of a daymarker
|
Dimension |
AbstractImages.getDimension(MMObjectNode node)
Gets the dimension of given node.
|
Dimension |
ImagesInterface.getDimension(MMObjectNode node)
Gets the dimension of given node.
|
protected Dimension |
Images.getDimension(MMObjectNode node,
String template) |
protected Dimension |
AbstractImages.getDimensionForEmptyHandle(MMObjectNode node) |
protected Dimension |
ImageCaches.getDimensionForEmptyHandle(MMObjectNode node)
If icache does not yet have a filled handle field, neither filled width/heigh fields (can occur after a update).
|
StringBuilder |
ImageCaches.getFileName(MMObjectNode node,
StringBuilder buf) |
StringBuilder |
ImagesInterface.getFileName(MMObjectNode node,
StringBuilder buf) |
StringBuilder |
AbstractServletBuilder.getFileName(MMObjectNode node,
StringBuilder buf) |
protected int |
AbstractImages.getFileSize(MMObjectNode node) |
protected String |
Attachments.getGuiForNewAttachment(MMObjectNode node) |
protected String |
Images.getGuiForNewImage(MMObjectNode node,
String alt,
Parameters args) |
String |
NetFileSrv.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
Vwmtasks.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
Urls.getGUIIndicator(MMObjectNode node) |
String |
PosRel.getGUIIndicator(MMObjectNode node) |
String |
Properties.getGUIIndicator(MMObjectNode node) |
String |
AbstractServletBuilder.getGUIIndicator(MMObjectNode node,
Parameters pars) |
String |
Netfiles.getGUIIndicator(String field,
MMObjectNode node)
What should a GUI display for this node/field combo.
|
String |
AuthRel.getGUIIndicator(String field,
MMObjectNode node) |
String |
Vwms.getGUIIndicator(String field,
MMObjectNode node)
Returns gui information for a field.
|
String |
Vwmtasks.getGUIIndicator(String field,
MMObjectNode node)
What should a GUI display for this node/field combo.
|
String |
Urls.getGUIIndicator(String field,
MMObjectNode node) |
String |
AnnotRel.getGUIIndicator(String field,
MMObjectNode node)
What should a GUI display for this node/field combo.
|
String |
AbstractServletBuilder.getGUIIndicator(String field,
MMObjectNode node)
This is final, because getSGUIIndicator has to be overridden in stead
|
protected abstract String |
AbstractImages.getGUIIndicatorWithAlt(MMObjectNode node,
String title,
Parameters a)
An image's gui-indicator is of course some <img src>, but it depends on what kind of image
(cached, original) what excactly it must be.
|
protected String |
Images.getGUIIndicatorWithAlt(MMObjectNode node,
String alt,
Parameters args)
The GUI-indicator of an image-node also needs a res/req object.
|
protected String |
ImageCaches.getGUIIndicatorWithAlt(MMObjectNode node,
String alt,
Parameters a)
The GUI indicator of an image can have an alt-text.
|
String |
AbstractImages.getImageFormat(MMObjectNode node)
Determines the image type of an object and stores the content in the itype field.
|
String |
ImageCaches.getImageFormat(MMObjectNode node)
Returns the image format.
|
String |
ImagesInterface.getImageFormat(MMObjectNode node) |
String |
DayMarkers.getLocaleGUIIndicator(Locale locale,
MMObjectNode node)
Returns gui information for a specific node.
|
String |
AbstractImages.getMimeType(MMObjectNode node)
Determine the MIME type of this image node, based on the image format.
|
protected String |
AbstractServletBuilder.getMimeType(MMObjectNode node)
Returns the Mime-type associated with this node
|
protected String |
ReferredAttachments.getSGUIIndicator(MMObjectNode node,
Parameters a) |
protected String |
Attachments.getSGUIIndicator(MMObjectNode node,
Parameters a) |
protected String |
AbstractImages.getSGUIIndicator(MMObjectNode node,
Parameters a) |
protected abstract String |
AbstractServletBuilder.getSGUIIndicator(MMObjectNode node,
Parameters a)
'Servlet' builders need a way to transform security to the servlet, in the gui functions, so
they have to implement the 'SGUIIndicators'
|
protected String |
AbstractImages.getSGUIIndicatorForNode(MMObjectNode node,
Parameters a)
Returns GUI Indicator for node
|
protected String |
Images.getSGUIIndicatorForNode(MMObjectNode node,
Parameters args) |
protected String |
ImageCaches.getSGUIIndicatorForNode(MMObjectNode node,
Parameters a) |
protected String |
AbstractServletBuilder.getSuperGUIIndicator(String field,
MMObjectNode node)
Gets the GUI indicator of the super class of this class, to avoid circular references in
descendants, which will occur if they want to call super.getGUIIndicator().
|
Object |
Resources.getValue(MMObjectNode node,
String field)
Implements virtual filename field.
|
Object |
MMServers.getValue(MMObjectNode node,
String field) |
Object |
AnnotRel.getValue(MMObjectNode node,
String field) |
protected boolean |
AbstractImages.handleEmpty(MMObjectNode node) |
protected boolean |
ImageCaches.handleEmpty(MMObjectNode node)
Whether the 'handle' field of this icaches node is to be considered empty, and a conversion
must therefor still be triggered.
|
int |
ImageCaches.insert(String owner,
MMObjectNode node) |
int |
MMEvents.insert(String owner,
MMObjectNode node) |
int |
AbstractServletBuilder.insert(String owner,
MMObjectNode node) |
protected void |
ImageCaches.invalidate(MMObjectNode imageNode)
Invalidate the Image Cache for a specific Node
method only accessible on package level, since only Images should call it..
|
protected void |
ImageCaches.invalidate(MMObjectNode imageNode,
boolean remove) |
MMObjectNode |
Vwmtasks.preCommit(MMObjectNode node)
This method is called just before an actual write to the database is performed.
|
boolean |
Vwms.putTask(String vwmname,
MMObjectNode node)
Passes a task to a vwm.
|
void |
Images.removeNode(MMObjectNode node)
Override the MMObjectBuilder removeNode, to invalidate the Image Cache AFTER a deletion of the
image node.
|
void |
ImageCaches.removeNode(MMObjectNode node)
Override the MMObjectBuilder removeNode, to invalidate the LRU ImageCache, when a node gets deleted.
|
void |
AuthRel.setDefaults(MMObjectNode node)
setDefaults for a node
|
void |
AnnotRel.setDefaults(MMObjectNode node)
Sets defaults for a node.
|
boolean |
AnnotRel.setValue(MMObjectNode node,
String field)
Provides additional functionality when setting field values.
|
void |
VersionCacheNode.setVersionNode(MMObjectNode versionnode)
Deprecated.
|
String |
MMServers.toString(MMObjectNode n) |
boolean |
ImageCaches.waitForConversion(MMObjectNode node)
If a icache node is created with empty 'handle' field, then the handle field can be filled
automaticly.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) MMObjectNode |
VwmProbe.anode |
protected MMObjectNode |
Vwm.wvmnode
The creation node of this VWM.
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
Vwm.getVwmNode()
Retrieves the creation node of this VWM.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Vwm.claim(MMObjectNode node)
Signals that the task node is claimed.
|
boolean |
VwmProbe.containsTask(MMObjectNode node)
Checks if a task node already exists in the task nodes vector.
|
boolean |
ImageMaster.doMainRequest(MMObjectNode filenode)
Handles a main subservice on an image.
|
boolean |
PageMaster.doMainRequest(MMObjectNode filenode)
Handles a main subservice on a page.
|
protected boolean |
Vwm.failed(MMObjectNode node)
Signals that the task to be performed failed.
|
boolean |
ImageMaster.handleMain(MMObjectNode filenode,
int status,
String ctype)
Handles a images/main service request.
|
boolean |
PageMaster.handleMain(MMObjectNode filenode,
int status,
String ctype)
Handles a pages/main service request.
|
boolean |
ImageMaster.handleMirror(MMObjectNode filenode,
int status,
String ctype)
Handles an images/mirror service request.
|
boolean |
PageMaster.handleMirror(MMObjectNode filenode,
int status,
String ctype)
Handles a pages/mirror service request.
|
void |
Vwm.init(MMObjectNode vwmnode,
Vwms Vwms)
Initialize the Vwm.
|
void |
VwmInterface.init(MMObjectNode node,
Vwms Vwms)
Deprecated.
Initialize the Vwm.
|
protected boolean |
Vwm.performed(MMObjectNode node)
Signals that the task to be performed was successful and has finished.
|
boolean |
VwmProbeInterface.performTask(MMObjectNode node)
Deprecated.
Performs maintenance based on a Vwmtasknode.
|
boolean |
Vwm.performTask(MMObjectNode node)
Performs maintenance based on a Vwmtasknode.
|
boolean |
VwmProbe.putTask(MMObjectNode node)
Puts a task node to the vector (sorted on task start time) of new tasks.
|
boolean |
Vwm.putTask(MMObjectNode node)
Adds a new task to the list of taks to perform.
|
boolean |
VwmProbe.replaceTask(MMObjectNode node)
Replaces a task node entry in the sorted task nodes vector with a new one.
|
protected boolean |
Vwm.rollback(MMObjectNode node)
Signals that the task should be performed again (possibly after an initial failure).
|
| Constructor and Description |
|---|
PerformProbe(VwmProbeInterface vwm,
MMObjectNode node) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClusterNode
ClusterNode combines fields of different nodes in a single "virtual" node.
|
class |
VirtualNode
VirtualNode is a representation of a virtual objectnode.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<String,MMObjectNode> |
MMObjectBuilder.temporaryNodes
Collection for temporary nodes,
Used by the Temporarynodemanager when working with transactions
The default size is 1024.
|
protected Map<String,Collection<MMObjectNode>> |
TransactionManager.transactions |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
MMObjectNode.clone() |
protected MMObjectNode |
MMObjectNodeFunction.getCoreNode(MMObjectBuilder builder,
Node node)
Utility method to convert a
Node to a MMObjectNode. |
MMObjectNode |
MMObjectBuilder.getDefaultTeaser(MMObjectNode node,
MMObjectNode tnode)
Deprecated.
Will be removed?
|
MMObjectNode |
MMObjectBuilder.getEmptyNode(String owner)
Returns a new empty node object.
|
MMObjectNode |
MMObjectBuilder.getNewNode(String owner)
Get a new node, using this builder as its parent.
|
MMObjectNode |
VirtualBuilder.getNewNode(String owner)
Get a new node, using this builder as its parent.
|
MMObjectNode |
ClusterBuilder.getNewNode(String owner)
Get a new node, using this builder as its parent.
|
protected MMObjectNode |
MMObjectBuilder.getNewTmpNode(String owner,
String key)
Create a new temporary node and put it in the temporary _exist
node space
|
MMObjectNode |
MMObjectBuilder.getNode(int number)
Retrieves a node based on it's number (a unique key), retrieving the node
from the node cache if possible.
|
MMObjectNode |
MMTable.getNode(int number,
boolean useCache)
Retrieves a node based on it's number (a unique key).
|
MMObjectNode |
MMObjectBuilder.getNode(String key)
Retrieves a node based on a unique key.
|
MMObjectNode |
MMObjectBuilder.getNode(String key,
boolean useCache)
Retrieves a node based on a unique key.
|
MMObjectNode |
TemporaryNodeManagerInterface.getNode(String owner,
String key) |
MMObjectNode |
TemporaryNodeManager.getNode(String owner,
String key)
Tries to get the node with number 'key'.
|
MMObjectNode |
MMObjectBuilder.getNodeFromCache(Integer number)
Retrieves a node from the cache, or
null if it doesn't exist. |
MMObjectNode |
MMObjectNode.getNodeValue(String fieldName)
Get a value of a certain field.
|
MMObjectNode |
MMObjectNode.getProperty(String key)
Returns a specified property of this node.
|
MMObjectNode |
ClusterNode.getRealNode(String builderName)
Obtain the 'real' nodes, associated with a specified objectbuilder.
|
protected static MMObjectNode |
MMObjectBuilder.getTmpNode(String key)
Get nodes from the temporary node space
|
MMObjectNode |
MMObjectBuilder.preCommit(MMObjectNode node)
This method is called before an actual write to the storage layer is performed.
|
MMObjectNode |
MMObjectBuilder.safeCache(Integer n,
MMObjectNode node)
Stores a node in the cache provided the cache is not write locked.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<MMObjectNode> |
TransactionManager.createTransaction(String transactionName)
Creates transaction with given name.
|
protected Collection<MMObjectNode> |
TransactionManager.deleteTransaction(String transactionName)
Removes the transaction with given name
|
Enumeration<MMObjectNode> |
MMObjectNode.getAllRelations()
Return all the relations of this node.
|
List<MMObjectNode> |
ClusterBuilder.getClusterNodes(SearchQuery query)
Executes query, returns results as
clusternodes or MMObjectNodes if the
query is a Node-query. |
List<MMObjectNode> |
ClusterBuilder.getClusterNodesFromQueryHandler(SearchQuery query)
Executes query, returns results as
clusternodes or MMObjectNodes if the
query is a Node-query. |
List<MMObjectNode> |
MMTable.getNodes()
Returns all the nodes from the builder.
|
protected List<MMObjectNode> |
MMTable.getNodes(Collection<MMObjectNode> virtuals)
Convert virtual nodes to real nodes based on their otype
Normally a multirelations-search will return virtual nodes.
|
List<MMObjectNode> |
MMTable.getNodes(NodeSearchQuery query)
Returns nodes matching a specified constraint.
|
Map<String,MMObjectNode> |
MMObjectNode.getProperties()
Return a the properties for this node.
|
Vector<MMObjectNode> |
MMObjectNode.getRelatedNodes()
Get all related nodes.
|
Vector<MMObjectNode> |
MMObjectNode.getRelatedNodes(String type)
Get the related nodes of a certain type.
|
Vector<MMObjectNode> |
MMObjectNode.getRelatedNodes(String type,
int search_type)
If you query from this_node_type(type) (typex, insrel, typey where typex == typey) {
if the insrel table is directional, use the multirelations.SEARCH_BOTH
if the insrel table is not directional, use the multirelations.SEARCH_SOURCE + multirelations.SEARCH_DESTINATION
}
Otherwise the SEARCH_BOTH will result in an OR on insrel which will never return in
(huge) databases.
|
Vector<MMObjectNode> |
MMObjectNode.getRelatedNodes(String type,
String role,
int search_type)
If you query from this_node_type(type) (typex, insrel, typey where typex == typey) {
if the insrel table is directional, use the multirelations.SEARCH_BOTH
if the insrel table is not directional, use the multirelations.SEARCH_SOURCE + multirelations.SEARCH_DESTINATION
}
Otherwise the SEARCH_BOTH will result in an OR on insrel which will never return in
(huge) databases.
|
protected List<MMObjectNode> |
MMObjectNode.getRelationNodes() |
Vector<MMObjectNode> |
MMObjectBuilder.getRelations_main(int src)
Returns all relations of a node.
|
Enumeration<MMObjectNode> |
MMObjectNode.getRelations()
Return the relations of this node.
|
Enumeration<MMObjectNode> |
VirtualNode.getRelations()
Return the relations of this node.
|
Enumeration<MMObjectNode> |
ClusterNode.getRelations()
Return the relations of this node.
|
Enumeration<MMObjectNode> |
MMObjectNode.getRelations(int otype)
Return the relations of this node, filtered on a specified type.
|
Enumeration<MMObjectNode> |
MMObjectNode.getRelations(String wantedtype)
Return the relations of this node, filtered on a specified type.
|
Collection<MMObjectNode> |
TransactionManager.getTransaction(String transactionName)
Returns transaction with given name.
|
Map<String,Collection<MMObjectNode>> |
TransactionManager.getTransactions()
Return a an unmodifable Map with all transactions.
|
Enumeration<MMObjectNode> |
MMTable.search(String where)
Deprecated.
Use
getNodes(NodeSearchQuery to perform a node search. |
Vector<MMObjectNode> |
ClusterBuilder.searchMultiLevelVector(int snode,
List<String> fields,
String pdistinct,
List<String> tables,
String where,
List<String> orderVec,
List<String> direction)
Same as
searchMultiLevelVector(snodes, fields, pdistinct, tables, where, orderVec, direction, RelationStep.DIRECTIONS_EITHER),
where snodes contains just the number specified by snode. |
Vector<MMObjectNode> |
ClusterBuilder.searchMultiLevelVector(List<String> snodes,
List<String> fields,
String pdistinct,
List<String> tables,
String where,
List<String> orderVec,
List<String> direction)
|
Vector<MMObjectNode> |
ClusterBuilder.searchMultiLevelVector(List<String> snodes,
List<String> fields,
String pdistinct,
List<String> tables,
String where,
List<String> sortFields,
List<String> directions,
int searchDir)
|
Vector<MMObjectNode> |
ClusterBuilder.searchMultiLevelVector(List<String> snodes,
List<String> fields,
String pdistinct,
List<String> tables,
String where,
List<String> sortFields,
List<String> directions,
List<Integer> searchDirs)
Return all the objects that match the searchkeys.
|
Vector<MMObjectNode> |
MMTable.searchVector(String where)
Deprecated.
Use
getNodes(NodeSearchQuery to perform a node search. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MMObjectBuilder.commit(MMObjectNode node)
Commit changes to this node to the storage layer.
|
int |
MMObjectNode.compareTo(MMObjectNode n) |
boolean |
MMObjectNode.defaultEquals(MMObjectNode n) |
boolean |
MMObjectBuilder.equals(MMObjectNode o1,
MMObjectNode o2)
Implements equals for nodes (this is in MMObjectBuilder because you cannot override MMObjectNode)
|
protected Object |
MMObjectBuilder.executeFunction(MMObjectNode node,
String function,
List<?> arguments)
Executes a function on the field of a node, and returns the result.
|
protected Object |
MMObjectBuilder.executeFunction(MMObjectNode node,
String function,
String field)
Deprecated.
|
MMObjectNode |
MMObjectBuilder.getDefaultTeaser(MMObjectNode node,
MMObjectNode tnode)
Deprecated.
Will be removed?
|
Map<String,CoreField> |
VirtualBuilder.getFields(MMObjectNode node)
Get text from a blob field from a database.
|
Map<String,CoreField> |
ClusterBuilder.getFields(MMObjectNode node) |
protected Function<?> |
MMObjectBuilder.getFunction(MMObjectNode node,
String functionName)
Instantiates a Function object for a certain function on a certain node of this type.
|
protected Collection<Function<?>> |
MMObjectBuilder.getFunctions(MMObjectNode node)
Returns all Functions which are available (or at least known to be available) on a Node.
|
protected R |
MMObjectNodeFunction.getFunctionValue(MMObjectNode coreNode,
Parameters parameters)
Implements the function on a certain node.
|
(package private) Object |
MMObjectBuilder.getFunctionValue(MMObjectNode node,
String functionName,
List<?> parameters)
Executes a 'function' on a MMObjectNode.
|
String |
MMObjectBuilder.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
VirtualReferrerBuilder.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
VirtualBuilder.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
ClusterBuilder.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
MMObjectBuilder.getGUIIndicator(MMObjectNode node,
Parameters pars)
A complicated default implementation for GUI.
|
String |
ClusterBuilder.getGUIIndicator(MMObjectNode node,
Parameters pars)
What should a GUI display for this node/field combo.
|
String |
MMObjectBuilder.getGUIIndicator(String fieldName,
MMObjectNode node)
What should a GUI display for this node/field combo.
|
protected String |
MMObjectBuilder.getLocaleGUIIndicator(Locale locale,
MMObjectNode node)
The GUIIndicator can depend on the locale.
|
protected String |
MMObjectBuilder.getLocaleGUIIndicator(Locale locale,
String field,
MMObjectNode node)
The GUIIndicator can depend on the locale.
|
protected static Node |
MMObjectNodeFunction.getNode(MMObjectNode coreNode,
Parameters parameters) |
protected String |
MMObjectBuilder.getNodeGUIIndicator(MMObjectNode node,
Parameters params)
Returns a GUI-indicator for the node itself.
|
protected Object |
MMObjectBuilder.getObjectValue(MMObjectNode node,
String field)
Like getValue, but without the 'old' code (short_ html_ etc).
|
protected byte[] |
MMObjectBuilder.getShortedByte(String fieldName,
MMObjectNode node)
|
protected byte[] |
VirtualBuilder.getShortedByte(String fieldName,
MMObjectNode node)
Get binary data of a blob field.
|
protected InputStream |
MMObjectBuilder.getShortedInputStream(String fieldName,
MMObjectNode node)
Get binary data of a blob field.
|
protected String |
MMObjectBuilder.getShortedText(String fieldName,
MMObjectNode node)
Get text from a blob field.
|
protected String |
VirtualBuilder.getShortedText(String fieldName,
MMObjectNode node)
Get text from a blob field.
|
Object |
MMObjectBuilder.getValue(MMObjectNode node,
String field)
Provides additional functionality when obtaining field values.
|
Object |
VirtualReferrerBuilder.getValue(MMObjectNode node,
String field)
Provides additional functionality when obtaining field values.
|
int |
MMObjectBuilder.hashCode(MMObjectNode o)
Implements for MMObjectNode
|
int |
MMObjectBuilder.insert(String owner,
MMObjectNode node)
Insert a new object (content provided) in the cloud, including an entry for the object alias (if provided).
|
int |
VirtualBuilder.insert(String owner,
MMObjectNode node)
Insert a new object (content provided) in the cloud, including an entry for the object alias (if provided).
|
protected boolean |
MMObjectBuilder.isNull(String fieldName,
MMObjectNode node) |
Function<R> |
MMObjectNodeFunction.newInstance(MMObjectNode node)
Returns a new instance of NodeInstanceFunction, which represents an actual Function.
|
static <Q> Function<Q> |
MMObjectNodeFunction.newInstance(NodeFunction<Q> function,
MMObjectNode node) |
MMObjectNode |
MMObjectBuilder.preCommit(MMObjectNode node)
This method is called before an actual write to the storage layer is performed.
|
void |
MMObjectNode.putProperty(MMObjectNode node)
Sets a specified property for this node.
|
(package private) static void |
MMObjectBuilder.putTmpNode(String key,
MMObjectNode node)
Put a Node in the temporary node list
|
void |
MMObjectBuilder.removeNode(MMObjectNode node)
Remove a node from the cloud.
|
void |
MMObjectBuilder.removeRelations(MMObjectNode node)
Remove the relations of a node.
|
protected void |
MMObjectBuilder.removeSyncNodes(MMObjectNode node)
Removes the syncnodes to this node.
|
MMObjectNode |
MMObjectBuilder.safeCache(Integer n,
MMObjectNode node)
Stores a node in the cache provided the cache is not write locked.
|
(package private) boolean |
MMObjectBuilder.safeCommit(MMObjectNode node)
Locks the node cache during the commit of a node.
|
(package private) int |
MMObjectBuilder.safeInsert(MMObjectNode node,
String userName)
Locks the node cache during the insert of a node.
|
boolean |
MMObjectBuilder.sendFieldChangeSignal(MMObjectNode node,
String fieldName)
Send a signal to other servers that a field was changed.
|
void |
MMObjectBuilder.setDefaults(MMObjectNode node)
Sets defaults for a node.
|
protected int |
MMObjectBuilder.setUniqueValue(MMObjectNode node,
String field,
int offset)
In setDefault you could want to generate unique values for fields (if the field is 'unique').
|
protected String |
MMObjectBuilder.setUniqueValue(MMObjectNode node,
String field,
String baseValue)
In setDefault you could want to generate unique values for fields (if the field is 'unique').
|
boolean |
MMObjectBuilder.setValue(MMObjectNode node,
String fieldName)
Provides additional functionality when setting field values.
|
boolean |
MMObjectBuilder.setValue(MMObjectNode node,
String fieldName,
Object originalValue)
Sets a key/value pair in the main values of this node.
|
void |
MMObjectBuilder.testValidData(MMObjectNode node)
Tests whether the data in a node is valid (throws an exception if this is not the case).
|
String |
MMObjectBuilder.toString(MMObjectNode n)
Implements for MMObjectNode
|
| Modifier and Type | Method and Description |
|---|---|
protected List<MMObjectNode> |
MMTable.getNodes(Collection<MMObjectNode> virtuals)
Convert virtual nodes to real nodes based on their otype
Normally a multirelations-search will return virtual nodes.
|
(package private) boolean |
TransactionManager.performCommits(Object user,
Collection<MMObjectNode> nodes) |
(package private) Map<String,Integer> |
TransactionResolver.resolve(Collection<MMObjectNode> nodes)
Result a transaction.
|
| Constructor and Description |
|---|
MMObjectNode(MMObjectNode node) |
| Modifier and Type | Class and Description |
|---|---|
protected class |
TypeRel.VirtualTypeRelNode
A VirtualTypeRelNode is a MMObjectNode which is added to the typerelset with extensions of
the actual builders specified.
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
OAlias.getAliasedNode(String alias)
Obtain a node from the cloud through its alias
|
MMObjectNode |
RelDef.getDefaultForBuilder(InsRel relBuilder)
Returns the first occurrence of a reldef node of a relation definition.
|
MMObjectNode |
InsRel.getRelation(int source,
int destination,
int role)
Test whether a relation exists and returns the corresponding node.
|
MMObjectNode |
InsRel.getRelationNode(int source,
int destination,
int role)
Test whether a relation exists and returns the corresponding node.
|
| Modifier and Type | Method and Description |
|---|---|
Enumeration<MMObjectNode> |
TypeRel.getAllowedRelations(int otype) |
Enumeration<MMObjectNode> |
TypeRel.getAllowedRelations(int builder1,
int builder2)
An enumeration of all allowed relations between two builders.
|
Set<MMObjectNode> |
TypeRel.getAllowedRelations(int builder1,
int builder2,
int role)
A Set of all allowed relations of a certain role between two builders.
|
Set<MMObjectNode> |
TypeRel.getAllowedRelations(int builder1,
int builder2,
int role,
int directionality)
A Set of all allowed relations of a certain role between two builders.
|
Enumeration<MMObjectNode> |
TypeRel.getAllowedRelations(MMObjectNode node)
Retrieves all relations which are 'allowed' for a specified node, that is, where the node is
either allowed to be the source, or to be the destination (but where the corresponing
relation definition is bidirectional).
|
Enumeration<MMObjectNode> |
TypeRel.getAllowedRelations(MMObjectNode node1,
MMObjectNode node2)
Retrieves all relations which are 'allowed' between two specified nodes.
|
Vector<MMObjectNode> |
InsRel.getAllRelationsVector(int source)
Deprecated.
|
Vector<MMObjectNode> |
InsRel.getAllRelationsVector(int source,
int role)
Deprecated.
|
(package private) SortedSet<MMObjectNode> |
TypeRel.InverseTypeRelSet.getByDestination(int destination) |
(package private) SortedSet<MMObjectNode> |
TypeRel.InverseTypeRelSet.getByDestination(MMObjectBuilder destination) |
(package private) SortedSet<MMObjectNode> |
TypeRel.InverseTypeRelSet.getByDestinationSource(int source,
int destination) |
(package private) SortedSet<MMObjectNode> |
TypeRel.InverseTypeRelSet.getByDestinationSource(MMObjectBuilder source,
MMObjectBuilder destination) |
(package private) SortedSet<MMObjectNode> |
TypeRel.InverseTypeRelSet.getByDestinationSourceRole(int source,
int destination,
int role) |
(package private) SortedSet<MMObjectNode> |
TypeRel.TypeRelSet.getBySource(int source) |
(package private) SortedSet<MMObjectNode> |
TypeRel.TypeRelSet.getBySource(MMObjectBuilder source) |
(package private) SortedSet<MMObjectNode> |
TypeRel.TypeRelSet.getBySourceDestination(int source,
int destination) |
(package private) SortedSet<MMObjectNode> |
TypeRel.TypeRelSet.getBySourceDestination(MMObjectBuilder source,
MMObjectBuilder destination) |
(package private) SortedSet<MMObjectNode> |
TypeRel.TypeRelSet.getBySourceDestinationRole(int source,
int destination,
int role) |
Enumeration<MMObjectNode> |
InsRel.getRelated(int source,
int otype)
Get MMObjectNodes of a specified type related to a specified MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelated(int source,
int otype,
int role)
Get MMObjectNodes of a specified type related to a specified MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelated(int source,
String nodeType)
get MMObjectNodes related to a specified MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelated(int source,
String nodeType,
String roleName)
get MMObjectNodes related to a specified MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelated(String sourceNode,
String nodeType)
get MMObjectNodes related to a specified MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelated(String sourceNode,
String nodeType,
String roleName)
get MMObjectNodes related to a specified MMObjectNode
|
Vector<MMObjectNode> |
InsRel.getRelatedVector(int source,
int otype)
Deprecated.
|
Vector<MMObjectNode> |
InsRel.getRelatedVector(int source,
int otype,
int role)
Deprecated.
|
List<MMObjectNode> |
InsRel.getRelationNodes(int source)
Get relation(s) for an MMObjectNode, using a specified role (reldef) as a filter.
|
List<MMObjectNode> |
InsRel.getRelationNodes(int source,
boolean useDirectionality)
Get all relation(s) for an MMObjectNode.
|
List<MMObjectNode> |
InsRel.getRelationNodes(int source,
int role)
Get relation(s) for an MMObjectNode, using a specified role (reldef) as a filter.
|
List<MMObjectNode> |
InsRel.getRelationNodes(int source,
int role,
boolean useDirectionality)
Get all relation(s) for a MMObjectNode
This function returns all relations in which the node is either a source or
the destination.
|
Enumeration<MMObjectNode> |
InsRel.getRelations(int source)
Get relation(s) for a MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelations(int source,
int role)
Get relation(s) for a MMObjectNode, using a specified role (reldef) as a filter
|
Enumeration<MMObjectNode> |
InsRel.getRelations(int source,
int otype,
int role)
Get relations for a specified MMObjectNode
|
Enumeration<MMObjectNode> |
InsRel.getRelations(int source,
int otype,
int role,
boolean usedirectionality)
Gets relations for a specified MMObjectNode
|
Vector<MMObjectNode> |
InsRel.getRelationsVector(int source)
Deprecated.
|
Vector<MMObjectNode> |
InsRel.getRelationsVector(int source,
int role)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypeRel.TypeRelSet.add(MMObjectNode node) |
boolean |
TypeRel.InverseTypeRelSet.add(MMObjectNode object) |
protected TypeRel.TypeRelSet |
TypeRel.addCacheEntry(MMObjectNode typeRel,
boolean buildersInitialized)
Addes one typerel cache entries, plus inherited relations (if builder are initialized)
|
boolean |
RelDef.commit(MMObjectNode node)
Commit changes to this node and updated the cache.
|
boolean |
TypeDef.commit(MMObjectNode node)
Commit changes to this node to the database.
|
protected boolean |
TypeDef.deleteBuilderConfiguration(MMObjectNode node) |
boolean |
TypeRel.equals(MMObjectNode o1,
MMObjectNode o2)
Implements equals for a typerel node.
|
protected Object |
TypeDef.executeFunction(MMObjectNode node,
String function,
List<?> args) |
protected String |
RelDef.findBuilderName(MMObjectNode node) |
Enumeration<MMObjectNode> |
TypeRel.getAllowedRelations(MMObjectNode node)
Retrieves all relations which are 'allowed' for a specified node, that is, where the node is
either allowed to be the source, or to be the destination (but where the corresponing
relation definition is bidirectional).
|
Enumeration<MMObjectNode> |
TypeRel.getAllowedRelations(MMObjectNode node1,
MMObjectNode node2)
Retrieves all relations which are 'allowed' between two specified nodes.
|
InsRel |
RelDef.getBuilder(MMObjectNode node)
Returns the builder of a relation definition.
|
MMObjectBuilder |
TypeDef.getBuilder(MMObjectNode node)
Returns the MMObjectBuilder which is represented by the node.
|
protected String |
TypeDef.getBuilderConfiguration(MMObjectNode node)
Returns the path, where the builderfile can be found, for not exising builders, a path will be generated.
|
String |
RelDef.getBuilderName(MMObjectNode node)
Returns the builder name of a relation definition.
|
protected String |
TypeDef.getBuilderPath(MMObjectNode node)
Returns the path, where the builder configuration file can be found, for not exising builders, a path will be generated.
|
String |
RelDef.getGUIIndicator(MMObjectNode node)
Returns a GUI description of a relation definition.
|
String |
TypeDef.getGUIIndicator(MMObjectNode node)
What should a GUI display for this node.
|
String |
InsRel.getGUIIndicator(MMObjectNode node) |
String |
TypeRel.getGUIIndicator(MMObjectNode node)
Returns the display string for this node It returns a commbination of objecttypes and
rolename : "source->destination (role)".
|
String |
RelDef.getGUIIndicator(String field,
MMObjectNode node)
Retrieve descriptors for a relation definition's fields,
specifically a descriptive text for the relation's direction (dir)
|
String |
InsRel.getGUIIndicator(String field,
MMObjectNode node)
Get the display string for a given field of this node.
|
String |
TypeRel.getGUIIndicator(String field,
MMObjectNode node)
Returns the display string for a specified field.
|
protected String |
TypeDef.getLocaleGUIIndicator(Locale locale,
MMObjectNode node) |
protected String |
TypeDef.getLocaleGUIIndicator(Locale locale,
String field,
MMObjectNode node)
The GUIIndicator can depend on the locale.
|
Object |
TypeDef.getValue(MMObjectNode node,
String field)
Provides additional functionality when obtaining field values.
|
int |
TypeRel.hashCode(MMObjectNode o)
Implements for MMObjectNode
|
int |
RelDef.insert(String owner,
MMObjectNode node)
Insert a new object, and updated the cache after an insert.
|
int |
TypeDef.insert(String owner,
MMObjectNode node)
Insert a new object (content provided) in the cloud, including an entry for the object alias (if provided).
|
int |
InsRel.insert(String owner,
MMObjectNode node)
Insert a new Instance Relation.
|
int |
TypeRel.insert(String owner,
MMObjectNode node)
Insert a new object (content provided) in the cloud, including an entry for the object alias
(if provided).
|
int |
TypeDef.insert(String owner,
MMObjectNode node,
boolean loadBuilder)
Insert a new object (content provided) in the cloud, including an entry for the object alias (if provided).
|
protected MMObjectBuilder |
TypeDef.loadBuilder(MMObjectNode node) |
void |
RelDef.removeNode(MMObjectNode node)
Remove a node from the cloud.
|
void |
OAlias.removeNode(MMObjectNode node)
Remove a node from the cloud and update the cache
|
void |
TypeDef.removeNode(MMObjectNode node)
Remove a node from the cloud, when the represented builder was active
it will also be unloaded
|
void |
InsRel.removeNode(MMObjectNode node)
Remove a node from the cloud.
|
void |
TypeRel.removeNode(MMObjectNode node)
Remove a node from the cloud.
|
void |
RelDef.setDefaults(MMObjectNode node)
Sets defaults for a new relation definition.
|
void |
InsRel.setDefaults(MMObjectNode node)
Set defaults for a node.
|
boolean |
TypeDef.setValue(MMObjectNode node,
String fieldName,
Object originalValue)
Sets a key/value pair in the main values of this node.
|
protected void |
TypeDef.storeBuilderConfiguration(MMObjectNode node) |
void |
RelDef.testValidData(MMObjectNode node)
Tests whether the data in a node is valid (throws an exception if this is not the case).
|
String |
TypeRel.toString(MMObjectNode n) |
protected MMObjectBuilder |
TypeDef.unloadBuilder(MMObjectNode node) |
| Modifier and Type | Field and Description |
|---|---|
(package private) MMObjectNode |
EditStateNode.node |
| Modifier and Type | Field and Description |
|---|---|
(package private) Vector<MMObjectNode> |
EditStateNode.insSaveList |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
EditState.getEditDstNode() |
MMObjectNode |
EditStateNode.getEditDstNode() |
MMObjectNode |
EditState.getEditNode() |
MMObjectNode |
EditStateNode.getEditNode() |
MMObjectNode |
EditState.getEditNode(int i) |
MMObjectNode |
EditState.getEditSrcNode() |
MMObjectNode |
EditStateNode.getEditSrcNode() |
| Modifier and Type | Method and Description |
|---|---|
Vector<MMObjectNode> |
EditState.getInsSaveList() |
Vector<MMObjectNode> |
EditStateNode.getInsSaveList() |
Hashtable<Integer,MMObjectNode> |
HtmlBase.getSearchHash(Vector se,
String mapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
EditStateNode.setInsSaveNode(MMObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
Object |
MyNewsBuilder.getValue(MMObjectNode node,
String field) |
| Modifier and Type | Method and Description |
|---|---|
String |
IdRel.getGUIIndicator(MMObjectNode node) |
| Modifier and Type | Class and Description |
|---|---|
class |
Authenticate.AdminVirtualNode |
| Modifier and Type | Field and Description |
|---|---|
protected MMObjectNode |
User.node |
| Modifier and Type | Field and Description |
|---|---|
protected static Cache<String,MMObjectNode> |
Caches.contextCache |
protected static Cache<String,MMObjectNode> |
Caches.userCache |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
BasicUserProvider.getAnonymousUser()
Returns the anonymous user node, or
null if there is no such node (yet). |
MMObjectNode |
UserProvider.getAnonymousUser()
Returns the node representing the anonymous node.
|
protected MMObjectNode |
Verify.getContextNode(int nodeId,
boolean exception)
For a certain node, returns the node representing its 'context'.
|
MMObjectNode |
ContextProvider.getContextNode(MMObjectNode node)
Returns the MMObjectNode representing the 'context' of a certain other node
|
MMObjectNode |
BasicContextProvider.getContextNode(MMObjectNode node) |
MMObjectNode |
ContextProvider.getContextNode(String context)
Returns the MMObjectNode representing the 'context' which is identifier with the given name.
|
MMObjectNode |
BasicContextProvider.getContextNode(String context) |
MMObjectNode |
User.getNode()
An MMObjectNode (of type 'mmbaseusers') is associated with this User object.
|
protected MMObjectNode |
Verify.getNode(int nodeId,
boolean exception)
For a certain node number , return the MMObjectNode representing it
|
MMObjectNode |
BasicUserProvider.getUser(String userName)
Gets the usernode by userName (the 'identifier').
|
MMObjectNode |
UserProvider.getUser(String user)
Returns the node associated with a certain username
or
null |
MMObjectNode |
BasicUserProvider.getUser(String userName,
String password,
boolean encoded) |
MMObjectNode |
UserProvider.getUser(String user,
String pw,
boolean encoded)
Returns the node associated with a certain username/password combination,
or
null |
MMObjectNode |
BasicUserProvider.getUserByRank(String rank,
String userName) |
MMObjectNode |
UserProvider.getUserByRank(String userName,
String rank)
Returns the node associated with a certain username/rank combination
or
null |
| Modifier and Type | Method and Description |
|---|---|
Set<MMObjectNode> |
Caches.OperationsCache.get(MMObjectNode context,
Operation op) |
static Cache<String,MMObjectNode> |
Caches.getContextCache() |
Set<MMObjectNode> |
BasicContextProvider.getGroupsAndUsers(MMObjectNode contextNode,
Operation operation) |
protected Collection<MMObjectNode> |
BasicContextProvider.getGroupsOrUsers(MMObjectNode contextNode,
Operation operation,
MMObjectBuilder groupsOrUsers) |
static Cache<String,MMObjectNode> |
Caches.getUserCache() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BasicContextProvider.allows(MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
Set<MMObjectNode> |
Caches.OperationsCache.get(MMObjectNode context,
Operation op) |
String |
ContextProvider.getContext(User user,
MMObjectNode node) |
String |
BasicContextProvider.getContext(User userContext,
MMObjectNode node) |
String |
ContextProvider.getContextName(MMObjectNode context)
Returns the name of the context belonging to a certain context node.
|
String |
BasicContextProvider.getContextName(MMObjectNode contextNode) |
MMObjectNode |
ContextProvider.getContextNode(MMObjectNode node)
Returns the MMObjectNode representing the 'context' of a certain other node
|
MMObjectNode |
BasicContextProvider.getContextNode(MMObjectNode node) |
String |
BasicUserProvider.getDefaultContext(MMObjectNode node) |
String |
UserProvider.getDefaultContext(MMObjectNode user) |
Set<MMObjectNode> |
BasicContextProvider.getGroupsAndUsers(MMObjectNode contextNode,
Operation operation) |
protected Collection<MMObjectNode> |
BasicContextProvider.getGroupsOrUsers(MMObjectNode contextNode,
Operation operation,
MMObjectBuilder groupsOrUsers) |
Set<String> |
ContextProvider.getPossibleContexts(User user,
MMObjectNode node) |
Set<String> |
BasicContextProvider.getPossibleContexts(User user,
MMObjectNode node) |
Rank |
BasicUserProvider.getRank(MMObjectNode userNode) |
Rank |
UserProvider.getRank(MMObjectNode userNode) |
boolean |
ContextProvider.grant(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
boolean |
BasicContextProvider.grant(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
boolean |
BasicUserProvider.isOwnNode(User user,
MMObjectNode node) |
boolean |
UserProvider.isOwnNode(User user,
MMObjectNode node)
Returns whether the given node is an 'own' node.
|
protected boolean |
BasicUserProvider.isStatusValid(MMObjectNode node) |
boolean |
BasicUserProvider.isValid(MMObjectNode node) |
boolean |
UserProvider.isValid(MMObjectNode userNode) |
boolean |
ContextProvider.mayDo(User user,
MMObjectNode nodeId,
Operation operation) |
boolean |
BasicContextProvider.mayDo(User user,
MMObjectNode node,
Operation operation) |
boolean |
ContextProvider.mayDoOnContext(MMObjectNode userNode,
MMObjectNode contextNode,
Operation operation,
boolean checkOwnRights) |
boolean |
BasicContextProvider.mayDoOnContext(MMObjectNode userNode,
MMObjectNode contextNode,
Operation operation,
boolean checkOwnRights) |
protected boolean |
BasicContextProvider.mayDoOnContext(User user,
MMObjectNode contextNode,
Operation operation,
boolean checkOwnRights) |
boolean |
ContextProvider.mayGrant(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation)
Whether, or not, the user is allowed to grant the security operation to the group or user on the context
node.
|
boolean |
BasicContextProvider.mayGrant(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
boolean |
ContextProvider.mayRevoke(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation)
Whether, or not, the user is allowed to revoke the security operation to the group or user on the context
node.
|
boolean |
BasicContextProvider.mayRevoke(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
Object |
Caches.OperationsCache.put(MMObjectNode context,
Operation op,
Set<MMObjectNode> groups) |
boolean |
ContextProvider.revoke(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
boolean |
BasicContextProvider.revoke(User user,
MMObjectNode contextNode,
MMObjectNode groupOrUserNode,
Operation operation) |
void |
ContextProvider.setContext(User user,
MMObjectNode node,
String context)
Sets the context of the given ode.
|
void |
BasicContextProvider.setContext(User user,
MMObjectNode node,
String context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
Caches.OperationsCache.put(MMObjectNode context,
Operation op,
Set<MMObjectNode> groups) |
| Constructor and Description |
|---|
LocalAdmin(MMObjectNode userNode,
String user,
String app) |
User(MMObjectNode n,
long l,
String app) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
Users.getAnonymousUser() |
MMObjectNode |
Contexts.getDefaultContextNode() |
protected MMObjectNode |
Contexts.getGroupOrUserNode(Parameters a) |
MMObjectNode |
RightsRel.getNewNode(String owner,
int snumber,
int dnumber,
Operation operation) |
MMObjectNode |
Ranks.getRankNode(Rank rank)
Gets the rank node with given rank, or if no such node, the node with the highest rank
smaller than given rank.
|
MMObjectNode |
Users.getUser(String userName)
Gets the usernode by userName (the 'identifier').
|
MMObjectNode |
Users.getUser(String userName,
String password)
Gets the usernode and check its credential (password only, currently)
|
MMObjectNode |
Users.getUser(String userName,
String password,
boolean encode) |
MMObjectNode |
Users.getUserByRank(String rank,
String userName) |
protected MMObjectNode |
Contexts.getUserNode(UserContext user) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
Groups.contains(MMObjectNode containingGroupNode,
int containedObject)
Checks wether group or user identified by number is contained by group (also indirectly)
|
protected boolean |
Groups.contains(MMObjectNode containingGroupNode,
int containedObject,
Set<Integer> recurse)
Checks wether group or user identified by number is contained by group.
|
boolean |
Groups.contains(MMObjectNode containingGroup,
MMObjectNode groupOrUser) |
boolean |
Groups.contains(MMObjectNode group,
User user)
Checks wether a a certain user is part of a certain group, either directly or indirectly.
|
boolean |
Groups.equals(MMObjectNode o1,
MMObjectNode o2) |
boolean |
Users.equals(MMObjectNode o1,
MMObjectNode o2) |
protected Object |
Users.executeFunction(MMObjectNode node,
String function,
List<?> args) |
String |
Users.getDefaultContext(MMObjectNode node) |
String |
RightsRel.getGUIIndicator(MMObjectNode node) |
Rank |
Ranks.getRank(MMObjectNode node)
Converts this MMObjectNode to a real rank.
|
Rank |
Users.getRank(MMObjectNode userNode)
Deprecated.
|
String |
Users.getUserName(MMObjectNode node) |
int |
Groups.hashCode(MMObjectNode o) |
int |
Ranks.insert(String owner,
MMObjectNode node)
If a rank is inserted, it must be registered
|
int |
RightsRel.insert(String owner,
MMObjectNode node) |
int |
Users.insert(String owner,
MMObjectNode node)
UserName must be unique, check it also here (to throw nicer exceptions)
|
protected boolean |
PeopleContexts.isOwnNode(User user,
MMObjectNode node) |
protected boolean |
Contexts.isOwnNode(User user,
MMObjectNode node) |
boolean |
Users.isValid(MMObjectNode node) |
protected boolean |
Contexts.mayDo(MMObjectNode user,
MMObjectNode contextNode,
Operation operation,
boolean checkOwnRights) |
void |
Ranks.removeNode(MMObjectNode node)
A rank may only be removed if there are no users of that rank.
|
void |
Ranks.setDefaults(MMObjectNode node) |
void |
RightsRel.setDefaults(MMObjectNode node)
Operation defaults to 'read'.
|
void |
Groups.setDefaults(MMObjectNode node)
unused, ie untested
public void addGroup(User user, MMObjectNode group, Verify verify) {
for (Enumeration enumeration = user.getNode().getRelations(); enumeration.hasMoreElements();) {
MMObjectNode relation = getNode(((MMObjectNode)enumeration.nextElement()).getNumber());
if (relation.parent instanceof ContainsRel) {
MMObjectNode source = relation.getNodeValue("snumber");
MMObjectNode destination = relation.getNodeValue("dnumber");
if (destination.getNumber() == user.getNode().getNumber() && source.getBuilder() == this) {
MMObjectNode newRelation = ContainsRel.getBuilder().grantRightsTo(group, source);
verify.create(user, newRelation.getNumber());
}
}
}
}
|
void |
Contexts.setDefaults(MMObjectNode node)
Makes sure unique values and not-null's are filed
|
void |
Users.setDefaults(MMObjectNode node)
Makes sure unique values and not-null's are filed
|
boolean |
RightsRel.setValue(MMObjectNode node,
String fieldName)
Check on possible values for operation.
|
boolean |
Ranks.setValue(MMObjectNode node,
String field,
Object originalValue)
Only the description of a rarnk may be changed.
|
boolean |
Users.setValue(MMObjectNode node,
String field,
Object originalValue) |
String |
Groups.toString(MMObjectNode n) |
String |
Contexts.toString(MMObjectNode n) |
String |
Users.toString(MMObjectNode n) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
WorkFlowContextProvider.getContextNode(String context)
Returns the MMObjectNode representing the 'context' which is identifier with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
WorkFlowContextProvider.getContext(User userContext,
MMObjectNode node) |
Set<String> |
WorkFlowContextProvider.getPossibleContexts(User user,
MMObjectNode node) |
boolean |
WorkFlowContextProvider.mayDo(User user,
MMObjectNode nodeId,
Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
StorageManager.getNode(MMObjectBuilder builder,
int number)
Select a node from a specified builder
|
| Modifier and Type | Method and Description |
|---|---|
void |
StorageManager.change(MMObjectNode node)
Commit this node to the specified builder.
|
int |
StorageManager.create(MMObjectNode node)
This method creates a new object in the storage, and registers the change.
|
void |
StorageManager.delete(MMObjectNode node)
Delete a node
|
byte[] |
StorageManager.getBinaryValue(MMObjectNode node,
CoreField field)
Retrieve a large binary object (byte array) for a specified object field.
|
InputStream |
StorageManager.getInputStreamValue(MMObjectNode node,
CoreField field) |
String |
StorageManager.getStringValue(MMObjectNode node,
CoreField field)
Retrieve a large text for a specified object field.
|
boolean |
StorageManager.isNull(MMObjectNode node,
CoreField field)
Checks for null values for a field from the storage of this builder.
|
int |
StorageManager.setNodeType(MMObjectNode node,
MMObjectBuilder builder) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<MMObjectNode,String> |
DatabaseStorageManager.changes
Pool of changed nodes in a transaction
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
DatabaseStorageManager.getNode(MMObjectBuilder builder,
int number) |
MMObjectNode |
DatabaseStorageManager.readNode(MMObjectBuilder builder,
Map<CoreField,Integer> fieldIndices,
ResultSet rs,
boolean isVirtual) |
| Modifier and Type | Method and Description |
|---|---|
void |
DatabaseStorageManager.change(MMObjectNode node) |
protected void |
DatabaseStorageManager.change(MMObjectNode node,
MMObjectBuilder builder)
Change this node in the specified builder.
|
void |
ViewDatabaseStorageManager.change(MMObjectNode node,
MMObjectBuilder builder)
Changes a node in the passed builder and all its parent builders
|
void |
RelationalDatabaseStorageManager.change(MMObjectNode node,
MMObjectBuilder builder)
Changes a node in the passed builder and all its parent builders
|
protected void |
DatabaseStorageManager.change(MMObjectNode node,
MMObjectBuilder builder,
String tableName,
Collection<CoreField> changeFields)
Commits changes in node to table.
|
protected File |
DatabaseStorageManager.checkFile(File binaryFile,
MMObjectNode node,
CoreField field)
Checks whether file is readable and existing.
|
protected void |
DatabaseStorageManager.commitChange(MMObjectNode node,
String change)
Commits the change to a node.
|
int |
DatabaseStorageManager.create(MMObjectNode node) |
protected void |
DatabaseStorageManager.create(MMObjectNode node,
List<CoreField> createFields,
String tablename) |
protected void |
DatabaseStorageManager.create(MMObjectNode node,
MMObjectBuilder builder)
This method inserts a new object in a specific builder, and registers the change.
|
void |
ViewDatabaseStorageManager.create(MMObjectNode node,
MMObjectBuilder builder) |
void |
RelationalDatabaseStorageManager.create(MMObjectNode node,
MMObjectBuilder builder)
Adds a node to the passed builder and all its parent builders.
|
protected void |
ViewDatabaseStorageManager.createObject(MMObjectNode node,
MMObjectBuilder builder)
This method inserts a new object in a specific builder, and registers the change.
|
void |
DatabaseStorageManager.delete(MMObjectNode node) |
protected void |
DatabaseStorageManager.delete(MMObjectNode node,
MMObjectBuilder builder)
Delete a node from a specific builder
This method makes it easier to implement relational databases, where you may need to remove the node
in more than one builder.
|
void |
ViewDatabaseStorageManager.delete(MMObjectNode node,
MMObjectBuilder builder)
Deletes a node in the passed builder and all its parent builders.
|
void |
RelationalDatabaseStorageManager.delete(MMObjectNode node,
MMObjectBuilder builder)
Deletes a node in the passed builder and all its parent builders.
|
protected void |
PostgresqlLargeObjectStorageManager.delete(MMObjectNode node,
MMObjectBuilder builder,
List<CoreField> blobFileField,
String tablename)
Deletes all references LargeObjects and calls the overridden method in
its super class afterwards.
|
protected void |
DatabaseStorageManager.delete(MMObjectNode node,
MMObjectBuilder builder,
List<CoreField> blobFileField,
String tablename) |
protected void |
PostgresqlLargeObjectStorageManager.deleteLargeObjects(MMObjectNode node,
MMObjectBuilder builder,
List<CoreField> blobFileField)
Delete all binary objects stored as large object.
|
protected int |
DatabaseStorageManager.executeUpdate(String query,
MMObjectNode node,
List<CoreField> fields)
Executes an update query for given node and fields.
|
protected int |
DatabaseStorageManager.executeUpdateCheckConnection(String query,
MMObjectNode node,
List<CoreField> fields)
Executes an update query for given node and fields.
|
protected void |
DatabaseStorageManager.fillNode(MMObjectNode node,
ResultSet result,
MMObjectBuilder builder)
Fills a single Node from the resultset of a query.
|
protected File |
DatabaseStorageManager.getBinaryFile(MMObjectNode node,
String fieldName)
Defines how binary (blob) data files must look like.
|
byte[] |
DatabaseStorageManager.getBinaryValue(MMObjectNode node,
CoreField field) |
protected Blob |
DatabaseStorageManager.getBlobFromDatabase(MMObjectNode node,
CoreField field,
boolean mayShorten)
Read a binary (blob) from a field in the database
|
Blob |
DatabaseStorageManager.getBlobValue(MMObjectNode node,
CoreField field) |
Blob |
DatabaseStorageManager.getBlobValue(MMObjectNode node,
CoreField field,
boolean mayShorten) |
InputStream |
DatabaseStorageManager.getInputStreamValue(MMObjectNode node,
CoreField field) |
String |
DatabaseStorageManager.getStringValue(MMObjectNode node,
CoreField field) |
boolean |
DatabaseStorageManager.isNull(MMObjectNode node,
CoreField field) |
protected void |
DatabaseStorageManager.refresh(MMObjectNode node)
Reloads the data from a node from the database.
|
protected void |
PostgresqlLargeObjectStorageManager.setBinaryValue(PreparedStatement statement,
int index,
Object objectValue,
CoreField field,
MMObjectNode node)
Writes the binary objectValue to to a LargeObject and stores the
resulting oid as long in the statement.
|
protected void |
DatabaseStorageManager.setBinaryValue(PreparedStatement statement,
int index,
Object objectValue,
CoreField field,
MMObjectNode node)
Store binary data of a field in a prepared statement.
|
protected void |
DatabaseStorageManager.setBooleanValue(PreparedStatement statement,
int index,
Object value,
CoreField field,
MMObjectNode node)
Store a boolean value of a field in a prepared statement.
|
protected void |
DatabaseStorageManager.setDateTimeValue(PreparedStatement statement,
int index,
Object value,
CoreField field,
MMObjectNode node)
Store a Date value of a field in a prepared statement.
|
protected void |
DatabaseStorageManager.setDecimalValue(PreparedStatement statement,
int index,
Object value,
CoreField field,
MMObjectNode node) |
protected void |
DatabaseStorageManager.setListValue(PreparedStatement statement,
int index,
Object value,
CoreField field,
MMObjectNode node)
Store a List value of a field in a prepared statement.
|
int |
DatabaseStorageManager.setNodeType(MMObjectNode node,
MMObjectBuilder bul) |
protected void |
DatabaseStorageManager.setNodeTypeLeaveRelations(MMObjectNode node,
MMObjectBuilder buil)
Deletes the node, and recreates it in a different table.
|
protected void |
DatabaseStorageManager.setNodeTypeRememberRelations(MMObjectNode node,
MMObjectBuilder buil)
Deletes the node, and recreates it in a different table.
|
protected void |
DatabaseStorageManager.setNodeValue(PreparedStatement statement,
int index,
Object nodeValue,
CoreField field,
MMObjectNode node)
Store a node value of a field in a prepared statement
Nodes are stored in the database as numeric values.
|
protected void |
DatabaseStorageManager.setNumericValue(PreparedStatement statement,
int index,
Object value,
CoreField field,
MMObjectNode node)
Store a numeric value of a field in a prepared statement
The method uses the Casting class to convert to the appropriate value.
|
protected Object |
DatabaseStorageManager.setStringValue(PreparedStatement statement,
int index,
Object objectValue,
CoreField field,
MMObjectNode node)
Store the text value of a field in a prepared statement.
|
protected void |
DatabaseStorageManager.setValue(PreparedStatement statement,
int index,
MMObjectNode node,
CoreField field)
Store the value of a field in a prepared statement
|
protected void |
DatabaseStorageManager.setXMLValue(PreparedStatement statement,
int index,
Object objectValue,
CoreField field,
MMObjectNode node)
|
protected void |
RelationalDatabaseStorageManager.simpleCreate(MMObjectNode node,
MMObjectBuilder builder)
Actual implementation of
RelationalDatabaseStorageManager.create(MMObjectNode, MMObjectBuilder) which wraps this in a
transction only, now. |
protected void |
DatabaseStorageManager.storeBinaryAsFile(MMObjectNode node,
CoreField field)
Store a binary (blob) data file
|
protected void |
DatabaseStorageManager.unloadShortedFields(MMObjectNode node,
MMObjectBuilder builder) |
| Modifier and Type | Class and Description |
|---|---|
class |
ResultNode
A
ResultNode is a virtual node, used to represent
the result of executing an arbitrary search query. |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
ResultBuilder.getNewNode(String owner) |
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
SearchQueryHandler.getNodes(SearchQuery query,
MMObjectBuilder builder)
Processes a search query, returns the result as a list of nodes.
|
List<MMObjectNode> |
ResultBuilder.getResult() |
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
BasicQueryHandler.getNodes(SearchQuery query,
MMObjectBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
ImageSources.getCachedNode(MMObjectNode node,
String template)
Returns a icaches node for given image node and conversion template.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
ImageSources.getBinary(MMObjectNode node) |
MMObjectNode |
ImageSources.getCachedNode(MMObjectNode node,
String template)
Returns a icaches node for given image node and conversion template.
|
Dimension |
ImageSources.getDimension(MMObjectNode node) |
protected Dimension |
ImageSources.getDimension(MMObjectNode node,
String template) |
StringBuilder |
ImageSources.getFileName(MMObjectNode node,
StringBuilder buf) |
String |
ImageSources.getImageFormat(MMObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
int |
NodeComparator.compare(MMObjectNode o1,
MMObjectNode o2)
The two message nodes will be compared using the compare function of
the values of their fields.
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
ExampleBean.nodeFunction1()
A function returning a Node as a core object (deprecated).
|
| Modifier and Type | Method and Description |
|---|---|
MMObjectNode |
NodeReceiver.getNode()
The icache node in which the conversion results must be stored.
|
| Modifier and Type | Method and Description |
|---|---|
static ImageConversionRequest |
Factory.getImageConversionRequest(List<String> pars,
byte[] in,
String format,
MMObjectNode icacheNode) |
| Constructor and Description |
|---|
ImageConversionRequest(List<String> params,
byte[] in,
String format,
MMObjectNode icacheNode) |
NodeReceiver(MMObjectNode icacheNode) |
| Modifier and Type | Method and Description |
|---|---|
String |
DefaultUrlStrategy.calculate(MMObjectNode node)
calculates an url for this node.
|
abstract String |
JumperStrategy.calculate(MMObjectNode node)
calculates an url for this node.
|
String |
UrlStrategy.calculate(MMObjectNode node)
calculates an url for this node.
|
String |
ChainedJumperStrategy.calculate(MMObjectNode node) |
boolean |
DefaultUrlStrategy.contains(MMObjectNode node)
signals whether this strategy can calculate an url for this node.
|
boolean |
JumperStrategy.contains(MMObjectNode node)
signals whether this strategy can calculate an url for this node.
|
boolean |
UrlStrategy.contains(MMObjectNode node)
signals whether this strategy can calculate an url for this node.
|
boolean |
ChainedJumperStrategy.contains(MMObjectNode node) |
| Modifier and Type | Method and Description |
|---|---|
List<MMObjectNode> |
NodeReader.getNodes(MMBase mmbase) |
List<MMObjectNode> |
RelationNodeReader.getNodes(MMBase mmbase) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static int |
ContextDepthDataWriter.getRelatedNode(int nodeNumber,
MMObjectNode relationNode)
Determines the number of the node referenced by another node.
|
void |
NodeReader.loadBinaryFields(MMObjectNode newNode) |
protected void |
NodeReader.setValue(MMObjectBuilder bul,
MMObjectNode newNode,
Node n5,
String key,
String value) |
void |
NodeWriter.write(MMObjectNode node)
Writes a node (object) to the datasource file.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
FullBackupDataWriter.writeNodes(String subTargetPath,
MMBase mmbase,
Logger logger,
MMObjectBuilder builder,
List<MMObjectNode> nodes,
boolean isRelation)
Writes the nodes of a particular type to the corresponding XML file.
|
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}