本文整理汇总了Java中com.liferay.portal.kernel.service.ServiceContext.getUserId方法的典型用法代码示例。如果您正苦于以下问题:Java ServiceContext.getUserId方法的具体用法?Java ServiceContext.getUserId怎么用?Java ServiceContext.getUserId使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.liferay.portal.kernel.service.ServiceContext
的用法示例。
在下文中一共展示了ServiceContext.getUserId方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: updateFormData
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type=IndexableType.REINDEX)
public Deliverable updateFormData(long groupId, long id, String formData,ServiceContext serviceContext) throws NoSuchDeliverableException {
long userId = serviceContext.getUserId();
Date now = new Date();
Deliverable object = null;
object = deliverablePersistence.findByG_DID(groupId, id);
/// Add audit fields
object.setGroupId(groupId);
object.setModifiedDate(now);
object.setUserId(userId);
// Add other fields
object.setFormData(formData);
return deliverablePersistence.update(object);
}
示例2: addDeliverable
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public Deliverable addDeliverable(long groupId, String deliverableType, String deliverableCode,
String govAgencyCode, String applicationIdNo, String applicationName, String subject,
String issueDate, String expireDate,String revalidate, String deliverableState,
ServiceContext serviceContext) {
// TODO Add RegistrationForm
long userId = serviceContext.getUserId();
Date now = new Date();
// User userAction = userLocalService.getUser(userId);
// referenceUid = UUID.randomUUID().toString();
long deliverableId = counterLocalService.increment(Deliverable.class.getName());
Deliverable object = deliverablePersistence.create(deliverableId);
/// Add audit fields
object.setGroupId(groupId);
object.setCreateDate(now);
object.setModifiedDate(now);
object.setUserId(userId);
// Add other fields
object.setDeliverableId(deliverableId);
object.setDeliverableType(deliverableType);
object.setDeliverableCode(deliverableCode);
object.setGovAgencyCode(govAgencyCode);
object.setApplicantIdNo(applicationIdNo);
object.setApplicantName(applicationName);
object.setSubject(subject);
object.setIssueDate(APIDateTimeUtils.convertStringToDate(issueDate, APIDateTimeUtils._NORMAL_PARTTERN));
object.setExpireDate(APIDateTimeUtils.convertStringToDate(expireDate, APIDateTimeUtils._NORMAL_PARTTERN));
object.setRevalidate(APIDateTimeUtils.convertStringToDate(revalidate, APIDateTimeUtils._NORMAL_PARTTERN));
object.setDeliverableState(String.valueOf(deliverableState));
return deliverablePersistence.update(object);
}
示例3: addRegistrationForm
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public RegistrationForm addRegistrationForm(long groupId, long companyId, long registrationId, String referenceUid,
String formNo, String formName, String formData, String formScript, String formReport, long fileEntryId,
boolean isNew, boolean removed, ServiceContext serviceContext) throws PortalException {
// TODO Add RegistrationForm
long userId = serviceContext.getUserId();
Date now = new Date();
User userAction = userLocalService.getUser(userId);
referenceUid = UUID.randomUUID().toString();
long registrationFormId = counterLocalService.increment(RegistrationForm.class.getName());
RegistrationForm object = registrationFormPersistence.create(registrationFormId);
/// Add audit fields
object.setCompanyId(companyId);
object.setGroupId(groupId);
object.setCreateDate(now);
object.setModifiedDate(now);
object.setUserId(userAction.getUserId());
// Add other fields
object.setRegistrationId(registrationId);
object.setReferenceUid(referenceUid);
object.setFormNo(formNo);
object.setFormName(formName);
object.setFormData(formData);
object.setFormScript(formScript);
object.setFormReport(formReport);
object.setFileEntryId(fileEntryId);
object.setIsNew(true);
object.setRemoved(removed);
return registrationFormPersistence.update(object);
}
示例4: addRegistrationTemplates
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
public RegistrationTemplates addRegistrationTemplates(long groupId, String govAgencyCode, String govAgencyName,
String formNo, String formName, boolean multiple, String formScript, String formReport, String sampleData,
ServiceContext serviceContext) throws PortalException, SystemException {
// TODO Add RegistrationTemplates
long userId = serviceContext.getUserId();
Date now = new Date();
User userAction = userLocalService.getUser(userId);
long registrationTemplateId = counterLocalService.increment(RegistrationTemplates.class.getName());
RegistrationTemplates object = registrationTemplatesPersistence.create(registrationTemplateId);
/// Add audit fields
object.setGroupId(groupId);
object.setCreateDate(now);
object.setModifiedDate(now);
object.setUserId(userAction.getUserId());
object.setUserName(userAction.getFullName());
// Add other fields
object.setRegistrationTemplateId(registrationTemplateId);
object.setGovAgencyCode(govAgencyCode);
object.setGovAgencyName(govAgencyName);
object.setFormNo(formNo);
object.setFormName(formName);
object.setMultiple(multiple);
object.setFormScript(formScript);
object.setFormReport(formReport);
object.setSampleData(sampleData);
return registrationTemplatesPersistence.update(object);
}
示例5: addDossierLog
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public DossierLog addDossierLog(long groupId, long dossierId, String author,
String content, String notificationType, String payload, ServiceContext serviceContext)
throws PortalException, SystemException {
long userId = serviceContext.getUserId();
// validateAddDossierFile(groupId, dossierId, referenceUid,
// dossierTemplateNo, dossierPartNo, fileTemplateNo);
// DossierPart dossierPart = dossierPartPersistence.findByTP_NO_PART(
// groupId, dossierTemplateNo, dossierPartNo);
Date now = new Date();
//User userAction = userLocalService.getUser(userId);
long dossierFileId = counterLocalService.increment(DossierLog.class.getName());
DossierLog object = dossierLogPersistence.create(dossierFileId);
/// Add audit fields
object.setCompanyId(serviceContext.getCompanyId());
object.setGroupId(groupId);
object.setModifiedDate(now);
// object.setUserId(userAction.getUserId());
//object.setUserName(userAction.getFullName());
object.setAuthor(author);
// Add other fields
object.setDossierId(dossierId);
object.setContent(content);
object.setNotificationType(notificationType);
object.setPayload(payload);
return dossierLogPersistence.update(object);
}
示例6: updateDossierLog
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public DossierLog updateDossierLog(long groupId, long dossierId, long dossierLogId, String author,
String content, String notificationType, String payload, ServiceContext serviceContext)
throws PortalException, SystemException {
long userId = serviceContext.getUserId();
//TODO: validate
Date now = new Date();
User userAction = userLocalService.getUser(userId);
DossierLog object = null;
if(dossierLogId > 0) {
object = dossierLogPersistence.findByPrimaryKey(dossierLogId);
} else {
dossierLogId = counterLocalService.increment(DossierLog.class.getName());
object = dossierLogPersistence.create(dossierLogId);
object.setCreateDate(now);
}
// Add audit fields
object.setCompanyId(serviceContext.getCompanyId());
object.setGroupId(groupId);
object.setModifiedDate(now);
object.setUserId(userAction.getUserId());
object.setUserName(userAction.getFullName());
// Add other fields
object.setDossierId(dossierId);
object.setAuthor(author);
object.setContent(content);
object.setNotificationType(notificationType);
object.setPayload(payload);
return dossierLogPersistence.update(object);
}
示例7: addRegistrationLogById
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Override
public RegistrationLog addRegistrationLogById(long groupId, long registrationId, String author, String content,
String payload, ServiceContext serviceContext) {
// TODO Auto-generated method stub
long userId = serviceContext.getUserId();
return RegistrationLogLocalServiceUtil.addLog(author, groupId, userId, registrationId, content, payload);
}
示例8: updateServerConfig
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
public ServerConfig updateServerConfig(long groupId, long serverConfigId, String serverNo, String serverName,
String protocol, String configs, Date lastSync, ServiceContext context) throws PortalException {
validateAdd(serverConfigId, serverNo, serverName, protocol, configs, lastSync);
Date now = new Date();
long userId = context.getUserId();
User auditUser = userPersistence.fetchByPrimaryKey(userId);
ServerConfig serverConfig = null;
if (serverConfigId == 0) {
serverConfigId = counterLocalService.increment(ServerConfig.class.getName());
serverConfig = serverConfigPersistence.create(serverConfigId);
serverConfig.setCreateDate(now);
serverConfig.setModifiedDate(now);
serverConfig.setCompanyId(context.getCompanyId());
serverConfig.setGroupId(groupId);
serverConfig.setUserId(userId);
serverConfig.setUserName(auditUser.getFullName());
serverConfig.setServerNo(serverNo);
serverConfig.setServerName(serverName);
serverConfig.setProtocol(protocol);
serverConfig.setConfigs(configs);
// serverConfig.setLastSync(lastSync);
} else {
serverConfig = serverConfigPersistence.fetchByPrimaryKey(serverConfigId);
serverConfig.setUserId(userId);
serverConfig.setUserName(auditUser.getFullName());
serverConfig.setModifiedDate(now);
serverConfig.setServerNo(serverNo);
serverConfig.setServerName(serverName);
serverConfig.setProtocol(protocol);
serverConfig.setConfigs(configs);
}
serverConfigPersistence.update(serverConfig);
return serverConfig;
}
示例9: updateDeliverableType
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
public DeliverableType updateDeliverableType(long groupId, long deliverableTypeId, String deliverableName,
String deliverableType_, String codePattern, String counter, String formScript, String formReport,
String mappingData, ServiceContext serviceContext) throws PortalException {
// TODO Update DeliverableType
Date now = new Date();
long userId = serviceContext.getUserId();
User userAction = userPersistence.fetchByPrimaryKey(userId);
DeliverableType deliverableTypeObj = null;
if (deliverableTypeId == 0) {
deliverableTypeId = counterLocalService.increment(DeliverableType.class.getName());
deliverableTypeObj = deliverableTypePersistence.create(deliverableTypeId);
/// Add audit fields
deliverableTypeObj.setCompanyId(serviceContext.getCompanyId());
deliverableTypeObj.setGroupId(groupId);
deliverableTypeObj.setCreateDate(now);
deliverableTypeObj.setModifiedDate(now);
deliverableTypeObj.setUserId(userAction.getUserId());
deliverableTypeObj.setUserName(userAction.getFullName());
// Add other fields
deliverableTypeObj.setDeliverableTypeId(deliverableTypeId);
deliverableTypeObj.setTypeCode(deliverableType_);
deliverableTypeObj.setTypeName(deliverableName);
deliverableTypeObj.setFormScript(formScript);
deliverableTypeObj.setFormReport(formReport);
deliverableTypeObj.setMappingData(mappingData);
deliverableTypeObj.setCodePattern(codePattern);
deliverableTypeObj.setCounter(counter);
} else {
deliverableTypeObj = deliverableTypePersistence.fetchByPrimaryKey(deliverableTypeId);
deliverableTypeObj.setModifiedDate(now);
deliverableTypeObj.setDeliverableTypeId(deliverableTypeId);
deliverableTypeObj.setTypeCode(deliverableType_);
deliverableTypeObj.setTypeName(deliverableName);
deliverableTypeObj.setFormScript(formScript);
deliverableTypeObj.setFormReport(formReport);
deliverableTypeObj.setMappingData(mappingData);
deliverableTypeObj.setCodePattern(codePattern);
deliverableTypeObj.setCounter(counter);
}
deliverableTypePersistence.update(deliverableTypeObj);
return deliverableTypeObj;
}
示例10: updateRegistrationTemplates
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
public RegistrationTemplates updateRegistrationTemplates(long groupId, long registrationTemplateId,
String govAgencyCode, String govAgencyName, String formNo, String formName, boolean multiple,
String formScript, String formReport, String sampleData, ServiceContext serviceContext)
throws PortalException {
// TODO Update RegistrationTemplates
Date now = new Date();
long userId = serviceContext.getUserId();
User userAction = userPersistence.fetchByPrimaryKey(userId);
RegistrationTemplates registrationTemplates = null;
if (registrationTemplateId == 0) {
registrationTemplateId = counterLocalService.increment(RegistrationTemplates.class.getName());
registrationTemplates = registrationTemplatesPersistence.create(registrationTemplateId);
/// Add audit fields
registrationTemplates.setGroupId(groupId);
registrationTemplates.setCreateDate(now);
registrationTemplates.setModifiedDate(now);
registrationTemplates.setUserId(userAction.getUserId());
registrationTemplates.setUserName(userAction.getFullName());
// Add other fields
registrationTemplates.setRegistrationTemplateId(registrationTemplateId);
registrationTemplates.setGovAgencyCode(govAgencyCode);
registrationTemplates.setGovAgencyName(govAgencyName);
registrationTemplates.setFormNo(formNo);
registrationTemplates.setFormName(formName);
registrationTemplates.setMultiple(multiple);
registrationTemplates.setFormScript(formScript);
registrationTemplates.setFormReport(formReport);
registrationTemplates.setSampleData(sampleData);
} else {
registrationTemplates = registrationTemplatesPersistence.fetchByPrimaryKey(registrationTemplateId);
registrationTemplates.setModifiedDate(now);
registrationTemplates.setRegistrationTemplateId(registrationTemplateId);
registrationTemplates.setGovAgencyCode(govAgencyCode);
registrationTemplates.setGovAgencyName(govAgencyName);
registrationTemplates.setFormNo(formNo);
registrationTemplates.setFormName(formName);
registrationTemplates.setMultiple(multiple);
registrationTemplates.setFormScript(formScript);
registrationTemplates.setFormReport(formReport);
registrationTemplates.setSampleData(sampleData);
}
registrationTemplatesPersistence.update(registrationTemplates);
return registrationTemplates;
}
示例11: insert
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public Registration insert(long groupId, long companyId, String applicantName, String applicantIdType, String applicantIdNo,
String applicantIdDate, String address, String cityCode, String cityName, String districtCode,
String districtName, String wardCode, String wardName, String contactName, String contactTelNo,
String contactEmail, String govAgencyCode, String govAgencyName, int registrationState,
String registrationClass, ServiceContext serviceContext) throws PortalException, SystemException {
Date now = new Date();
long userId = serviceContext.getUserId();
User userAction = userLocalService.getUser(userId);
long registrationId = counterLocalService.increment(Registration.class.getName());
Registration model = registrationPersistence.create(registrationId);
model.setGroupId(groupId);
model.setCreateDate(now);
model.setModifiedDate(now);
model.setUserId(userAction.getUserId());
model.setCompanyId(companyId);
model.setApplicantName(applicantName);
model.setApplicantIdType(applicantIdType);
model.setApplicantIdNo(applicantIdNo);
if (Validator.isNotNull(applicantIdDate)) {
try {
Date idDate = UserMgtUtils.convertDate(applicantIdDate);
model.setApplicantIdDate(idDate);
} catch (Exception e) {
_log.error(e);
}
}
model.setAddress(address);
model.setCityCode(cityCode);
model.setCityName(cityName);
model.setDistrictCode(districtCode);
model.setDistrictName(districtName);
model.setWardCode(wardCode);
model.setWardName(wardName);
model.setContactName(contactName);
model.setContactTelNo(contactTelNo);
model.setContactEmail(contactEmail);
model.setGovAgencyCode(govAgencyCode);
model.setGovAgencyName(govAgencyName);
model.setRegistrationClass(registrationClass);
model.setRegistrationState(registrationState);
model.setSubmitting(false);
RegistrationFormActions actionForm = new RegistrationFormActionsImpl();
actionForm.addRegistrationFormbaseonRegTemplate(groupId, companyId, registrationId, govAgencyCode, serviceContext);
return registrationPersistence.update(model);
}
示例12: updateFileApproval
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public PaymentFile updateFileApproval(long groupId, long dossierId, String referenceUid, String approveDatetime,
String accountUserName, String govAgencyTaxNo, String invoiceTemplateNo, String invoiceIssueNo,
String invoiceNo, String sourceFileName, long fileSize, InputStream inputStream,
ServiceContext serviceContext) throws PortalException, SystemException, java.text.ParseException {
PaymentFile paymentFile = paymentFilePersistence.fetchByD_RUID(dossierId, referenceUid);
if (paymentFile != null) {
long fileEntryId = 0;
if (inputStream != null) {
long userId = serviceContext.getUserId();
try {
FileEntry fileEntry = FileUploadUtils.uploadPaymentFile(userId, groupId, inputStream,
sourceFileName, null, fileSize, serviceContext);
if (fileEntry != null) {
fileEntryId = fileEntry.getFileEntryId();
}
} catch (Exception e) {
// e.printStackTrace();
throw new SystemException(e);
}
}
Date now = new Date();
paymentFile.setModifiedDate(now);
// Parse String to Date
SimpleDateFormat format = new SimpleDateFormat("DD-MM-YYYY HH:MM:SS");
Date dateApproved = format.parse(approveDatetime);
paymentFile.setApproveDatetime(dateApproved);
paymentFile.setAccountUserName(accountUserName);
paymentFile.setGovAgencyTaxNo(govAgencyTaxNo);
paymentFile.setInvoiceTemplateNo(invoiceTemplateNo);
paymentFile.setInvoiceIssueNo(invoiceIssueNo);
paymentFile.setInvoiceNo(invoiceNo);
paymentFile.setInvoiceFileEntryId(fileEntryId);
paymentFile.setIsNew(true);
}
return paymentFilePersistence.update(paymentFile);
}
示例13: updateDossierFile
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
/**
* POST /dossiers/{id|referenceUid}/files/{referenceUid}
*/
@Indexable(type = IndexableType.REINDEX)
public DossierFile updateDossierFile(long groupId, long dossierId, String referenceUid, String displayName,
String sourceFileName, InputStream inputStream, ServiceContext serviceContext)
throws PortalException, SystemException {
long userId = serviceContext.getUserId();
DossierFile dossierFile = dossierFileLocalService.getDossierFileByReferenceUid(dossierId, referenceUid);
long fileEntryId = 0;
try {
FileEntry fileEntry = FileUploadUtils.uploadDossierFile(userId, groupId, dossierFile.getFileEntryId(),
inputStream, sourceFileName, null, 0, serviceContext);
if (fileEntry != null) {
fileEntryId = fileEntry.getFileEntryId();
}
} catch (Exception e) {
throw new SystemException(e);
}
Date now = new Date();
User userAction = userLocalService.getUser(userId);
// Add audit fields
dossierFile.setModifiedDate(now);
dossierFile.setUserId(userAction.getUserId());
dossierFile.setUserName(userAction.getFullName());
// Add other fields
dossierFile.setDossierId(dossierId);
if (Validator.isNull(referenceUid)) {
referenceUid = PortalUUIDUtil.generate();
}
dossierFile.setFileEntryId(fileEntryId);
if (Validator.isNull(displayName)) {
displayName = sourceFileName;
}
dossierFile.setDisplayName(displayName);
dossierFile.setOriginal(true);
dossierFile.setIsNew(true);
return dossierFilePersistence.update(dossierFile);
}
示例14: updateDossierAction
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Indexable(type = IndexableType.REINDEX)
public DossierAction updateDossierAction(long groupId, long dossierActionId, long dossierId, long serviceProcessId,
long previousActionId, String actionCode, String actionUser, String actionName, String actionNote,
int actionOverdue, String syncActionCode, boolean pending, boolean rollbackable, String stepCode,
String stepName, Date dueDate, long nextActionId, String payload, String stepInstruction,
ServiceContext context) throws PortalException {
validateUpdateAction(groupId, dossierActionId, dossierId, serviceProcessId, previousActionId, actionCode,
actionUser, actionName, actionNote, actionOverdue, syncActionCode, pending, rollbackable, stepCode,
stepName, dueDate, nextActionId, payload, stepInstruction);
DossierAction object = null;
long userId = 0l;
String fullName = StringPool.BLANK;
Date now = new Date();
if (context.getUserId() > 0) {
User userAction = userLocalService.getUser(context.getUserId());
userId = userAction.getUserId();
fullName = userAction.getFullName();
}
if (dossierActionId == 0) {
dossierActionId = counterLocalService.increment(DossierAction.class.getName());
object = dossierActionPersistence.create(dossierActionId);
// Add audit fields
object.setCompanyId(context.getCompanyId());
object.setGroupId(groupId);
object.setCreateDate(now);
object.setModifiedDate(now);
object.setUserId(userId);
object.setUserName(fullName);
object.setDossierId(dossierId);
object.setServiceProcessId(serviceProcessId);
object.setPreviousActionId(previousActionId);
object.setActionCode(actionCode);
object.setActionUser(actionUser);
object.setActionName(actionName);
object.setActionNote(actionNote);
object.setActionOverdue(actionOverdue);
object.setSyncActionCode(syncActionCode);
object.setPending(pending);
object.setRollbackable(rollbackable);
object.setStepCode(stepCode);
object.setStepName(stepName);
object.setDueDate(dueDate);
object.setNextActionId(nextActionId);
object.setPayload(payload);
object.setStepInstruction(stepInstruction);
// Add DossierActionId to Dossier
// TODO add Indexer for Dossier after update DossierAction
Dossier dossier = dossierPersistence.fetchByPrimaryKey(dossierId);
dossier.setDossierActionId(dossierActionId);
dossierPersistence.update(dossier);
Indexer<Dossier> indexer = IndexerRegistryUtil.nullSafeGetIndexer(Dossier.class);
try {
indexer.reindex(dossier);
} catch (SearchException e) {
e.printStackTrace();
}
} else {
}
dossierActionPersistence.update(object);
return object;
}
示例15: updateRegistration
import com.liferay.portal.kernel.service.ServiceContext; //导入方法依赖的package包/类
@Override
public Registration updateRegistration(long groupId, long registrationId, String applicantName,
String applicantIdType, String applicantIdNo, String applicantIdDate, String address, String cityCode,
String cityName, String districtCode, String districtName, String wardCode, String wardName,
String contactName, String contactTelNo, String contactEmail, String govAgencyCode, String govAgencyName,
int registrationState, String registrationClass, ServiceContext serviceContext) throws PortalException {
int start = -1, end = -1;
long userId = serviceContext.getUserId();
List<RegistrationForm> lstRegistrationForm = RegistrationFormLocalServiceUtil.getRegistrationForms(start, end);
List<RegistrationForm> lstRegistrationFormchange = new ArrayList<RegistrationForm>();
// changeType removed in registrationForm
for (RegistrationForm registrationForm : lstRegistrationForm) {
registrationForm.setIsNew(true);
RegistrationForm registrationFormChanged = RegistrationFormLocalServiceUtil
.updateRegistrationForm(registrationForm);
lstRegistrationFormchange.add(registrationFormChanged);
}
// add registrationLog
String content = "";
RegistrationLogActions registrationLogActions = new RegistrationLogActionsImpl();
List<RegistrationLog> lstRegistrationLog = registrationLogActions.getRegistrationLogbyId(groupId,
registrationId);
if (lstRegistrationLog.size() == 0) {
content = "1";
} else {
content = String.valueOf(Integer.valueOf(lstRegistrationLog.get(0).getContent()) + 1);
}
if (Validator.isNotNull(lstRegistrationFormchange)) {
if (registrationState == 2 || registrationState == 3) {
addLog("", groupId, userId, registrationId, content, lstRegistrationFormchange);
}
}
return RegistrationLocalServiceUtil.updateRegistration(groupId, registrationId, applicantName, applicantIdType,
applicantIdNo, applicantIdDate, address, cityCode, cityName, districtCode, districtName, wardCode,
wardName, contactName, contactTelNo, contactEmail, govAgencyCode, govAgencyName, registrationState,
registrationClass, serviceContext);
}