OrganizationManager.java
2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
* @(#)OrganizationManager.java
*
* Copyright (c) 2014-2017 xiniunet 版权所有
* xiniunet. All rights reserved.
*
* This software is the confidential and proprietary
* information of xiniunet.
* ("Confidential Information"). You shall not disclose
* such Confidential Information and shall use it only
* in accordance with the terms of the contract agreement
* you entered into with xiniunet.
*/
package com.xiniunet.service.railway.biz;
import com.xiniunet.framework.security.Passport;
import com.xiniunet.railway.request.*;
import com.xiniunet.railway.response.*;
/**
* 组织部门的管理方法.
*
* @author xiniunet
*/
public interface OrganizationManager {
/**
* 根据Id获取组织部门
*
* @param request 获取组织部门请求
* @param passport 用户护照
* @return 获取组织部门应答
*/
OrganizationGetResponse get(OrganizationGetRequest request, Passport passport);
/**
* 模糊查询组织部门
*
* @param request 模糊查询组织部门请求
* @param passport 用户护照
* @return 模糊查询组织部门应答
*/
OrganizationSearchResponse search(OrganizationSearchRequest request, Passport passport);
/**
* 高级查询组织部门
*
* @param request 高级查询组织部门请求
* @param passport 用户护照
* @return 高级查询组织部门应答
*/
OrganizationFindResponse find(OrganizationFindRequest request, Passport passport);
/**
* 创建组织部门
*
* @param request 创建组织部门请求
* @param passport 用户护照
* @return 创建组织部门应答
*/
OrganizationCreateResponse create(OrganizationCreateRequest request, Passport passport);
/**
* 更新组织部门
*
* @param request 更新组织部门请求
* @param passport 用户护照
* @return 更新组织部门应答
*/
OrganizationUpdateResponse update(OrganizationUpdateRequest request, Passport passport);
/**
* 删除组织部门
*
* @param request 删除组织部门请求
* @param passport 用户护照
* @return 删除组织部门应答
*/
OrganizationDeleteResponse delete(OrganizationDeleteRequest request, Passport passport);
}