当前位置: 首页>>代码示例>>Java>>正文


Java CacheModel类代码示例

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


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

示例1: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<ActivityTriesDeleted> toCacheModel() {
	ActivityTriesDeletedCacheModel activityTriesDeletedCacheModel = new ActivityTriesDeletedCacheModel();

	activityTriesDeletedCacheModel.activityTriesDeletedId = getActivityTriesDeletedId();

	activityTriesDeletedCacheModel.groupId = getGroupId();

	activityTriesDeletedCacheModel.actId = getActId();

	activityTriesDeletedCacheModel.userId = getUserId();

	Date startDate = getStartDate();

	if (startDate != null) {
		activityTriesDeletedCacheModel.startDate = startDate.getTime();
	}
	else {
		activityTriesDeletedCacheModel.startDate = Long.MIN_VALUE;
	}

	Date endDate = getEndDate();

	if (endDate != null) {
		activityTriesDeletedCacheModel.endDate = endDate.getTime();
	}
	else {
		activityTriesDeletedCacheModel.endDate = Long.MIN_VALUE;
	}

	activityTriesDeletedCacheModel.status = getStatus();

	return activityTriesDeletedCacheModel;
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:35,代码来源:ActivityTriesDeletedModelImpl.java

示例2: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<CreateFile> toCacheModel() {
	CreateFileCacheModel createFileCacheModel = new CreateFileCacheModel();

	createFileCacheModel.createFileId = getCreateFileId();

	createFileCacheModel.userId = getUserId();

	createFileCacheModel.groupId = getGroupId();

	createFileCacheModel.companyId = getCompanyId();

	Date createDate = getCreateDate();

	if (createDate != null) {
		createFileCacheModel.createDate = createDate.getTime();
	}
	else {
		createFileCacheModel.createDate = Long.MIN_VALUE;
	}

	createFileCacheModel.processOrderId = getProcessOrderId();

	createFileCacheModel.dossierStepId = getDossierStepId();

	Date stepDate = getStepDate();

	if (stepDate != null) {
		createFileCacheModel.stepDate = stepDate.getTime();
	}
	else {
		createFileCacheModel.stepDate = Long.MIN_VALUE;
	}

	createFileCacheModel.docFileId = getDocFileId();

	return createFileCacheModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:39,代码来源:CreateFileModelImpl.java

示例3: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<DossierProcess> toCacheModel() {
	DossierProcessCacheModel dossierProcessCacheModel = new DossierProcessCacheModel();

	dossierProcessCacheModel.dossierProcessId = getDossierProcessId();

	dossierProcessCacheModel.userId = getUserId();

	dossierProcessCacheModel.groupId = getGroupId();

	dossierProcessCacheModel.companyId = getCompanyId();

	Date createDate = getCreateDate();

	if (createDate != null) {
		dossierProcessCacheModel.createDate = createDate.getTime();
	}
	else {
		dossierProcessCacheModel.createDate = Long.MIN_VALUE;
	}

	Date modifiedDate = getModifiedDate();

	if (modifiedDate != null) {
		dossierProcessCacheModel.modifiedDate = modifiedDate.getTime();
	}
	else {
		dossierProcessCacheModel.modifiedDate = Long.MIN_VALUE;
	}

	return dossierProcessCacheModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:33,代码来源:DossierProcessModelImpl.java

示例4: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<JobPos2Role> toCacheModel() {
	return _nullJobPos2RoleCacheModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:5,代码来源:Jobpos2RolePersistenceImpl.java

示例5: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<PaymentFile> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:PaymentFileModel.java

示例6: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<EbMessage> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:EbMessageModel.java

示例7: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<Business> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:BusinessModel.java

示例8: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<DossierFolder2Role> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:DossierFolder2RoleModel.java

示例9: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<Application> toCacheModel() {
	return _nullApplicationCacheModel;
}
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:5,代码来源:ApplicationPersistenceImpl.java

示例10: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<ProfileData> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:ProfileDataModel.java

示例11: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<UserCompetence> toCacheModel() {
	return _nullUserCompetenceCacheModel;
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:5,代码来源:UserCompetencePersistenceImpl.java

示例12: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<DossierDoc2Template> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:DossierDoc2TemplateModel.java

示例13: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<AppMessage> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:AppMessageModel.java

示例14: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<PaymentRequest> toCacheModel();
 
开发者ID:openegovplatform,项目名称:OEPv2,代码行数:3,代码来源:PaymentRequestModel.java

示例15: toCacheModel

import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<Competence> toCacheModel() {
	return _nullCompetenceCacheModel;
}
 
开发者ID:TelefonicaED,项目名称:liferaylms-portlet,代码行数:5,代码来源:CompetencePersistenceImpl.java


注:本文中的com.liferay.portal.model.CacheModel类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。