boolean addOwner(Principal caller, Principal owner) throws NotOwnerException
caller
-主调用该方法。它必须是ACL的所有者。
owner
-业主认为应增加业主名单。
NotOwnerException
如果调用者主体没有ACL的所有者。
boolean deleteOwner(Principal caller, Principal owner) throws NotOwnerException, LastOwnerException
调用主体必须为ACL来调用这个方法的人。
caller
-主调用该方法。它必须是ACL的所有者。
owner
-业主是从业主名单中删除。
NotOwnerException
如果调用者主体没有ACL的所有者。
LastOwnerException
-如果只有一人离开,所以deleteOwner会离开ACL所有者不。
boolean isOwner(Principal owner)
owner
-进行检查以确定它是否是业主委托。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.