public class ShareableUtil
extends java.lang.Object
Constructor and Description |
---|
ShareableUtil() |
Modifier and Type | Method and Description |
---|---|
static MultiPermissions |
getMultiPermissions(DbControl dc,
Item itemType,
java.util.Set<java.lang.Integer> items) |
static java.util.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, java.util.Set<java.lang.Integer> items) throws BaseException
BaseException
public static java.util.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