org.jasig.portal.tools
Class ConvertProfilesToAL
java.lang.Object
org.jasig.portal.tools.ConvertProfilesToAL
- public class ConvertProfilesToAL
- extends java.lang.Object
ConvertProfilesToAL prepares and upgraded 2.1 database to work with
Aggregated Layouts and Integrated Modes. In order to do this, it
converts the existing template user profiles to use the AL/IM structure and
theme, and deletes profiles for non-template users. This results in the
resetting of layouts for normal users.
- Version:
- $Revision: 1.4 $
- Author:
- Al Wold (alwold@asu.edu)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConvertProfilesToAL
public ConvertProfilesToAL()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUserIds
public static java.util.List getUserIds(int lastTemplateUser)
throws PortalException
- Throws:
PortalException
deleteUserProfiles
public static void deleteUserProfiles(boolean deleteLayouts,
int lastTemplateUser)
throws java.lang.Exception
- Throws:
java.lang.Exception
convertProfiles
public static void convertProfiles(int id,
int simpleSsId,
int alSsId,
int imSsId)
throws java.lang.Exception
- Throws:
java.lang.Exception
createTemplateProfiles
public static void createTemplateProfiles(int lastTemplateUser)
throws PortalException
- Throws:
PortalException