Package com.jalios.jcms.transtyping.util
Class TranstypingJobUtil
java.lang.Object
com.jalios.jcms.transtyping.util.TranstypingJobUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TranstypingJobaddParentMappingFrom(TranstypingJob job, List<TranstypingJob> pJobs) static booleancreateContext(TranstypingJob job, S source) static <S extends Data,T extends Data>
List<TranstypingTaskFilter<S, T>> createFiltersFrom(List<Class<?>> filters) static <S extends Data,T extends Data>
List<TranstypingTaskFilter<S, T>> createFiltersOption(TranstypingJob job, List<TranstypingTaskFilter<S, T>> filters) createILContext(TranstypingJob job, S source) static <S extends Data,T extends Data>
List<TranstypingTaskListener<S, T>> createListenersFrom(List<Class<?>> listeners) static <S extends Data,T extends Data>
List<TranstypingTaskListener<S, T>> createListenersOption(TranstypingJob job, List<TranstypingTaskListener<S, T>> listeners) static StringcreateProp(Class<?> source, Class<?> target) distinctClass(List<? extends Data> datas) static booleanexistIn(Class<?> source, Class<?> target, List<TranstypingJob> jobs) static booleanexistIn(Class<?> source, List<TranstypingJob> jobs) static Methodstatic TranstypingJobgetJob(Class<?> source, Class<?> target, List<TranstypingJob> jobs) static TranstypingJobgetJobFrom(Class<?> source, Class<?> target, List<TranstypingJob> jobs) static List<TranstypingJob> getJobs(Class<?> source, List<TranstypingJob> jobs) static List<TranstypingJob> getJobsFrom(Class<?> source, List<TranstypingJob> jobs) getMappingAccessIfExist(String key, Method[] sMethods) static Methodstatic Methodstatic booleanhasEnabledJobs(List<TranstypingJob> jobs) static booleanhasGetAndSet(Field field, Method[] methods) static booleanhasGetAndSet(String name, Method[] methods) static booleanmergeCaddy(Caddy caddy) mergeCaddy(Caddy caddy, Class<? extends Data>... classes) registerForceDelete(Map<String, Object> context, S source) static voidregisterSilentOptions(Map<String, Object> context)
-
Constructor Details
-
TranstypingJobUtil
public TranstypingJobUtil()
-
-
Method Details
-
registerSilentOptions
-
createContext
-
registerForceDelete
-
createContext
-
createILContext
-
createILContext
-
createProp
-
isValid
-
existIn
-
getJob
-
getJobs
-
existIn
-
getJobsFrom
-
getJobFrom
public static TranstypingJob getJobFrom(Class<?> source, Class<?> target, List<TranstypingJob> jobs) -
getMethod
-
hasEnabledJobs
-
hasGetAndSet
-
getGetter
-
getSetter
-
hasGetAndSet
-
getMappingAccessIfExist
public static TranstypingJob.TranstypingJobMappingAccess getMappingAccessIfExist(String key, Method[] sMethods) -
checkKey
-
addParentMappingFrom
-
mergeCaddy
-
mergeCaddy
-
distinctClass
-
createFiltersFrom
-
createListenersFrom
-
createFiltersOption
public static <S extends Data,T extends Data> List<TranstypingTaskFilter<S,T>> createFiltersOption(TranstypingJob job, List<TranstypingTaskFilter<S, T>> filters) -
createListenersOption
public static <S extends Data,T extends Data> List<TranstypingTaskListener<S,T>> createListenersOption(TranstypingJob job, List<TranstypingTaskListener<S, T>> listeners)
-