mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@125603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
54 lines
968 B
Java
54 lines
968 B
Java
|
|
package org.alfresco.filesys.repo;
|
|
|
|
import org.alfresco.service.cmr.model.FileFolderServiceType;
|
|
import org.alfresco.service.cmr.repository.NodeRef;
|
|
|
|
/**
|
|
* Node Event Base Class
|
|
*
|
|
* <p>Contains the details of a file/folder node event to be processed by a node monitor thread.
|
|
*
|
|
* @author gkspencer
|
|
*/
|
|
public class NodeEvent {
|
|
|
|
// Target node
|
|
|
|
private NodeRef m_nodeRef;
|
|
|
|
// File/folder node type
|
|
|
|
private FileFolderServiceType m_fileType;
|
|
|
|
/**
|
|
* Class constructor
|
|
*
|
|
* @param fType FileFolderServiceTtype
|
|
* @param nodeRef NodeRef
|
|
*/
|
|
protected NodeEvent( FileFolderServiceType fType, NodeRef nodeRef) {
|
|
m_fileType = fType;
|
|
m_nodeRef = nodeRef;
|
|
}
|
|
|
|
/**
|
|
* Return the target node
|
|
*
|
|
* @return NodeRef
|
|
*/
|
|
public final NodeRef getNodeRef() {
|
|
return m_nodeRef;
|
|
}
|
|
|
|
/**
|
|
* Return the node file/folder type
|
|
*
|
|
* @return FileFolderServiceType
|
|
*/
|
|
public final FileFolderServiceType getFileType() {
|
|
return m_fileType;
|
|
}
|
|
|
|
}
|