• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java BatchSessionUtil类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中com.liferay.portal.service.persistence.BatchSessionUtil的典型用法代码示例。如果您正苦于以下问题:Java BatchSessionUtil类的具体用法?Java BatchSessionUtil怎么用?Java BatchSessionUtil使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

BatchSessionUtil类属于com.liferay.portal.service.persistence包,在下文中一共展示了BatchSessionUtil类的40个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected LegalDetails removeImpl(LegalDetails legalDetails)
    throws SystemException {
    legalDetails = toUnwrappedModel(legalDetails);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, legalDetails);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(legalDetails);

    return legalDetails;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:22,
代码来源:LegalDetailsPersistenceImpl.java

示例2: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected MultiMedia removeImpl(MultiMedia multiMedia)
    throws SystemException {
    multiMedia = toUnwrappedModel(multiMedia);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, multiMedia);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(multiMedia);

    return multiMedia;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:22,
代码来源:MultiMediaPersistenceImpl.java

示例3: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Entitlement removeImpl(Entitlement entitlement)
    throws SystemException {
    entitlement = toUnwrappedModel(entitlement);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, entitlement);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(entitlement);

    return entitlement;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:22,
代码来源:EntitlementPersistenceImpl.java

示例4: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Logging removeImpl(Logging logging) throws SystemException {
    logging = toUnwrappedModel(logging);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, logging);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(logging);

    return logging;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:21,
代码来源:LoggingPersistenceImpl.java

示例5: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Link removeImpl(Link link) throws SystemException {
    link = toUnwrappedModel(link);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, link);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(link);

    return link;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:21,
代码来源:LinkPersistenceImpl.java

示例6: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected RelatedApplications removeImpl(
    RelatedApplications relatedApplications) throws SystemException {
    relatedApplications = toUnwrappedModel(relatedApplications);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, relatedApplications);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(relatedApplications);

    return relatedApplications;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:22,
代码来源:RelatedApplicationsPersistenceImpl.java

示例7: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Application_Entitlement removeImpl(
    Application_Entitlement application_Entitlement)
    throws SystemException {
    application_Entitlement = toUnwrappedModel(application_Entitlement);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, application_Entitlement);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(application_Entitlement);

    return application_Entitlement;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:23,
代码来源:Application_EntitlementPersistenceImpl.java

示例8: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Concern removeImpl(Concern concern) throws SystemException {
    concern = toUnwrappedModel(concern);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, concern);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(concern);

    return concern;
}
 

开发者ID:fraunhoferfokus,
项目名称:govapps,
代码行数:21,
代码来源:ConcernPersistenceImpl.java

示例9: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected LmsPrefs removeImpl(LmsPrefs lmsPrefs) throws SystemException {
	lmsPrefs = toUnwrappedModel(lmsPrefs);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, lmsPrefs);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(lmsPrefs);

	return lmsPrefs;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:23,
代码来源:LmsPrefsPersistenceImpl.java

示例10: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected LearningActivity removeImpl(LearningActivity learningActivity)
	throws SystemException {
	learningActivity = toUnwrappedModel(learningActivity);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, learningActivity);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(learningActivity);

	return learningActivity;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:LearningActivityPersistenceImpl.java

示例11: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected SurveyResult removeImpl(SurveyResult surveyResult)
	throws SystemException {
	surveyResult = toUnwrappedModel(surveyResult);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, surveyResult);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(surveyResult);

	return surveyResult;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:SurveyResultPersistenceImpl.java

示例12: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected LearningActivityResult removeImpl(
	LearningActivityResult learningActivityResult)
	throws SystemException {
	learningActivityResult = toUnwrappedModel(learningActivityResult);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, learningActivityResult);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(learningActivityResult);

	return learningActivityResult;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:25,
代码来源:LearningActivityResultPersistenceImpl.java

示例13: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected CheckP2pMailing removeImpl(CheckP2pMailing checkP2pMailing)
	throws SystemException {
	checkP2pMailing = toUnwrappedModel(checkP2pMailing);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, checkP2pMailing);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(checkP2pMailing);

	return checkP2pMailing;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:CheckP2pMailingPersistenceImpl.java

示例14: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Course removeImpl(Course course) throws SystemException {
	course = toUnwrappedModel(course);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, course);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(course);

	return course;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:23,
代码来源:CoursePersistenceImpl.java

示例15: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected TestQuestion removeImpl(TestQuestion testQuestion)
	throws SystemException {
	testQuestion = toUnwrappedModel(testQuestion);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, testQuestion);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(testQuestion);

	return testQuestion;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:TestQuestionPersistenceImpl.java

示例16: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Schedule removeImpl(Schedule schedule) throws SystemException {
	schedule = toUnwrappedModel(schedule);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, schedule);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(schedule);

	return schedule;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:23,
代码来源:SchedulePersistenceImpl.java

示例17: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected LearningActivityTry removeImpl(
	LearningActivityTry learningActivityTry) throws SystemException {
	learningActivityTry = toUnwrappedModel(learningActivityTry);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, learningActivityTry);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(learningActivityTry);

	return learningActivityTry;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:LearningActivityTryPersistenceImpl.java

示例18: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected TestAnswer removeImpl(TestAnswer testAnswer)
	throws SystemException {
	testAnswer = toUnwrappedModel(testAnswer);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, testAnswer);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(testAnswer);

	return testAnswer;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:TestAnswerPersistenceImpl.java

示例19: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ActivityTriesDeleted removeImpl(
	ActivityTriesDeleted activityTriesDeleted) throws SystemException {
	activityTriesDeleted = toUnwrappedModel(activityTriesDeleted);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, activityTriesDeleted);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(activityTriesDeleted);

	return activityTriesDeleted;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:ActivityTriesDeletedPersistenceImpl.java

示例20: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected CourseCompetence removeImpl(CourseCompetence courseCompetence)
	throws SystemException {
	courseCompetence = toUnwrappedModel(courseCompetence);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, courseCompetence);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(courseCompetence);

	return courseCompetence;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:CourseCompetencePersistenceImpl.java

示例21: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected CourseResult removeImpl(CourseResult courseResult)
	throws SystemException {
	courseResult = toUnwrappedModel(courseResult);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, courseResult);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(courseResult);

	return courseResult;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:CourseResultPersistenceImpl.java

示例22: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected AuditEntry removeImpl(AuditEntry auditEntry)
	throws SystemException {
	auditEntry = toUnwrappedModel(auditEntry);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, auditEntry);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(auditEntry);

	return auditEntry;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:AuditEntryPersistenceImpl.java

示例23: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Module removeImpl(Module module) throws SystemException {
	module = toUnwrappedModel(module);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, module);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(module);

	return module;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:23,
代码来源:ModulePersistenceImpl.java

示例24: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Competence removeImpl(Competence competence)
	throws SystemException {
	competence = toUnwrappedModel(competence);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, competence);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(competence);

	return competence;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:CompetencePersistenceImpl.java

示例25: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected P2pActivity removeImpl(P2pActivity p2pActivity)
	throws SystemException {
	p2pActivity = toUnwrappedModel(p2pActivity);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, p2pActivity);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(p2pActivity);

	return p2pActivity;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:P2pActivityPersistenceImpl.java

示例26: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected UserCertificateDownload removeImpl(
	UserCertificateDownload userCertificateDownload)
	throws SystemException {
	userCertificateDownload = toUnwrappedModel(userCertificateDownload);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, userCertificateDownload);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(userCertificateDownload);

	return userCertificateDownload;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:25,
代码来源:UserCertificateDownloadPersistenceImpl.java

示例27: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ModuleResult removeImpl(ModuleResult moduleResult)
	throws SystemException {
	moduleResult = toUnwrappedModel(moduleResult);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, moduleResult);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(moduleResult);

	return moduleResult;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:ModuleResultPersistenceImpl.java

示例28: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected P2pActivityCorrections removeImpl(
	P2pActivityCorrections p2pActivityCorrections)
	throws SystemException {
	p2pActivityCorrections = toUnwrappedModel(p2pActivityCorrections);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, p2pActivityCorrections);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(p2pActivityCorrections);

	return p2pActivityCorrections;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:25,
代码来源:P2pActivityCorrectionsPersistenceImpl.java

示例29: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected UserCompetence removeImpl(UserCompetence userCompetence)
	throws SystemException {
	userCompetence = toUnwrappedModel(userCompetence);

	Session session = null;

	try {
		session = openSession();

		BatchSessionUtil.delete(session, userCompetence);
	}
	catch (Exception e) {
		throw processException(e);
	}
	finally {
		closeSession(session);
	}

	clearCache(userCompetence);

	return userCompetence;
}
 

开发者ID:TelefonicaED,
项目名称:liferaylms-portlet,
代码行数:24,
代码来源:UserCompetencePersistenceImpl.java

示例30: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Estrutura removeImpl(Estrutura estrutura)
    throws SystemException {
    estrutura = toUnwrappedModel(estrutura);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, estrutura);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(estrutura);

    return estrutura;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:EstruturaPersistenceImpl.java

示例31: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Artigo removeImpl(Artigo artigo) throws SystemException {
    artigo = toUnwrappedModel(artigo);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, artigo);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(artigo);

    return artigo;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:21,
代码来源:ArtigoPersistenceImpl.java

示例32: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Contribuicao removeImpl(Contribuicao contribuicao)
    throws SystemException {
    contribuicao = toUnwrappedModel(contribuicao);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, contribuicao);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(contribuicao);

    return contribuicao;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:ContribuicaoPersistenceImpl.java

示例33: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ChatRoomTwitter removeImpl(ChatRoomTwitter chatRoomTwitter)
    throws SystemException {
    chatRoomTwitter = toUnwrappedModel(chatRoomTwitter);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, chatRoomTwitter);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(chatRoomTwitter);

    return chatRoomTwitter;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:ChatRoomTwitterPersistenceImpl.java

示例34: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ChatRoomVideo removeImpl(ChatRoomVideo chatRoomVideo)
    throws SystemException {
    chatRoomVideo = toUnwrappedModel(chatRoomVideo);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, chatRoomVideo);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(chatRoomVideo);

    return chatRoomVideo;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:ChatRoomVideoPersistenceImpl.java

示例35: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ChatRoomUser removeImpl(ChatRoomUser chatRoomUser)
    throws SystemException {
    chatRoomUser = toUnwrappedModel(chatRoomUser);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, chatRoomUser);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(chatRoomUser);

    return chatRoomUser;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:ChatRoomUserPersistenceImpl.java

示例36: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ChatRoom removeImpl(ChatRoom chatRoom) throws SystemException {
    chatRoom = toUnwrappedModel(chatRoom);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, chatRoom);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(chatRoom);

    return chatRoom;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:21,
代码来源:ChatRoomPersistenceImpl.java

示例37: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected ChatRoomMessage removeImpl(ChatRoomMessage chatRoomMessage)
    throws SystemException {
    chatRoomMessage = toUnwrappedModel(chatRoomMessage);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, chatRoomMessage);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(chatRoomMessage);

    return chatRoomMessage;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:ChatRoomMessagePersistenceImpl.java

示例38: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Configuracao removeImpl(Configuracao configuracao)
    throws SystemException {
    configuracao = toUnwrappedModel(configuracao);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, configuracao);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(configuracao);

    return configuracao;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:22,
代码来源:ConfiguracaoPersistenceImpl.java

示例39: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Acao removeImpl(Acao acao) throws SystemException {
    acao = toUnwrappedModel(acao);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, acao);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(acao);

    return acao;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:21,
代码来源:AcaoPersistenceImpl.java

示例40: removeImpl

点赞 3

import com.liferay.portal.service.persistence.BatchSessionUtil; //导入依赖的package包/类
@Override
protected Fase removeImpl(Fase fase) throws SystemException {
    fase = toUnwrappedModel(fase);

    Session session = null;

    try {
        session = openSession();

        BatchSessionUtil.delete(session, fase);
    } catch (Exception e) {
        throw processException(e);
    } finally {
        closeSession(session);
    }

    clearCache(fase);

    return fase;
}
 

开发者ID:camaradosdeputadosoficial,
项目名称:edemocracia,
代码行数:21,
代码来源:FasePersistenceImpl.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)