Interface ITProfileManager
-
public interface ITProfileManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileBean
copyProfile(int toCopy)
void
deleteAllProfiles()
boolean
deleteProfileById(int profileId)
String
exportProfileAsXML(int profileId)
void
flushCaches()
ProfileBean
getProfileById(Integer i)
ProfileBean
getProfileByKey(String profileKey)
ProfileGroupBean
getProfileGroupByKey(String profileGroupKey)
List<Integer>
getProfileIDs()
ProfileBean
installProfile(InputStream is, String profileKey, boolean addDefaultNotificationScheme)
Deploys a previously stored ProfileProfileGroupBean
installProfileGroup(InputStream is, String profileGroupKey, boolean addDefaultNotificationScheme)
void
updateProfile(ProfileBean profile)
ProfileBean
updateProfileGroup(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:
JAXBException
RemoteException
-
exportProfileAsXML
String exportProfileAsXML(int profileId) throws JAXBException
- Throws:
JAXBException
-
-