本文整理汇总了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;
}
示例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;
}
示例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;
}
示例4: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<JobPos2Role> toCacheModel() {
return _nullJobPos2RoleCacheModel;
}
示例5: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<PaymentFile> toCacheModel();
示例6: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<EbMessage> toCacheModel();
示例7: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<Business> toCacheModel();
示例8: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<DossierFolder2Role> toCacheModel();
示例9: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<Application> toCacheModel() {
return _nullApplicationCacheModel;
}
示例10: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<ProfileData> toCacheModel();
示例11: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<UserCompetence> toCacheModel() {
return _nullUserCompetenceCacheModel;
}
示例12: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<DossierDoc2Template> toCacheModel();
示例13: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<AppMessage> toCacheModel();
示例14: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<PaymentRequest> toCacheModel();
示例15: toCacheModel
import com.liferay.portal.model.CacheModel; //导入依赖的package包/类
@Override
public CacheModel<Competence> toCacheModel() {
return _nullCompetenceCacheModel;
}