|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<GetChildrenCommand>
org.jboss.dna.connector.federation.executor.ProjectedGetChildrenCommand
public class ProjectedGetChildrenCommand

| Constructor Summary | |
|---|---|
ProjectedGetChildrenCommand(GetChildrenCommand delegate,
Path projectedPath)
|
|
| Method Summary | |
|---|---|
void |
addChild(Path.Segment nameOfChild,
Property... identityProperties)
Add the child to this node. |
CachePolicy |
getCachePolicy()
Get the caching policy to be used for this object. |
DateTime |
getTimeLoaded()
Get the time that this node data was originally loaded. |
void |
setCachePolicy(CachePolicy cachePolicy)
Set the caching policy for this object. |
void |
setNoChildren()
Set that this node has no children. |
| Methods inherited from class org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand |
|---|
getError, getPath, hasError, hasNoError, isCancelled, setError |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.dna.graph.commands.GraphCommand |
|---|
getError, hasError, hasNoError, isCancelled, setError |
| Methods inherited from interface org.jboss.dna.graph.commands.ActsOnPath |
|---|
getPath |
| Constructor Detail |
|---|
public ProjectedGetChildrenCommand(GetChildrenCommand delegate,
Path projectedPath)
| Method Detail |
|---|
public void addChild(Path.Segment nameOfChild,
Property... identityProperties)
addChild in interface GetChildrenCommandnameOfChild - the name of the child; should not be the same as an existing child (not checked)identityProperties - the property/properties that are considered identity properties (other than the name) for the
childGetChildrenCommand.addChild(org.jboss.dna.graph.properties.Path.Segment,
org.jboss.dna.graph.properties.Property[])public void setNoChildren()
setNoChildren in interface GetChildrenCommandGetChildrenCommand.setNoChildren()public CachePolicy getCachePolicy()
Note that the values of the policy are relative to the time the node was loaded, so the same
instance can be used for many nodes.
getCachePolicy in interface CacheableCacheable.getCachePolicy()public DateTime getTimeLoaded()
getTimeLoaded in interface CacheableCacheable.getTimeLoaded()public void setCachePolicy(CachePolicy cachePolicy)
setCachePolicy in interface CacheablecachePolicy - the caching policy to use for this objectCacheable.setCachePolicy(org.jboss.dna.graph.cache.CachePolicy)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||