Liferay 6.0.5

com.liferay.portal.security.permission
Class InlineSQLHelperImpl

java.lang.Object
  extended by com.liferay.portal.security.permission.InlineSQLHelperImpl
All Implemented Interfaces:
InlineSQLHelper

public class InlineSQLHelperImpl
extends Object
implements InlineSQLHelper


Field Summary
static String JOIN_RESOURCE_PERMISSION
           
 
Constructor Summary
InlineSQLHelperImpl()
           
 
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
 

Field Detail

JOIN_RESOURCE_PERMISSION

public static final String JOIN_RESOURCE_PERMISSION
Constructor Detail

InlineSQLHelperImpl

public InlineSQLHelperImpl()
Method Detail

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()

Liferay 6.0.5