com.atlassian.confluence.upgrade.security
Class LegacyContentPermissionUpgrader
java.lang.Object
com.atlassian.confluence.upgrade.security.LegacyContentPermissionUpgrader
public class LegacyContentPermissionUpgrader
- extends java.lang.Object
Upgrades old ContentPermissions stored in the CONTENTLOCK table to new ContentPermissions and ContentPermissionsSets
stored in the CONTENT_PERM and CONTENT_PERM_SET tables. This allows us to implement MultiplePagePermissions.
That is, it allows us to store multiple permissions per page per permission type.
Field Summary |
static org.apache.log4j.Category |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Category log
LegacyContentPermissionUpgrader
public LegacyContentPermissionUpgrader()
run
public void run()
throws net.sf.hibernate.HibernateException
- Throws:
net.sf.hibernate.HibernateException
setContentPermissionManager
public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
getSessionFactory
public net.sf.hibernate.SessionFactory getSessionFactory()
setSessionFactory
public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
getPageDao
public PageDao getPageDao()
setPageDao
public void setPageDao(PageDao pageDao)
Copyright © 2003-2010 Atlassian. All Rights Reserved.