Package pro.taskana.workbasket.internal
Interface WorkbasketAccessMapper
-
public interface WorkbasketAccessMapperThis class is the mybatis mapping of workbasket access items.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String id)voiddeleteAccessItemsForAccessId(String accessId)voiddeleteAllAccessItemsForWorkbasketId(String workbasketId)List<WorkbasketAccessItemImpl>findByAccessId(String id)WorkbasketAccessItemImplfindById(String id)WorkbasketAccessItemImplfindByWorkbasketAndAccessId(String workbasketId, List<String> accessIds)List<WorkbasketAccessItemImpl>findByWorkbasketId(String id)WorkbasketAccessItemImplfindByWorkbasketKeyDomainAndAccessId(String workbasketKey, String domain, List<String> accessIds)voidinsert(WorkbasketAccessItemImpl workbasketAccessItem)voidupdate(WorkbasketAccessItemImpl workbasketAccessItem)
-
-
-
Method Detail
-
findById
@SelectProvider(type=WorkbasketAccessSqlProvider.class, method="findById") @Result(property="id",column="ID") @Result(property="workbasketId",column="WORKBASKET_ID") @Result(property="accessId",column="ACCESS_ID") @Result(property="accessName",column="ACCESS_NAME") @Result(property="permRead",column="PERM_READ") @Result(property="permOpen",column="PERM_OPEN") @Result(property="permAppend",column="PERM_APPEND") @Result(property="permTransfer",column="PERM_TRANSFER") @Result(property="permDistribute",column="PERM_DISTRIBUTE") @Result(property="permCustom1",column="PERM_CUSTOM_1") @Result(property="permCustom2",column="PERM_CUSTOM_2") @Result(property="permCustom3",column="PERM_CUSTOM_3") @Result(property="permCustom4",column="PERM_CUSTOM_4") @Result(property="permCustom5",column="PERM_CUSTOM_5") @Result(property="permCustom6",column="PERM_CUSTOM_6") @Result(property="permCustom7",column="PERM_CUSTOM_7") @Result(property="permCustom8",column="PERM_CUSTOM_8") @Result(property="permCustom9",column="PERM_CUSTOM_9") @Result(property="permCustom10",column="PERM_CUSTOM_10") @Result(property="permCustom11",column="PERM_CUSTOM_11") @Result(property="permCustom12",column="PERM_CUSTOM_12") WorkbasketAccessItemImpl findById(@Param("id") String id)
-
findByWorkbasketId
@SelectProvider(type=WorkbasketAccessSqlProvider.class, method="findByWorkbasketId") @Result(property="id",column="ID") @Result(property="workbasketId",column="WORKBASKET_ID") @Result(property="workbasketKey",column="KEY") @Result(property="accessId",column="ACCESS_ID") @Result(property="accessName",column="ACCESS_NAME") @Result(property="permRead",column="PERM_READ") @Result(property="permOpen",column="PERM_OPEN") @Result(property="permAppend",column="PERM_APPEND") @Result(property="permTransfer",column="PERM_TRANSFER") @Result(property="permDistribute",column="PERM_DISTRIBUTE") @Result(property="permCustom1",column="PERM_CUSTOM_1") @Result(property="permCustom2",column="PERM_CUSTOM_2") @Result(property="permCustom3",column="PERM_CUSTOM_3") @Result(property="permCustom4",column="PERM_CUSTOM_4") @Result(property="permCustom5",column="PERM_CUSTOM_5") @Result(property="permCustom6",column="PERM_CUSTOM_6") @Result(property="permCustom7",column="PERM_CUSTOM_7") @Result(property="permCustom8",column="PERM_CUSTOM_8") @Result(property="permCustom9",column="PERM_CUSTOM_9") @Result(property="permCustom10",column="PERM_CUSTOM_10") @Result(property="permCustom11",column="PERM_CUSTOM_11") @Result(property="permCustom12",column="PERM_CUSTOM_12") List<WorkbasketAccessItemImpl> findByWorkbasketId(@Param("id") String id)
-
findByAccessId
@SelectProvider(type=WorkbasketAccessSqlProvider.class, method="findByAccessId") @Result(property="id",column="ID") @Result(property="workbasketId",column="WORKBASKET_ID") @Result(property="workbasketKey",column="KEY") @Result(property="accessId",column="ACCESS_ID") @Result(property="accessName",column="ACCESS_NAME") @Result(property="permRead",column="PERM_READ") @Result(property="permOpen",column="PERM_OPEN") @Result(property="permAppend",column="PERM_APPEND") @Result(property="permTransfer",column="PERM_TRANSFER") @Result(property="permDistribute",column="PERM_DISTRIBUTE") @Result(property="permCustom1",column="PERM_CUSTOM_1") @Result(property="permCustom2",column="PERM_CUSTOM_2") @Result(property="permCustom3",column="PERM_CUSTOM_3") @Result(property="permCustom4",column="PERM_CUSTOM_4") @Result(property="permCustom5",column="PERM_CUSTOM_5") @Result(property="permCustom6",column="PERM_CUSTOM_6") @Result(property="permCustom7",column="PERM_CUSTOM_7") @Result(property="permCustom8",column="PERM_CUSTOM_8") @Result(property="permCustom9",column="PERM_CUSTOM_9") @Result(property="permCustom10",column="PERM_CUSTOM_10") @Result(property="permCustom11",column="PERM_CUSTOM_11") @Result(property="permCustom12",column="PERM_CUSTOM_12") List<WorkbasketAccessItemImpl> findByAccessId(@Param("id") String id)
-
insert
@InsertProvider(type=WorkbasketAccessSqlProvider.class, method="insert") @Options(keyProperty="id", keyColumn="ID") void insert(@Param("workbasketAccessItem") WorkbasketAccessItemImpl workbasketAccessItem)
-
update
@UpdateProvider(type=WorkbasketAccessSqlProvider.class, method="update") void update(@Param("workbasketAccessItem") WorkbasketAccessItemImpl workbasketAccessItem)
-
delete
@DeleteProvider(type=WorkbasketAccessSqlProvider.class, method="delete") void delete(@Param("id") String id)
-
deleteAllAccessItemsForWorkbasketId
@DeleteProvider(type=WorkbasketAccessSqlProvider.class, method="deleteAllAccessItemsForWorkbasketId") void deleteAllAccessItemsForWorkbasketId(@Param("workbasketId") String workbasketId)
-
deleteAccessItemsForAccessId
@DeleteProvider(type=WorkbasketAccessSqlProvider.class, method="deleteAccessItemsForAccessId") void deleteAccessItemsForAccessId(@Param("accessId") String accessId)
-
findByWorkbasketAndAccessId
@SelectProvider(type=WorkbasketAccessSqlProvider.class, method="findByWorkbasketAndAccessId") @Result(property="id",column="ID") @Result(property="workbasketId",column="WORKBASKET_ID") @Result(property="accessId",column="ACCESS_ID") @Result(property="accessName",column="ACCESS_NAME") @Result(property="permRead",column="PERM_READ") @Result(property="permOpen",column="PERM_OPEN") @Result(property="permAppend",column="PERM_APPEND") @Result(property="permTransfer",column="PERM_TRANSFER") @Result(property="permDistribute",column="PERM_DISTRIBUTE") @Result(property="permCustom1",column="PERM_CUSTOM_1") @Result(property="permCustom2",column="PERM_CUSTOM_2") @Result(property="permCustom3",column="PERM_CUSTOM_3") @Result(property="permCustom4",column="PERM_CUSTOM_4") @Result(property="permCustom5",column="PERM_CUSTOM_5") @Result(property="permCustom6",column="PERM_CUSTOM_6") @Result(property="permCustom7",column="PERM_CUSTOM_7") @Result(property="permCustom8",column="PERM_CUSTOM_8") @Result(property="permCustom9",column="PERM_CUSTOM_9") @Result(property="permCustom10",column="PERM_CUSTOM_10") @Result(property="permCustom11",column="PERM_CUSTOM_11") @Result(property="permCustom12",column="PERM_CUSTOM_12") WorkbasketAccessItemImpl findByWorkbasketAndAccessId(@Param("workbasketId") String workbasketId, @Param("accessIds") List<String> accessIds)
-
findByWorkbasketKeyDomainAndAccessId
@SelectProvider(type=WorkbasketAccessSqlProvider.class, method="findByWorkbasketKeyDomainAndAccessId") @Result(property="workbasketId",column="WORKBASKET_ID") @Result(property="accessId",column="ACCESS_ID") @Result(property="accessName",column="ACCESS_NAME") @Result(property="permRead",column="PERM_READ") @Result(property="permOpen",column="PERM_OPEN") @Result(property="permAppend",column="PERM_APPEND") @Result(property="permTransfer",column="PERM_TRANSFER") @Result(property="permDistribute",column="PERM_DISTRIBUTE") @Result(property="permCustom1",column="PERM_CUSTOM_1") @Result(property="permCustom2",column="PERM_CUSTOM_2") @Result(property="permCustom3",column="PERM_CUSTOM_3") @Result(property="permCustom4",column="PERM_CUSTOM_4") @Result(property="permCustom5",column="PERM_CUSTOM_5") @Result(property="permCustom6",column="PERM_CUSTOM_6") @Result(property="permCustom7",column="PERM_CUSTOM_7") @Result(property="permCustom8",column="PERM_CUSTOM_8") @Result(property="permCustom9",column="PERM_CUSTOM_9") @Result(property="permCustom10",column="PERM_CUSTOM_10") @Result(property="permCustom11",column="PERM_CUSTOM_11") @Result(property="permCustom12",column="PERM_CUSTOM_12") WorkbasketAccessItemImpl findByWorkbasketKeyDomainAndAccessId(@Param("workbasketKey") String workbasketKey, @Param("domain") String domain, @Param("accessIds") List<String> accessIds)
-
-