public class ShareableUtil extends Object
Constructor and Description |
---|
ShareableUtil() |
Modifier and Type | Method and Description |
---|---|
static MultiPermissions |
getMultiPermissions(DbControl dc,
Item itemType,
Set<Integer> items) |
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.
|
public static MultiPermissions getMultiPermissions(DbControl dc, Item itemType, Set<Integer> items) throws BaseException
BaseException
public static List<Nameable> getSharedTo(DbControl dc, SharedItem item)
dc
- DbControl to use when accessing the database.item
- The item that is sharedList
with items implementing Nameable