public class ChangedPropertyFact extends Object implements Updateable, ModifiedPropertyFact
| Constructor and Description |
|---|
ChangedPropertyFact(AddedNodeFact nodeWrapper,
JCRPropertyWrapper property) |
ChangedPropertyFact(AddedNodeFact nodeWrapper,
String name,
Object o,
org.drools.core.spi.KnowledgeHelper drools) |
ChangedPropertyFact(AddedNodeFact nodeWrapper,
String name,
Object o,
org.drools.core.spi.KnowledgeHelper drools,
boolean overrideIfExisting) |
| Modifier and Type | Method and Description |
|---|---|
void |
doUpdate(JCRSessionWrapper s,
List<Updateable> delayedUpdates) |
List<String> |
getInstalledModules() |
String |
getLanguage() |
String |
getName() |
AddedNodeFact |
getNode() |
String |
getNodeIdentifier() |
String |
getNodeType() |
AddedNodeFact |
getNodeValue() |
String |
getOperationType()
Returns the current JCR operation type.
|
JCRSessionWrapper |
getSession() |
String |
getStringValue() |
List<String> |
getStringValues() |
int |
getType() |
Object |
getValue() |
Object |
getValues() |
String |
getWorkspace() |
protected void |
setProperty(JCRNodeWrapper node,
String name,
Object objectValue,
boolean overrideIfExisting) |
String |
toString() |
public ChangedPropertyFact(AddedNodeFact nodeWrapper, JCRPropertyWrapper property) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic ChangedPropertyFact(AddedNodeFact nodeWrapper, String name, Object o, org.drools.core.spi.KnowledgeHelper drools) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic ChangedPropertyFact(AddedNodeFact nodeWrapper, String name, Object o, org.drools.core.spi.KnowledgeHelper drools, boolean overrideIfExisting) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic void doUpdate(JCRSessionWrapper s, List<Updateable> delayedUpdates) throws javax.jcr.RepositoryException
doUpdate in interface Updateablejavax.jcr.RepositoryExceptionprotected void setProperty(JCRNodeWrapper node, String name, Object objectValue, boolean overrideIfExisting) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String getName() throws javax.jcr.RepositoryException
getName in interface ModifiedPropertyFactjavax.jcr.RepositoryExceptionpublic String getStringValue() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic List<String> getStringValues() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic AddedNodeFact getNodeValue() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Object getValues() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic Object getValue() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic int getType()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String getLanguage() throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic AddedNodeFact getNode()
getNode in interface ModifiedPropertyFactpublic String getOperationType()
javax.jcr.RepositoryException - in case of a repository access errorpublic String getWorkspace() throws javax.jcr.RepositoryException
getWorkspace in interface ModifiedNodeFactjavax.jcr.RepositoryExceptionpublic JCRSessionWrapper getSession() throws javax.jcr.RepositoryException
getSession in interface ModifiedNodeFactjavax.jcr.RepositoryExceptionpublic String getNodeIdentifier() throws javax.jcr.RepositoryException
getNodeIdentifier in interface ModifiedNodeFactjavax.jcr.RepositoryExceptionpublic String getNodeType() throws javax.jcr.RepositoryException
getNodeType in interface ModifiedNodeFactjavax.jcr.RepositoryExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.