Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.directory.api.ui
Interface DirectoryUIDeleteConstraint

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractDirectoryUIDeleteConstraint, HierarchicalDirectoryUIDeleteConstraint

public interface DirectoryUIDeleteConstraint
extends Serializable

Interface for delete constraint on a directory, dependent to another directory

Author:
Anahide Tchertchian

Method Summary
 boolean canDelete(DirectoryService dirService, String entryId)
          Returns true if given entry can be deleted from the directory where constraint is declared.
 void setProperties(Map<String,String> properties)
          Sets properties that may depend on the directory configuration
 

Method Detail

setProperties

void setProperties(Map<String,String> properties)
                   throws DirectoryException
Sets properties that may depend on the directory configuration

Parameters:
properties -
Throws:
DirectoryException

canDelete

boolean canDelete(DirectoryService dirService,
                  String entryId)
                  throws DirectoryException,
                         ClientException
Returns true if given entry can be deleted from the directory where constraint is declared.

Parameters:
dirService - the directory service
entryId - the entry to delete id
Throws:
DirectoryException
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.