Liferay 7.0-ga1 portal-impl

com.liferay.portal.verify
Class VerifyPermission

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.verify.VerifyProcess
          extended by com.liferay.portal.verify.VerifyPermission
All Implemented Interfaces:
com.liferay.portal.kernel.dao.db.DBProcess

public class VerifyPermission
extends VerifyProcess


Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
VerifyPermission()
           
 
Method Summary
protected  void checkPermissions()
           
protected  void deleteConflictingUserDefaultRolePermissions(long companyId, long powerUserRoleId, long userRoleId, long userClassNameId, long userGroupClassNameId)
           
protected  void deleteDefaultPrivateLayoutPermissions_6(long companyId)
           
protected  void deleteDefaultPrivateLayoutPermissions()
           
protected  void doVerify()
           
protected  void fixOrganizationRolePermissions()
           
protected  void fixUserDefaultRolePermissions()
           
protected  void fixUserDefaultRolePermissionsMySQL(long userClassNameId, long userGroupClassNameId, long[] companyIds)
           
protected  void fixUserDefaultRolePermissionsOracle(long userClassNameId, long userGroupClassNameId, long[] companyIds)
           
protected  boolean isPrivateLayout(String name, String primKey)
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
doVerify, getBuildNumber, getPortalTableNames, isForceConcurrent, isPortalTableName, verify, verify
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifyPermission

public VerifyPermission()
Method Detail

checkPermissions

protected void checkPermissions()
                         throws Exception
Throws:
Exception

deleteConflictingUserDefaultRolePermissions

protected void deleteConflictingUserDefaultRolePermissions(long companyId,
                                                           long powerUserRoleId,
                                                           long userRoleId,
                                                           long userClassNameId,
                                                           long userGroupClassNameId)
                                                    throws Exception
Throws:
Exception

deleteDefaultPrivateLayoutPermissions

protected void deleteDefaultPrivateLayoutPermissions()
                                              throws Exception
Throws:
Exception

deleteDefaultPrivateLayoutPermissions_6

protected void deleteDefaultPrivateLayoutPermissions_6(long companyId)
                                                throws Exception
Throws:
Exception

doVerify

protected void doVerify()
                 throws Exception
Overrides:
doVerify in class VerifyProcess
Throws:
Exception

fixOrganizationRolePermissions

protected void fixOrganizationRolePermissions()
                                       throws Exception
Throws:
Exception

fixUserDefaultRolePermissions

protected void fixUserDefaultRolePermissions()
                                      throws Exception
Throws:
Exception

fixUserDefaultRolePermissionsMySQL

protected void fixUserDefaultRolePermissionsMySQL(long userClassNameId,
                                                  long userGroupClassNameId,
                                                  long[] companyIds)
                                           throws Exception
Throws:
Exception

fixUserDefaultRolePermissionsOracle

protected void fixUserDefaultRolePermissionsOracle(long userClassNameId,
                                                   long userGroupClassNameId,
                                                   long[] companyIds)
                                            throws Exception
Throws:
Exception

isPrivateLayout

protected boolean isPrivateLayout(String name,
                                  String primKey)
                           throws Exception
Throws:
Exception

Liferay 7.0-ga1 portal-impl