org.alfresco.filesys.repo
Class DeleteNodeEvent

java.lang.Object
  extended by org.alfresco.filesys.repo.NodeEvent
      extended by org.alfresco.filesys.repo.DeleteNodeEvent

public class DeleteNodeEvent
extends NodeEvent

Delete Node Event Class


Constructor Summary
DeleteNodeEvent(FileFolderServiceType fType, org.alfresco.service.cmr.repository.NodeRef nodeRef, java.lang.String path)
          Class constructor
 
Method Summary
 java.lang.String getPath()
          Return the relative path of the target node
 boolean hasDeleteConfirm()
          Check if the delete confirm flag is set
 void setDeleteConfirm(boolean delConfirm)
          Set/clear the delete confirm flag
 java.lang.String toString()
          Return the node event as a string
 
Methods inherited from class org.alfresco.filesys.repo.NodeEvent
getFileType, getNodeRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteNodeEvent

public DeleteNodeEvent(FileFolderServiceType fType,
                       org.alfresco.service.cmr.repository.NodeRef nodeRef,
                       java.lang.String path)
Class constructor

Parameters:
fType - FileFolderServiceTtype
nodeRef - NodeRef
path - String
Method Detail

getPath

public final java.lang.String getPath()
Return the relative path of the target node

Returns:
String

hasDeleteConfirm

public final boolean hasDeleteConfirm()
Check if the delete confirm flag is set

Returns:
boolean

setDeleteConfirm

public final void setDeleteConfirm(boolean delConfirm)
Set/clear the delete confirm flag

Parameters:
delConfirm - boolean

toString

public java.lang.String toString()
Return the node event as a string

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.