Liferay 6.0.5

com.liferay.portal.security.permission
Class InlineSQLHelperUtil

java.lang.Object
  extended by com.liferay.portal.security.permission.InlineSQLHelperUtil

public class InlineSQLHelperUtil
extends Object


Constructor Summary
InlineSQLHelperUtil()
           
 
Method Summary
static InlineSQLHelper getInlineSQLHelper()
           
static boolean isEnabled()
           
static boolean isEnabled(long groupId)
           
static String replacePermissionCheck(String sql, String className, String classPKField, String userIdField)
           
static String replacePermissionCheck(String sql, String className, String classPKField, String userIdField, long groupId)
           
static String replacePermissionCheck(String sql, String className, String classPKField, String userIdField, long groupId, String bridgeJoin)
           
static String replacePermissionCheck(String sql, String className, String classPKField, String userIdField, String bridgeJoin)
           
 void setInlineSQLHelper(InlineSQLHelper inlineSQLPermission)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineSQLHelperUtil

public InlineSQLHelperUtil()
Method Detail

isEnabled

public static boolean isEnabled()

isEnabled

public static boolean isEnabled(long groupId)

replacePermissionCheck

public static String replacePermissionCheck(String sql,
                                            String className,
                                            String classPKField,
                                            String userIdField)

replacePermissionCheck

public static String replacePermissionCheck(String sql,
                                            String className,
                                            String classPKField,
                                            String userIdField,
                                            long groupId)

replacePermissionCheck

public static String replacePermissionCheck(String sql,
                                            String className,
                                            String classPKField,
                                            String userIdField,
                                            long groupId,
                                            String bridgeJoin)

replacePermissionCheck

public static String replacePermissionCheck(String sql,
                                            String className,
                                            String classPKField,
                                            String userIdField,
                                            String bridgeJoin)

setInlineSQLHelper

public void setInlineSQLHelper(InlineSQLHelper inlineSQLPermission)

getInlineSQLHelper

public static InlineSQLHelper getInlineSQLHelper()

Liferay 6.0.5