public class NewsFactory extends Object
Constructor and Description |
---|
NewsFactory() |
Modifier and Type | Method and Description |
---|---|
static NewsModel |
createLanguageResourceNews(String operationName,
boolean isReserve,
boolean isDone,
Map<String,String> paramMap) |
static NewsModel |
createLanguageServiceNews(InstanceType type,
String operationName,
boolean isReserve,
boolean isDone,
boolean hasRelated,
Map<String,String> paramMap) |
static NewsModel |
createResourceScheduleNews(ScheduleActionType actionType,
boolean isCancel,
boolean isRelated,
Map<String,String> paramMap) |
static NewsModel |
createServiceAddNews(ServiceModel service) |
static NewsModel |
createServiceReplaceNews(ServiceModel service) |
static NewsModel |
createServiceScheduleNews(InstanceType targetType,
ScheduleActionType actionType,
boolean isCancel,
boolean isRelated,
Map<String,String> paramMap) |
public static NewsModel createServiceAddNews(ServiceModel service)
public static NewsModel createServiceReplaceNews(ServiceModel service)
public static NewsModel createLanguageResourceNews(String operationName, boolean isReserve, boolean isDone, Map<String,String> paramMap)
public static NewsModel createLanguageServiceNews(InstanceType type, String operationName, boolean isReserve, boolean isDone, boolean hasRelated, Map<String,String> paramMap)
public static NewsModel createServiceScheduleNews(InstanceType targetType, ScheduleActionType actionType, boolean isCancel, boolean isRelated, Map<String,String> paramMap)
public static NewsModel createResourceScheduleNews(ScheduleActionType actionType, boolean isCancel, boolean isRelated, Map<String,String> paramMap)