KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > message > Account


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.communication.message;
6
7 import org.exoplatform.commons.utils.ExoProperties;
8 /**
9  * Created by The eXo Platform SARL .
10  * Author : Tuan Nguyen
11  * tuan08@users.sourceforge.net
12  * Date: Jun 14, 2003
13  * Time: 1:12:22 PM
14  */

15 public interface Account {
16   final static String JavaDoc SERVER_SETTING_USERNAME = "server.setting.username" ;
17   final static String JavaDoc SERVER_SETTING_PASSWORD = "server.setting.password" ;
18   final static String JavaDoc SERVER_SETTING_HOSTNAME = "server.setting.hostname" ;
19   
20   public String JavaDoc getId() ;
21   
22   public String JavaDoc getAccountName() ;
23   public void setAccountName(String JavaDoc accountName) ;
24   
25   public String JavaDoc getOwner() ;
26   public void setOwner(String JavaDoc userName) ;
27   
28   public String JavaDoc getOwnerName() ;
29   public void setOwnerName(String JavaDoc name) ;
30   
31   public String JavaDoc getReplyToAddress() ;
32   public void setReplyToAddress(String JavaDoc address) ;
33   
34   public String JavaDoc getSignature() ;
35   public void setSignature(String JavaDoc signature) ;
36
37   public String JavaDoc getAccessRole() ;
38   public void setAccessRole(String JavaDoc role) ;
39   
40   public String JavaDoc getProtocol() ;
41   public void setProtocol(String JavaDoc protocol) ;
42
43   public ExoProperties getProperties() ;
44   public void setProperties(ExoProperties props) ;
45   
46   public String JavaDoc getProperty(String JavaDoc key) ;
47   public void setProperty(String JavaDoc key, String JavaDoc value) ;
48 }
Popular Tags