/**
* OpenCPS is the open source Core Public Services software
* Copyright (C) 2016-present OpenCPS community

* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.

* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/

package org.opencps.util;


/**
 * @author trungnt
 *
 */
public class AccountUtil {
	
}


@@ -771,67 +771,911 @@
 l;%0A%0A
-%0A/**%0A * @author trungnt%0A *%0A */%0Apublic class AccountUtil %7B%0A%09%0A%7D%0A
+import java.util.List;%0A%0Aimport org.opencps.dossiermgt.bean.AccountBean;%0A%0Aimport com.liferay.portal.model.Organization;%0Aimport com.liferay.portal.model.Role;%0Aimport com.liferay.portlet.documentlibrary.model.DLFolder;%0A%0A/**%0A * @author trungnt%0A */%0Apublic class AccountUtil %7B%0A%0A%09public static void initAccount(%0A%09    Object accountInstance, String accountType, DLFolder accountFolder,%0A%09    List%3CRole%3E accountRoles, List%3COrganization%3E accountOrgs,%0A%09    long ownerUserId, long ownerOrganizationId) %7B%0A%0A%09%09AccountBean accountBean = new AccountBean(%0A%09%09    accountInstance, accountType, accountFolder, accountRoles,%0A%09%09    accountOrgs, ownerUserId, ownerOrganizationId);%0A%09%09setAccountBean(accountBean);%0A%09%7D%0A%0A%09private static AccountBean _accountBean;%0A%0A%09public static void setAccountBean(AccountBean accountBean) %7B%0A%0A%09%09_accountBean = accountBean;%0A%09%7D%0A%0A%09public static AccountBean getAccountBean() %7B%0A%0A%09%09return _accountBean;%0A%09%7D%0A%0A%7D
 %0A

Edit Account Util