public class InlineSQLHelperImpl
extends Object
implements com.liferay.portal.kernel.security.permission.InlineSQLHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_BY_RESOURCE_BLOCK_ID
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
FILTER_BY_RESOURCE_BLOCK_ID_OWNER
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
FIND_BY_RESOURCE_BLOCK_ID
Deprecated.
As of 7.0.0, with no direct replacement
|
static String |
FIND_BY_RESOURCE_PERMISSION |
| Constructor and Description |
|---|
InlineSQLHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<Long> |
getOwnerResourceBlockIds(long companyId,
long[] groupIds,
String className)
Deprecated.
As of 7.0.0, with no direct replacement
|
protected String |
getOwnerResourceBlockIdsSQL(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long checkGroupId,
String className,
Set<Long> ownerResourceBlockIds)
Deprecated.
As of 7.0.0, with no direct replacement
|
protected Set<Long> |
getResourceBlockIds(long companyId,
long[] groupIds,
String className)
Deprecated.
As of 7.0.0, with no direct replacement
|
protected long[] |
getRoleIds(long groupId) |
protected long[] |
getRoleIds(long[] groupIds) |
protected String |
getRoleIdsOrOwnerIdSQL(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long[] groupIds,
String userIdField) |
protected long |
getUserId() |
protected String |
getUserResourceBlockIdsSQL(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long checkGroupId,
long[] roleIds,
String className,
Set<Long> userResourceBlockIds)
Deprecated.
As of 7.0.0, with no direct replacement
|
boolean |
isEnabled() |
boolean |
isEnabled(long groupId) |
boolean |
isEnabled(long[] groupIds) |
boolean |
isEnabled(long companyId,
long groupId) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
long groupId) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
long[] groupIds) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
long[] groupIds,
String bridgeJoin) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
long groupId,
String bridgeJoin) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long groupId) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long[] groupIds) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long[] groupIds,
String bridgeJoin) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long groupId,
String bridgeJoin) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
String bridgeJoin) |
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
String groupIdField,
long[] groupIds,
String bridgeJoin) |
protected String |
replacePermissionCheckBlocks(String sql,
String className,
String classPKField,
String userIdField,
long[] groupIds,
String bridgeJoin)
Deprecated.
As of 7.0.0, with no direct replacement
|
protected String |
replacePermissionCheckJoin(String sql,
String className,
String classPKField,
String userIdField,
String groupIdField,
long[] groupIds,
String bridgeJoin) |
@Deprecated public static final String FILTER_BY_RESOURCE_BLOCK_ID
@Deprecated public static final String FILTER_BY_RESOURCE_BLOCK_ID_OWNER
@Deprecated public static final String FIND_BY_RESOURCE_BLOCK_ID
public static final String FIND_BY_RESOURCE_PERMISSION
public boolean isEnabled()
isEnabled in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic boolean isEnabled(long groupId)
isEnabled in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic boolean isEnabled(long companyId,
long groupId)
isEnabled in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic boolean isEnabled(long[] groupIds)
isEnabled in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
long groupId)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
long groupId,
String bridgeJoin)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
long[] groupIds)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
long[] groupIds,
String bridgeJoin)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long groupId)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long groupId,
String bridgeJoin)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long[] groupIds)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long[] groupIds,
String bridgeJoin)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
String bridgeJoin)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelperpublic String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
String groupIdField,
long[] groupIds,
String bridgeJoin)
replacePermissionCheck in interface com.liferay.portal.kernel.security.permission.InlineSQLHelper@Deprecated
protected Set<Long> getOwnerResourceBlockIds(long companyId,
long[] groupIds,
String className)
@Deprecated
protected String getOwnerResourceBlockIdsSQL(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long checkGroupId,
String className,
Set<Long> ownerResourceBlockIds)
@Deprecated
protected Set<Long> getResourceBlockIds(long companyId,
long[] groupIds,
String className)
protected long[] getRoleIds(long groupId)
protected long[] getRoleIds(long[] groupIds)
protected String getRoleIdsOrOwnerIdSQL(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long[] groupIds,
String userIdField)
protected long getUserId()
@Deprecated
protected String getUserResourceBlockIdsSQL(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long checkGroupId,
long[] roleIds,
String className,
Set<Long> userResourceBlockIds)
@Deprecated
protected String replacePermissionCheckBlocks(String sql,
String className,
String classPKField,
String userIdField,
long[] groupIds,
String bridgeJoin)
protected String replacePermissionCheckJoin(String sql,
String className,
String classPKField,
String userIdField,
String groupIdField,
long[] groupIds,
String bridgeJoin)