com.liferay.portal.verify
Class VerifyPermission

java.lang.Object
  extended by com.liferay.portal.verify.VerifyProcess
      extended by com.liferay.portal.verify.VerifyPermission

public class VerifyPermission
extends VerifyProcess

Author:
Tobias Kaefer, Douglas Wong, Matthew Kong, Raymond Augé

Field Summary
 
Fields inherited from class com.liferay.portal.verify.VerifyProcess
ALWAYS, NEVER, ONCE
 
Constructor Summary
VerifyPermission()
           
 
Method Summary
protected  void checkPermissions()
           
protected  void deleteDefaultPrivateLayoutPermissions_1to4(long companyId)
           
protected  void deleteDefaultPrivateLayoutPermissions_5(long companyId)
           
protected  void deleteDefaultPrivateLayoutPermissions_6(long companyId)
           
protected  void deleteDefaultPrivateLayoutPermissions()
           
protected  void doVerify()
           
protected  void fixOrganizationRolePermissions_5()
           
protected  void fixOrganizationRolePermissions_6()
           
protected  void fixOrganizationRolePermissions()
           
protected  boolean isPrivateLayout(java.lang.String name, java.lang.String primKey)
           
protected  void processPermissions(com.liferay.portal.model.Resource resource, java.util.List<com.liferay.portal.model.Permission> permissions)
           
 
Methods inherited from class com.liferay.portal.verify.VerifyProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate, verify, verify
 
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 java.lang.Exception
Throws:
java.lang.Exception

deleteDefaultPrivateLayoutPermissions

protected void deleteDefaultPrivateLayoutPermissions()
                                              throws java.lang.Exception
Throws:
java.lang.Exception

deleteDefaultPrivateLayoutPermissions_1to4

protected void deleteDefaultPrivateLayoutPermissions_1to4(long companyId)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

deleteDefaultPrivateLayoutPermissions_5

protected void deleteDefaultPrivateLayoutPermissions_5(long companyId)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

deleteDefaultPrivateLayoutPermissions_6

protected void deleteDefaultPrivateLayoutPermissions_6(long companyId)
                                                throws java.lang.Exception
Throws:
java.lang.Exception

doVerify

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

fixOrganizationRolePermissions

protected void fixOrganizationRolePermissions()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

fixOrganizationRolePermissions_5

protected void fixOrganizationRolePermissions_5()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

fixOrganizationRolePermissions_6

protected void fixOrganizationRolePermissions_6()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

isPrivateLayout

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

processPermissions

protected void processPermissions(com.liferay.portal.model.Resource resource,
                                  java.util.List<com.liferay.portal.model.Permission> permissions)
                           throws java.lang.Exception
Throws:
java.lang.Exception