m2u-upass-core / src / my / com / upass / dao / ConfigurationDAO.java @ 9:16125cca68e4
History | View | Annotate | Download (1.48 KB)
1 | 0:02300db8682b | hadi | /**
|
---|---|---|---|
2 | * Copyright (M) 2009 Penril Datability (M) Sdn Bhd All rights reserved.
|
||
3 | *
|
||
4 | * This software is copyrighted. Under the copyright laws, this software
|
||
5 | * may not be copied, in whole or in part, without prior written consent
|
||
6 | * of Penril Datability (M) Sdn Bhd or its assignees. This software is
|
||
7 | * provided under the terms of a license between Penril Datability (M)
|
||
8 | * Sdn Bhd and the recipient, and its use is subject to the terms of that
|
||
9 | * license.
|
||
10 | */
|
||
11 | |||
12 | package my.com.upass.dao; |
||
13 | |||
14 | import java.util.List; |
||
15 | |||
16 | import my.com.upass.pojo.ConfigurationBean; |
||
17 | import net.penril.generic.hibernate.GenericDAO; |
||
18 | |||
19 | /**
|
||
20 | * PROGRAMMER: Danniell
|
||
21 | * CHANGE-NO:
|
||
22 | * TASK-NO:
|
||
23 | * DATE CREATED: Dec 3, 2010
|
||
24 | * TAG AS:
|
||
25 | * REASON(S):
|
||
26 | * MODIFICATION:
|
||
27 | */
|
||
28 | |||
29 | /**
|
||
30 | * Represents the UPASS User Data Access Object
|
||
31 | */
|
||
32 | public interface ConfigurationDAO extends GenericDAO<ConfigurationBean, String> |
||
33 | { |
||
34 | List<ConfigurationBean> getConfigurationsFromStore ();
|
||
35 | |||
36 | boolean isConfigChanged ();
|
||
37 | |||
38 | ConfigurationBean getTbAmConfigByConfigName (String configName)
|
||
39 | throws Exception; |
||
40 | |||
41 | List<ConfigurationBean> getTbAmConfigByapplicationId (int applicationId) |
||
42 | throws Exception; |
||
43 | |||
44 | ConfigurationBean getTbAmConfigByConfigNameAppId (String configName,
|
||
45 | int applicationId) throws Exception; |
||
46 | |||
47 | ConfigurationBean updateConfig (ConfigurationBean config) throws Exception; |
||
48 | |||
49 | void updateConfigChange () throws Exception; |
||
50 | |||
51 | void updateMkPendingByApplicationId(int applicationId, int pending) throws Exception; |
||
52 | } |