net.sf.basedb.util
Class ShareableUtil
java.lang.Object
net.sf.basedb.util.ShareableUtil
public class ShareableUtil
- extends Object
- Version:
- 2.0
- Author:
- Nicklas
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (Mon, 06 Apr 2009) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShareableUtil
public ShareableUtil()
getMultiPermissions
public static MultiPermissions getMultiPermissions(DbControl dc,
Item itemType,
Set<Integer> items)
throws BaseException
- Throws:
BaseException
getSharedTo
public static List<Nameable> getSharedTo(DbControl dc,
SharedItem item)
- Gets a list with the projects, groups and users(in that order) that
an item is shared to.
- Parameters:
dc
- DbControl to use when accessing the database.item
- The item that is shared
- Returns:
- A
List
with items implementing Nameable
- Since:
- 2.4