changed visbility of createlayout static method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/custom-portal-handler@128554 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
5e06e0a13e
commit
f13b69fb45
|
@ -170,7 +170,7 @@ public class SiteManagerUtil {
|
||||||
* @throws PortalException .
|
* @throws PortalException .
|
||||||
* @throws SystemException .
|
* @throws SystemException .
|
||||||
*/
|
*/
|
||||||
protected static long createLayout(Group group, User user, GCUBESiteLayout siteLayout) throws PortalException, SystemException {
|
public static long createLayout(Group group, User user, GCUBESiteLayout siteLayout) throws PortalException, SystemException {
|
||||||
|
|
||||||
Layout layout = null;
|
Layout layout = null;
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ public class GCubeSiteManagerImpl extends SiteManagerUtil {
|
||||||
//FileInputStream fis = new FileInputStream(writeTempLogo(is));
|
//FileInputStream fis = new FileInputStream(writeTempLogo(is));
|
||||||
LayoutSetLocalServiceUtil.updateLogo(vreToCreate.getGroupId(), true, true, is);
|
LayoutSetLocalServiceUtil.updateLogo(vreToCreate.getGroupId(), true, true, is);
|
||||||
|
|
||||||
_log.debug("Adding the Admin Role VRE-Admin for this VRE");
|
_log.debug("Adding the Admin Role VRE-Manager for this VRE");
|
||||||
//add the role ADMIN
|
//add the role ADMIN
|
||||||
UserManager uman = new LiferayUserManager();
|
UserManager uman = new LiferayUserManager();
|
||||||
long uid = uman.getUserId(username);
|
long uid = uman.getUserId(username);
|
||||||
|
|
Loading…
Reference in New Issue