public class DeletedNodeFact extends Object implements NodeFact, ModifiedNodeFact
| Constructor and Description |
|---|
DeletedNodeFact(AddedNodeFact nodeWrapper,
org.drools.core.spi.KnowledgeHelper drools) |
DeletedNodeFact(AddedNodeFact parent,
String path) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
Returns the UUID of the corresponding node.
|
String |
getLanguage()
Returns the current language.
|
String |
getName() |
String |
getNodeIdentifier() |
String |
getNodeType() |
String |
getOperationType()
Returns the current JCR operation type.
|
AddedNodeFact |
getParent()
Returns the parent node fact.
|
String |
getPath()
Returns the corresponding path of the node.
|
JCRSessionWrapper |
getSession()
Returns the session that execute the rule
|
List<String> |
getTypes() |
String |
getWorkspace()
Returns the current JCR workspace name.
|
void |
setIdentifier(String identifier) |
void |
setOperationType(String operationType) |
void |
setSession(JCRSessionWrapper session) |
void |
setTypes(List<String> types) |
String |
toString() |
public DeletedNodeFact(AddedNodeFact nodeWrapper, org.drools.core.spi.KnowledgeHelper drools) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic DeletedNodeFact(AddedNodeFact parent, String path) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic String getPath()
NodeFactpublic AddedNodeFact getParent()
NodeFactpublic String getIdentifier()
NodeFactgetIdentifier in interface NodeFactpublic void setIdentifier(String identifier)
public JCRSessionWrapper getSession() throws javax.jcr.RepositoryException
NodeFactgetSession in interface ModifiedNodeFactgetSession in interface NodeFactjavax.jcr.RepositoryException - in case of JCR-related errorspublic void setSession(JCRSessionWrapper session)
public String getWorkspace() throws javax.jcr.RepositoryException
NodeFactgetWorkspace in interface ModifiedNodeFactgetWorkspace in interface NodeFactjavax.jcr.RepositoryException - in case of a repository access errorpublic String getLanguage() throws javax.jcr.RepositoryException
NodeFactgetLanguage in interface NodeFactjavax.jcr.RepositoryException - in case of a repository access errorpublic String getOperationType()
getOperationType in interface NodeFactjavax.jcr.RepositoryException - in case of a repository access errorpublic void setOperationType(String operationType)
setOperationType in interface NodeFactpublic String getName()
public List<String> getTypes() throws javax.jcr.RepositoryException
javax.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.