com.silverpeas.comment.mock
Class OrganizationControllerMocking

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.OrganizationController
      extended by com.silverpeas.comment.mock.OrganizationControllerMocking
All Implemented Interfaces:
Serializable, OrganisationController

@Named(value="organizationController")
public class OrganizationControllerMocking
extends OrganizationController

It is a decorator of the OrganizationController by mocking some of the methods provided by the OrganizationController objects.

See Also:
Serialized Form

Constructor Summary
OrganizationControllerMocking()
           
 
Method Summary
 OrganisationController getMock()
           
 UserDetail getUserDetail(String sUserId)
           
 void saveUser(UserDetail user)
           
 
Methods inherited from class com.stratelia.webactiv.beans.admin.OrganizationController
getAdministratorUserIds, getAllComponentIds, getAllComponentIdsRecur, getAllComponentIdsRecur, getAllComponents, getAllComponentsNames, getAllDomains, getAllGroupIdsOfUser, getAllGroups, getAllowedComponentIds, getAllowedSubSpaceIds, getAllRootGroups, getAllRootGroupsInDomain, getAllRootSpaceIds, getAllRootSpaceIds, getAllSpaceIds, getAllSpaceIds, getAllSubGroups, getAllSubSpaceIds, getAllSubSpaceIds, getAllSubUsersNumber, getAllUsers, getAllUsers, getAllUsers, getAllUsersFromNewestToOldest, getAllUsersIds, getAllUsersInDomain, getAllUsersOfGroup, getAvailCompoIds, getAvailCompoIds, getAvailCompoIdsAtRoot, getAvailComponentInstLights, getAvailDriverCompoIds, getCompoForUser, getCompoId, getComponentIdsForUser, getComponentInst, getComponentInstLight, getComponentParameterValue, getDirectGroupIdsOfUser, getDomain, getFiltredDirectUsers, getGeneralSpaceId, getGroup, getGroups, getPathToGroup, getRootSpace, getRootSpacesContainingComponent, getSearchableComponentsByCriteria, getSpaceInstById, getSpaceInstLightById, getSpaceNames, getSpacePath, getSpacePathToComponent, getSpaceTreeview, getSubSpacesContainingComponent, getUserDBId, getUserDetailByDBId, getUserDetails, getUserFull, getUserManageableSpaceIds, getUserObjectProfiles, getUserProfile, getUserProfiles, getUserProfiles, getUserProfiles, getUsers, getUsersIdsByRoleNames, getUsersIdsByRoleNames, getUsersOfDomains, getUsersOfDomainsFromNewestToOldest, isAdminTool, isAnonymousAccessActivated, isComponentAvailable, isComponentExist, isComponentManageable, isObjectAvailable, isSpaceAvailable, isToolAvailable, reloadAdminCache, searchGroups, searchGroups, searchGroupsIds, searchUsers, searchUsers, searchUsersIds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationControllerMocking

public OrganizationControllerMocking()
Method Detail

saveUser

public void saveUser(UserDetail user)

getUserDetail

public UserDetail getUserDetail(String sUserId)
Specified by:
getUserDetail in interface OrganisationController
Overrides:
getUserDetail in class OrganizationController

getMock

public OrganisationController getMock()


Copyright © 2016 Silverpeas. All Rights Reserved.