Interface ITProfileManager
-
public interface ITProfileManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileBeancopyProfile(int toCopy)voiddeleteAllProfiles()booleandeleteProfileById(int profileId)StringexportProfileAsXML(int profileId)voidflushCaches()ProfileBeangetProfileById(Integer i)ProfileBeangetProfileByKey(String profileKey)ProfileGroupBeangetProfileGroupByKey(String profileGroupKey)List<Integer>getProfileIDs()ProfileBeaninstallProfile(InputStream is, String profileKey, boolean addDefaultNotificationScheme)Deploys a previously stored ProfileProfileGroupBeaninstallProfileGroup(InputStream is, String profileGroupKey, boolean addDefaultNotificationScheme)voidupdateProfile(ProfileBean profile)ProfileBeanupdateProfileGroup(ProfileGroupBean profileGroup)
-
-
-
Method Detail
-
installProfile
ProfileBean installProfile(InputStream is, String profileKey, boolean addDefaultNotificationScheme) throws RemoteException
Deploys a previously stored Profile- Parameters:
is- profileprofileKey- , used as a unique key to locate the Bean / Entity, used for server side caching of the profile during integration testing,can be null to not cache.addDefaultNotificationScheme- , if true, use the system default, otherwise leave no scheme assigned- Returns:
- the ProfileBean of the single profile
- Throws:
RemoteException- if it breaks
-
installProfileGroup
ProfileGroupBean installProfileGroup(InputStream is, String profileGroupKey, boolean addDefaultNotificationScheme) throws RemoteException
- Throws:
RemoteException
-
getProfileById
ProfileBean getProfileById(Integer i) throws RemoteException
- Throws:
RemoteException
-
getProfileByKey
ProfileBean getProfileByKey(String profileKey) throws RemoteException
- Throws:
RemoteException
-
getProfileGroupByKey
ProfileGroupBean getProfileGroupByKey(String profileGroupKey)
-
deleteProfileById
boolean deleteProfileById(int profileId)
-
updateProfile
void updateProfile(ProfileBean profile)
-
updateProfileGroup
ProfileBean updateProfileGroup(ProfileGroupBean profileGroup)
- Parameters:
profileGroup- to update- Returns:
- the default profileBean from the list
-
deleteAllProfiles
void deleteAllProfiles()
-
flushCaches
void flushCaches()
-
copyProfile
ProfileBean copyProfile(int toCopy) throws JAXBException, RemoteException
- Throws:
JAXBExceptionRemoteException
-
exportProfileAsXML
String exportProfileAsXML(int profileId) throws JAXBException
- Throws:
JAXBException
-
-