com.liferay.portal.security.permission
Class InlineSQLHelperImpl
java.lang.Object
com.liferay.portal.security.permission.InlineSQLHelperImpl
- All Implemented Interfaces:
- InlineSQLHelper
public class InlineSQLHelperImpl
- extends Object
- implements InlineSQLHelper
Method Summary |
protected long[] |
getRoleIds(long groupId)
|
protected long |
getUserId()
|
boolean |
isEnabled()
|
boolean |
isEnabled(long groupId)
|
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 groupId,
String bridgeJoin)
|
String |
replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
String bridgeJoin)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOIN_RESOURCE_PERMISSION
public static final String JOIN_RESOURCE_PERMISSION
InlineSQLHelperImpl
public InlineSQLHelperImpl()
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface InlineSQLHelper
isEnabled
public boolean isEnabled(long groupId)
- Specified by:
isEnabled
in interface InlineSQLHelper
replacePermissionCheck
public String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField)
- Specified by:
replacePermissionCheck
in interface InlineSQLHelper
replacePermissionCheck
public String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long groupId)
- Specified by:
replacePermissionCheck
in interface InlineSQLHelper
replacePermissionCheck
public String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
long groupId,
String bridgeJoin)
- Specified by:
replacePermissionCheck
in interface InlineSQLHelper
replacePermissionCheck
public String replacePermissionCheck(String sql,
String className,
String classPKField,
String userIdField,
String bridgeJoin)
- Specified by:
replacePermissionCheck
in interface InlineSQLHelper
getRoleIds
protected long[] getRoleIds(long groupId)
getUserId
protected long getUserId()