|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.beans.admin.ProfileInstManager
public class ProfileInstManager
| Constructor Summary | |
|---|---|
ProfileInstManager()
Constructor |
|
| Method Summary | |
|---|---|
String |
createProfileInst(ProfileInst profileInst,
DomainDriverManager ddManager,
String sFatherCompoId)
Create a new Profile instance in database |
void |
deleteProfileInst(ProfileInst profileInst,
DomainDriverManager ddManager)
Deletes profile instance from Silverpeas |
String[] |
getAllComponentObjectProfileIdsOfGroup(String groupId)
Get all the node profiles Id for the given group |
String[] |
getAllComponentObjectProfileIdsOfUser(String sUserId,
List<String> groupIds)
Get all the component object profile Ids for the given user and/or groups |
ProfileInst |
getInheritedProfileInst(DomainDriverManager ddManager,
String instanceId,
String roleName)
|
String[] |
getProfileIdsOfGroup(String sGroupId)
Get all the profiles Id for the given group |
String[] |
getProfileIdsOfUser(String sUserId,
List<String> groupIds)
Get all the profiles Id for the given user and groups |
ProfileInst |
getProfileInst(DomainDriverManager ddManager,
String sProfileId,
String sFatherId)
Get Profileinformation from database with the given id and creates a new Profile instance |
String[] |
getProfileNamesOfUser(String sUserId,
List<String> groupIds,
int componentId)
|
String |
updateProfileInst(GroupManager groupManager,
DomainDriverManager ddManager,
ProfileInst profileInstNew,
RightAssignationContext.MODE rightAssignationMode)
Update profile instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileInstManager()
| Method Detail |
|---|
public String createProfileInst(ProfileInst profileInst,
DomainDriverManager ddManager,
String sFatherCompoId)
throws AdminException
profileInst - ddManager - sFatherCompoId -
AdminException
public ProfileInst getProfileInst(DomainDriverManager ddManager,
String sProfileId,
String sFatherId)
throws AdminException
ddManager - sProfileId - sFatherId -
AdminException
public ProfileInst getInheritedProfileInst(DomainDriverManager ddManager,
String instanceId,
String roleName)
throws AdminException
AdminException
public void deleteProfileInst(ProfileInst profileInst,
DomainDriverManager ddManager)
throws AdminException
profileInst - ddManager -
AdminException
public String updateProfileInst(GroupManager groupManager,
DomainDriverManager ddManager,
ProfileInst profileInstNew,
RightAssignationContext.MODE rightAssignationMode)
throws AdminException
groupManager - ddManager - profileInstNew - rightAssignationMode - the data is used from a copy/replace from operation. It is not a
nice way to handle this kind of information, but it is not possible to refactor the right
services.
AdminException
public String[] getProfileIdsOfUser(String sUserId,
List<String> groupIds)
throws AdminException
sUserId - groupIds -
AdminException
public String[] getAllComponentObjectProfileIdsOfUser(String sUserId,
List<String> groupIds)
throws AdminException
sUserId - groupIds -
AdminException
public String[] getProfileNamesOfUser(String sUserId,
List<String> groupIds,
int componentId)
throws AdminException
AdminException
public String[] getProfileIdsOfGroup(String sGroupId)
throws AdminException
sGroupId -
AdminException
public String[] getAllComponentObjectProfileIdsOfGroup(String groupId)
throws AdminException
groupId -
AdminException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||