org.openmobileis.modules.profiles.old
Class ProfileManager

java.lang.Object
  extended byorg.openmobileis.modules.profiles.old.ProfileManager

public class ProfileManager
extends java.lang.Object

Title: OpenMobileIS project source
Description: Manage profil on the terminal side. Profile are store in a XML file. The filename and path is defined by the PropertiesManager property org.openmobileis.profil.file By default (ie the property is not defined), the file is stored in the directory "user.dir"/WEB-INF/conf/properties/profilData.xml.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Method Summary
 void addModule(ProfileModule module)
           
 void addRubric(ProfileRubric rubric)
           
static ProfileManager getManager()
           
 ProfileModule getModule(java.lang.String moduleName)
           
 ProfileSynchroListenerAddNotifier getProfileSyncListenerNotifier()
           
 java.util.Collection getProfilModules()
           
 java.util.Collection getProfilRubrics()
           
 ProfileRubric getRubric(java.lang.String rubricName)
           
 void loadProfile()
           
 void saveProfilFile(java.lang.String fileData)
           
 void setProfileSyncListenerNotifier(ProfileSynchroListenerAddNotifier profileSyncListenerNotifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getManager

public static ProfileManager getManager()

saveProfilFile

public void saveProfilFile(java.lang.String fileData)
                    throws ServiceException
Throws:
ServiceException

getProfilRubrics

public java.util.Collection getProfilRubrics()

getProfilModules

public java.util.Collection getProfilModules()

getRubric

public ProfileRubric getRubric(java.lang.String rubricName)

getModule

public ProfileModule getModule(java.lang.String moduleName)

addRubric

public void addRubric(ProfileRubric rubric)

addModule

public void addModule(ProfileModule module)

loadProfile

public void loadProfile()
                 throws ServiceException
Throws:
ServiceException

getProfileSyncListenerNotifier

public ProfileSynchroListenerAddNotifier getProfileSyncListenerNotifier()

setProfileSyncListenerNotifier

public void setProfileSyncListenerNotifier(ProfileSynchroListenerAddNotifier profileSyncListenerNotifier)


Copyright 2006 OpenMobileIS. All Rights Reserved.