public class DatasetSharingUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static long |
BDD_ADMIN_GROUP_RECORD_ID |
static long |
BDD_ALL_USERS_GROUP_RECORD_ID |
static java.lang.String |
GET_AVAILABLE_USER_GROUP_LIST |
static java.lang.String |
GET_AVAILABLE_USER_LIST |
static java.lang.String |
GET_CURRENT_USER_GROUP_LIST |
static java.lang.String |
GET_CURRENT_USER_LIST |
static java.lang.String |
UPDATE_ACCESS_INFO |
Constructor and Description |
---|
DatasetSharingUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.lang.Long> |
getAllAuthorizedUsersForDataSet(com.oracle.endeca.pdi.concepts.mdex.MdexCollectionIdentifier collectionId) |
static void |
getAvailableUserGroupList(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response) |
static void |
getAvailableUserList(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response) |
static void |
getCurrentUserGroupList(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response) |
static void |
getCurrentUserList(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response) |
static java.lang.String |
getDatasetAccessLabel(java.lang.String accessType,
java.util.Collection<java.lang.Long> authorizedReadUsers,
java.util.Collection<java.lang.Long> authorizedReadGroups,
long creatorUserId,
java.util.Locale locale) |
static DatasetPermissionEnum |
getDataSetPermissionForCurrentUser(javax.portlet.PortletRequest request,
com.oracle.endeca.pdi.dataset.inventory.DataSetAccessControl accessControl) |
static DatasetPermissionEnum |
getDataSetPermissionForCurrentUser(javax.portlet.PortletRequest request,
com.oracle.endeca.pdi.dataset.inventory.DataSetAccessType accessType,
java.util.Collection<java.lang.Long> authorizedReadWriteUsers,
java.util.Collection<java.lang.Long> authorizedReadWriteGroups,
java.util.Collection<java.lang.Long> authorizedReadUsers,
java.util.Collection<java.lang.Long> authorizedReadGroups) |
static void |
updateDatasetAccess(javax.portlet.PortletRequest request,
javax.portlet.ResourceResponse response,
Container container) |
public static final java.lang.String UPDATE_ACCESS_INFO
public static final java.lang.String GET_CURRENT_USER_LIST
public static final java.lang.String GET_AVAILABLE_USER_LIST
public static final java.lang.String GET_CURRENT_USER_GROUP_LIST
public static final java.lang.String GET_AVAILABLE_USER_GROUP_LIST
public static final long BDD_ADMIN_GROUP_RECORD_ID
public static final long BDD_ALL_USERS_GROUP_RECORD_ID
public static void updateDatasetAccess(javax.portlet.PortletRequest request, javax.portlet.ResourceResponse response, Container container) throws javax.portlet.PortletException
javax.portlet.PortletException
public static java.util.Collection<java.lang.Long> getAllAuthorizedUsersForDataSet(com.oracle.endeca.pdi.concepts.mdex.MdexCollectionIdentifier collectionId)
public static void getCurrentUserList(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws javax.portlet.PortletException
javax.portlet.PortletException
public static void getAvailableUserList(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws java.lang.Exception
java.lang.Exception
public static void getCurrentUserGroupList(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws javax.portlet.PortletException
javax.portlet.PortletException
public static void getAvailableUserGroupList(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws javax.portlet.PortletException
javax.portlet.PortletException
public static DatasetPermissionEnum getDataSetPermissionForCurrentUser(javax.portlet.PortletRequest request, com.oracle.endeca.pdi.dataset.inventory.DataSetAccessControl accessControl)
public static DatasetPermissionEnum getDataSetPermissionForCurrentUser(javax.portlet.PortletRequest request, com.oracle.endeca.pdi.dataset.inventory.DataSetAccessType accessType, java.util.Collection<java.lang.Long> authorizedReadWriteUsers, java.util.Collection<java.lang.Long> authorizedReadWriteGroups, java.util.Collection<java.lang.Long> authorizedReadUsers, java.util.Collection<java.lang.Long> authorizedReadGroups)
public static java.lang.String getDatasetAccessLabel(java.lang.String accessType, java.util.Collection<java.lang.Long> authorizedReadUsers, java.util.Collection<java.lang.Long> authorizedReadGroups, long creatorUserId, java.util.Locale locale)
Copyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.