public class SecurityOM extends Object implements Serializable
| Constructor and Description |
|---|
SecurityOM(SessionInfo sessionInfo)
Constructor of SecurityOM.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSecurityClass(String className)
Method helps to add the security class to server.
|
List<SecurityClassError> |
deleteSecurityClasses(List<String> securityClasses)
Method helps to delete the security classes from server.
|
List<ACCESS_RIGHTS> |
getCellLevelAccessRights(String povSlice)
Method to get Cell level Access rights.
|
List<String> |
getSecurityClasses()
Method get the all security class form the serverd.
|
List<ACCESS_RIGHTS> |
getSecurityClassesAccessForConnectedUser(List<String> securityClasses)
Get list of corresponding security classes accesss for the connected user based on input security classes.
|
List<String> |
getSecurityClassesForConnectedUser(ACCESS_RIGHTS minAccess)
Get all the security Class for connected user.
|
List<UserAccessRight> |
getSecurityClassRights(List<String> users,
List<String> classes,
List<String> nusers)
Get security class rights.
|
List<Boolean> |
getTaskAccessForConnectedUserFromList(List<TASK_ENUM> taskEnum)
Method to get Task Access rights.
|
void |
saveSecurityClassRights(List<UserAccessRight> userAccessRights)
Method helps to save security class rights to Server.
|
public SecurityOM(SessionInfo sessionInfo) throws HFMException
sessionInfo - session related informationHFMExceptionpublic List<String> getSecurityClasses() throws HFMException
HFMException - on errorpublic List<String> getSecurityClassesForConnectedUser(ACCESS_RIGHTS minAccess) throws HFMException
minAccess - min access right that the user need to haveHFMException - on errorpublic List<ACCESS_RIGHTS> getSecurityClassesAccessForConnectedUser(List<String> securityClasses) throws HFMException
securityClasses - list of security classesHFMException - on error or input security classes is nullpublic void addSecurityClass(String className) throws HFMException
className - security class name that we want to addHFMException - on error or input security classes is nullpublic List<SecurityClassError> deleteSecurityClasses(List<String> securityClasses) throws HFMException
securityClasses - list of security classesHFMException - on error or input security classes is nullpublic List<UserAccessRight> getSecurityClassRights(List<String> users, List<String> classes, List<String> nusers) throws HFMException
users - list of selected users/groupsclasses - list of selected classesHFMExceptionpublic void saveSecurityClassRights(List<UserAccessRight> userAccessRights) throws HFMException
userAccessRights - list of user securiry class access righhtsHFMExceptionpublic List<ACCESS_RIGHTS> getCellLevelAccessRights(String povSlice) throws HFMException
povSlice - string representing single pov.HFMExceptionpublic List<Boolean> getTaskAccessForConnectedUserFromList(List<TASK_ENUM> taskEnum) throws HFMException
taskEnum - list of HFM Task Enums like TASK_OPEN_APPLICATIONHFMExceptionCopyright 2007, 2026, Oracle. All rights reserved.