diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java new file mode 100644 index 00000000..62b1de34 --- /dev/null +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex2.java @@ -0,0 +1,12 @@ +package com.actionsoft.apps.coe.pal.cooperation.cache; + +import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationRolePermModel; +import com.actionsoft.bpms.commons.cache.ListValueIndex; + +public class CoeCooperationRolePermCacheIndex2 extends ListValueIndex { + + @Override + public String key(CoeCooperationRolePermModel model) { + return model.getTeamId(); + } +} diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java new file mode 100644 index 00000000..502d8d30 --- /dev/null +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationRolePermCacheIndex3.java @@ -0,0 +1,12 @@ +package com.actionsoft.apps.coe.pal.cooperation.cache; + +import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationRolePermModel; +import com.actionsoft.bpms.commons.cache.ListValueIndex; + +public class CoeCooperationRolePermCacheIndex3 extends ListValueIndex { + + @Override + public String key(CoeCooperationRolePermModel model) { + return model.getPalVersionId(); + } +} diff --git a/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java new file mode 100644 index 00000000..dbbe6998 --- /dev/null +++ b/com.actionsoft.apps.coe.pal/src/com/actionsoft/apps/coe/pal/cooperation/cache/CoeCooperationTeamPermCacheIndex2.java @@ -0,0 +1,12 @@ +package com.actionsoft.apps.coe.pal.cooperation.cache; + +import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationTeamPermModel; +import com.actionsoft.bpms.commons.cache.ListValueIndex; + +public class CoeCooperationTeamPermCacheIndex2 extends ListValueIndex { + + @Override + public String key(CoeCooperationTeamPermModel model) { + return model.getPalVersionId(); + } +}