A B C D F G H I L M N O P R S T U V W

A

AccessControllerMock - Class in com.silverpeas.web.mock
A mock of an user access controller for testing purpose.
AccessControllerMock() - Constructor for class com.silverpeas.web.mock.AccessControllerMock
 
addComponentInstance(String) - Method in class com.silverpeas.web.RESTWebServiceTest
Adds the specified component instance among the existing ones and that will be used in tests.
addProfile(String, SilverpeasRole) - Method in class com.silverpeas.web.mock.UserDetailWithProfiles
Adds a new profile for tests.
addProfiles(String, List<SilverpeasRole>) - Method in class com.silverpeas.web.mock.UserDetailWithProfiles
Defines the profiles for tests.
addTool(String) - Method in class com.silverpeas.web.RESTWebServiceTest
 
addXmlForm(SimpleDocumentPK, String, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
AdminNotificationServiceMock - Class in com.silverpeas.web.mock
 
AdminNotificationServiceMock() - Constructor for class com.silverpeas.web.mock.AdminNotificationServiceMock
 
anInvalidResource() - Method in class com.silverpeas.web.ResourceUpdateTest
 
anUnexistingResourceURI() - Method in interface com.silverpeas.web.WebResourceTesting
Gets the URI of an invalid or an unexisting web resource.
aResource() - Method in interface com.silverpeas.web.WebResourceTesting
Gets a resource instance to use in tests.
aResourceURI() - Method in interface com.silverpeas.web.WebResourceTesting
Gets the URI of a valid and existing web resource backed by a REST web service.
asMediaType(MediaType) - Static method in class com.silverpeas.web.ResourceGettingTest
 
at(String) - Static method in class com.silverpeas.web.ResourceCreationTest
A convenient method to improve the readability of the method calls.
aUser() - Method in class com.silverpeas.web.RESTWebServiceTest
Gets a user to use in the test case.
aUser() - Method in class com.silverpeas.web.TestResources
Gets a user to use in the tests as the one in the current HTTP session.
aUserNamed(String, String) - Method in class com.silverpeas.web.TestResources
Computes a user named with the specified first and last name.
authenticate(UserDetail) - Method in class com.silverpeas.web.RESTWebServiceTest
Authenticates the user to use in the tests.

B

buildQueryParametersFrom(String) - Method in class com.silverpeas.web.RESTWebServiceTest
 

C

changeVersionState(SimpleDocumentPK, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
clearAll() - Method in class com.silverpeas.web.mock.UserDetailWithProfiles
Clears all of the data used in tests.
cloneDocument(SimpleDocument, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
closeSession(String) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
com.silverpeas.web - package com.silverpeas.web
 
com.silverpeas.web.mock - package com.silverpeas.web.mock
 
CONTEXT_NAME - Static variable in class com.silverpeas.web.RESTWebServiceTest
 
copyAllDocuments(WAPrimaryKey, WAPrimaryKey) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
copyDocument(SimpleDocument, ForeignPK) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createAttachment(SimpleDocument, InputStream) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createAttachment(SimpleDocument, InputStream, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createAttachment(SimpleDocument, InputStream, boolean, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createAttachment(SimpleDocument, File) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createAttachment(SimpleDocument, File, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createAttachment(SimpleDocument, File, boolean, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createIndex(SimpleDocument) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createIndex(SimpleDocument, Date, Date) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
createToken(EntityReference, String) - Static method in class org.silverpeas.token.persistent.PersistentResourceTokenBuilder
 
creationOfANewResourceByANonAuthenticatedUser() - Method in class com.silverpeas.web.ResourceCreationTest
 
creationOfANewResourceByANonAuthorizedUser() - Method in class com.silverpeas.web.ResourceCreationTest
 
creationOfANewResourceWithADeprecatedSession() - Method in class com.silverpeas.web.ResourceCreationTest
 

D

DEFAULT_DOMAIN - Static variable in class com.silverpeas.web.TestResources
The default domain the default user belongs to.
DEFAULT_LANGUAGE - Static variable in class com.silverpeas.web.TestResources
Default language to use in the unit tests on the REST-based web services.
deleteAllAttachments(String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
deleteAllAttachments(String, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
deleteAt(String) - Method in class com.silverpeas.web.ResourceDeletionTest
Requests a delete of the web resource identified at the specified URI.
deleteAt(String, Class<C>) - Method in class com.silverpeas.web.ResourceDeletionTest
Requests a delete of the web resource identified at the specified URI.
deleteAttachment(SimpleDocument) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
deleteAttachment(SimpleDocument, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
deleteIndex(SimpleDocument) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
deletionOfAnUnexistingResource() - Method in class com.silverpeas.web.ResourceDeletionTest
 
deletionOfAResourceByANonAuthenticatedUser() - Method in class com.silverpeas.web.ResourceDeletionTest
 
deletionOfAResourceByANonAuthorizedUser() - Method in class com.silverpeas.web.ResourceDeletionTest
 
deletionOfAResourceWithADeprecatedSession() - Method in class com.silverpeas.web.ResourceDeletionTest
 
denieAuthorizationToUsers() - Method in class com.silverpeas.web.RESTWebServiceTest
Denies the access to the silverpeas resources to all users.
denieSpaceAuthorizationToUsers() - Method in class com.silverpeas.web.RESTWebServiceTest
Denies the access to the silverpeas spaces to all users.

F

findExistingDocument(SimpleDocumentPK, String, ForeignPK, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 

G

get(EntityReference) - Method in class com.silverpeas.web.mock.TokenServiceMockWrapper
 
get(String) - Method in class com.silverpeas.web.mock.TokenServiceMockWrapper
 
getAccessControllerMock() - Method in class com.silverpeas.web.RESTWebServiceTest
 
getAccessControllerMock() - Method in class com.silverpeas.web.TestResources
Gets a mock of the AccessController.
getAccessibleComponentIds() - Method in class com.silverpeas.web.mock.UserDetailWithProfiles
Gets the identifier of the Silverpeas components this user can access.
getAdministratorUserIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllComponentIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllComponentIdsRecur(String, String, String, boolean, boolean) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllComponentIdsRecur(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllComponents() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllComponentsNames() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllDomains() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllGroupIdsOfUser(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllGroups() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllowedComponentIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllowedSubSpaceIds(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllRootGroups() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllRootGroupsInDomain(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllRootSpaceIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllRootSpaceIds() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllSpaceIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllSpaceIds() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllSubGroups(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllSubSpaceIds(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllSubSpaceIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllSubUsersNumber(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsers() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsers(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsers(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsersFromNewestToOldest() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsersIds() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsersInDomain(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAllUsersOfGroup(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getApplicationContext() - Method in class com.silverpeas.web.TestResources
Gets the application context within which the current test case is actually running.
getAt(String, Class<C>) - Method in class com.silverpeas.web.ResourceGettingTest
Gets the web resource at the specified URI as an instance of the specified class.
getAt(String, MediaType, Class<C>) - Method in class com.silverpeas.web.ResourceGettingTest
Gets the web resource at the specified URI as an instance of the specified class in the way it is sent back by the web resource in the specified media type.
getAvailCompoIds(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAvailCompoIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAvailCompoIdsAtRoot(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAvailComponentInstLights(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getAvailDriverCompoIds(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getBinaryContent(OutputStream, SimpleDocumentPK, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
getBinaryContent(OutputStream, SimpleDocumentPK, String, long, long) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
getBinaryContent(File, SimpleDocumentPK, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
getCompoForUser(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getCompoId(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getComponentIdsForUser(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getComponentInst(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getComponentInstLight(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getComponentParameterValue(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getConnectedUsersList() - Method in class com.silverpeas.web.mock.SessionManagerMock
 
getDirectGroupIdsOfUser(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getDistinctConnectedUsersList(UserDetail) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
getDomain(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getExistingComponentInstances() - Method in class com.silverpeas.web.RESTWebServiceTest
Gets the component instances to take into account in tests.
getExistingTools() - Method in class com.silverpeas.web.RESTWebServiceTest
Gets tools to take into account in tests.
getFiltredDirectUsers(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getGeneralSpaceId() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getGroup(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getGroups(String[]) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getMockedSpaceAccessController() - Method in class com.silverpeas.web.RESTWebServiceTest
 
getNbConnectedUsersList(UserDetail) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
getNextSessionTimeOut(String) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
getOrganizationControllerMock() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
Gets the mock of the OrganizationController class wrapped by this instance.
getOrganizationControllerMock() - Method in class com.silverpeas.web.RESTWebServiceTest
 
getOrganizationControllerMock() - Method in class com.silverpeas.web.TestResources
Gets the OrganizationController mock used in the tests.
getPathToGroup(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getPersonalizationServiceMock() - Method in class com.silverpeas.web.mock.PersonalizationServiceMockWrapper
 
getPersonalizationServiceMock() - Method in class com.silverpeas.web.RESTWebServiceTest
 
getPersonalizationServiceMock() - Method in class com.silverpeas.web.TestResources
Gets a mock of the personalization service.
getRealService() - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
getRootSpace(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getRootSpacesContainingComponent(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSearchableComponentsByCriteria(ComponentSearchCriteria) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSessionInfo(String) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
getSessionKey() - Method in interface com.silverpeas.web.WebResourceTesting
Gets the valid session key to use in tests.
getSessionManagerMock() - Method in class com.silverpeas.web.TestResources
Gets a mock of the session management service.
getSpaceAccessControllerMock() - Method in class com.silverpeas.web.TestResources
Gets a mock of the SpaceAccessController.
getSpaceInstById(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSpaceInstLightById(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSpaceNames(String[]) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSpacePath(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSpacePathToComponent(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSpaceTreeview(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getSubSpacesContainingComponent(String, String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getTestResources() - Method in class com.silverpeas.web.RESTWebServiceTest
Gets the resources in use in the current test case.
getTestResources() - Static method in class com.silverpeas.web.TestResources
Gets a TestResources instance managed by the IoC container within which is running the test case.
gettingAnUnexistingResource() - Method in class com.silverpeas.web.ResourceGettingTest
 
gettingAResourceByANonAuthenticatedUser() - Method in class com.silverpeas.web.ResourceGettingTest
 
gettingAResourceByAnUnauthorizedUser() - Method in class com.silverpeas.web.ResourceGettingTest
 
gettingAResourceWithAnExpiredSession() - Method in class com.silverpeas.web.ResourceGettingTest
 
getTokenServiceMock() - Method in class com.silverpeas.web.mock.TokenServiceMockWrapper
Gets the mock
getTokenServiceMock() - Method in class com.silverpeas.web.TestResources
Gets a mock of the token service.
getUserDBId(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserDetail(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserDetailByDBId(int) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserDetails(String[]) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserFull(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserManageableSpaceIds(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserObjectProfiles(String, String, ObjectType) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserProfile(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserProfiles(String, String, int, ObjectType) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserProfiles(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserProfiles(String, String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserProfiles(String) - Method in class com.silverpeas.web.mock.UserDetailWithProfiles
 
getUsers(String, String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUserSettings(String) - Method in class com.silverpeas.web.mock.PersonalizationServiceMockWrapper
 
getUsersIdsByRoleNames(String, String, ObjectType, List<String>) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUsersIdsByRoleNames(String, List<String>) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUsersOfDomains(List<String>) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getUsersOfDomainsFromNewestToOldest(List<String>) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
getWebEntityClass() - Method in interface com.silverpeas.web.WebResourceTesting
Gets the class of the web entities handled by the REST web service to test.

H

HTTP_SESSIONKEY - Static variable in interface com.silverpeas.web.WebResourceTesting
The HTTP header paremeter in an incoming request that carries the user session key as it is defined in the Silverpeas REST web service API.

I

indexAllDocuments(WAPrimaryKey, Date, Date) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
initialize(EntityReference) - Method in class com.silverpeas.web.mock.TokenServiceMockWrapper
 
isAdminTool(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isAnonymousAccessActivated() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isComponentAvailable(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isComponentExist(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isComponentManageable(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isNoSession() - Method in class com.silverpeas.web.mock.SessionManagerMock
 
isObjectAvailable(int, ObjectType, String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isSpaceAvailable(String, String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isToolAvailable(String) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
isUserAuthorized(String, String, AccessControlContext) - Method in class com.silverpeas.web.mock.AccessControllerMock
 
isUserAuthorized(String, SimpleDocument, AccessControlContext) - Method in class com.silverpeas.web.mock.SimpleDocumentAccessControllerMock
 
isUserAuthorized(String, String, AccessControlContext) - Method in class com.silverpeas.web.mock.SpaceAccessControllerMock
 
isUserConnected(UserDetail) - Method in class com.silverpeas.web.mock.SessionManagerMock
 

L

listAllDocumentsByForeignKey(WAPrimaryKey, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
listDocumentsByForeignKey(WAPrimaryKey, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
listDocumentsByForeignKeyAndType(WAPrimaryKey, DocumentType, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
listDocumentsLockedByUser(String, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
listDocumentsRequiringWarning(Date, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
listDocumentsToUnlock(Date, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
listExpiringDocuments(Date, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
lock(String, String, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 

M

mergeDocuments(ForeignPK, ForeignPK, DocumentType) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
moveAllDocuments(WAPrimaryKey, WAPrimaryKey) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
moveDocument(SimpleDocument, ForeignPK) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 

N

notifyOfComponentConfigurationChange(String, String, ComponentJsonPatch) - Method in class com.silverpeas.web.mock.AdminNotificationServiceMock
 
notifyOnDeletionOf(String, String) - Method in class com.silverpeas.web.mock.AdminNotificationServiceMock
 

O

openAnonymousSession(HttpServletRequest) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
openSession(UserDetail) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
openSession(UserDetail, HttpServletRequest) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
org.silverpeas.attachment.mock - package org.silverpeas.attachment.mock
 
org.silverpeas.token.persistent - package org.silverpeas.token.persistent
 
OrganizationControllerMockWrapper - Class in com.silverpeas.web.mock
A wrapper around an OrganizationController mock for testing purpose.
OrganizationControllerMockWrapper() - Constructor for class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 

P

PersistentResourceTokenBuilder - Class in org.silverpeas.token.persistent
A builder of persistent token for convenient purpose in tests.
PersistentResourceTokenBuilder() - Constructor for class org.silverpeas.token.persistent.PersistentResourceTokenBuilder
 
PersonalizationServiceMockWrapper - Class in com.silverpeas.web.mock
A wrapper around a PersonalizationController mock for testing purpose.
PersonalizationServiceMockWrapper() - Constructor for class com.silverpeas.web.mock.PersonalizationServiceMockWrapper
 
post(C, String) - Method in class com.silverpeas.web.ResourceCreationTest
Posts the specified web entity at the specified URI.
postAnInvalidResourceState() - Method in class com.silverpeas.web.ResourceCreationTest
 
prepareMockedResources() - Method in class com.silverpeas.web.RESTWebServiceTest
 
putAt(String, C) - Method in class com.silverpeas.web.ResourceUpdateTest
Puts at the specified URI the specified new state of the resource.

R

registerUser(UserDetail) - Method in class com.silverpeas.web.TestResources
Registers the specified user among the organization controller so that when it is asked it is returned by the controller.
reloadAdminCache() - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
remove(EntityReference) - Method in class com.silverpeas.web.mock.TokenServiceMockWrapper
 
remove(String) - Method in class com.silverpeas.web.mock.TokenServiceMockWrapper
 
removeContent(SimpleDocument, String, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
reorderAttachments(List<SimpleDocumentPK>) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
reorderDocuments(List<SimpleDocument>) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
resetDefaultSpace(String) - Method in class com.silverpeas.web.mock.PersonalizationServiceMockWrapper
 
resource() - Method in class com.silverpeas.web.RESTWebServiceTest
 
ResourceCreationTest<T extends TestResources> - Class in com.silverpeas.web
Unit tests on the creation of a new resource in Silverpeas through a REST web service.
ResourceCreationTest(String, String) - Constructor for class com.silverpeas.web.ResourceCreationTest
 
ResourceDeletionTest<T extends TestResources> - Class in com.silverpeas.web
Unit tests on the deletion of a resource in Silverpeas through a REST web service.
ResourceDeletionTest(String, String) - Constructor for class com.silverpeas.web.ResourceDeletionTest
 
ResourceGettingTest<T extends TestResources> - Class in com.silverpeas.web
Unit tests on the getting of a resource in Silverpeas through a REST web service.
ResourceGettingTest(String, String) - Constructor for class com.silverpeas.web.ResourceGettingTest
 
ResourceUpdateTest<T extends TestResources> - Class in com.silverpeas.web
Unit tests on the update of a resource in Silverpeas through a REST web service.
ResourceUpdateTest(String, String) - Constructor for class com.silverpeas.web.ResourceUpdateTest
 
RESTWebServiceTest<T extends TestResources> - Class in com.silverpeas.web
The base class for testing REST web services in Silverpeas.
RESTWebServiceTest(String, String) - Constructor for class com.silverpeas.web.RESTWebServiceTest
Constructs a new test case on the REST web service testing.

S

saveUserSettings(UserPreferences) - Method in class com.silverpeas.web.mock.PersonalizationServiceMockWrapper
 
searchDocumentById(SimpleDocumentPK, String) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
searchGroups(GroupsSearchCriteria) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
searchGroups(Group, boolean) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
searchGroupsIds(boolean, String, String[], Group) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
searchUsers(UserDetail, boolean) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
searchUsers(UserDetailsSearchCriteria) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
searchUsersIds(String, String, String[], UserDetail) - Method in class com.silverpeas.web.mock.OrganizationControllerMockWrapper
 
SessionManagerMock - Class in com.silverpeas.web.mock
A mock of a session manager for testing purpose.
SessionManagerMock() - Constructor for class com.silverpeas.web.mock.SessionManagerMock
 
setApplicationContext(ApplicationContext) - Method in class com.silverpeas.web.TestResources
 
setAuthorization(boolean) - Method in class com.silverpeas.web.mock.AccessControllerMock
 
setAuthorization(boolean) - Method in class com.silverpeas.web.mock.SimpleDocumentAccessControllerMock
 
setAuthorization(boolean) - Method in class com.silverpeas.web.mock.SpaceAccessControllerMock
 
setComponentAccessibilityToUser(String, String) - Method in class com.silverpeas.web.RESTWebServiceTest
 
setNoSession(boolean) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
setRealService(AttachmentService) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
SimpleDocumentAccessControllerMock - Class in com.silverpeas.web.mock
 
SimpleDocumentAccessControllerMock() - Constructor for class com.silverpeas.web.mock.SimpleDocumentAccessControllerMock
 
SimpleDocumentServiceWrapper - Class in org.silverpeas.attachment.mock
 
SimpleDocumentServiceWrapper() - Constructor for class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
SimpleDocumentServiceWrapper(AttachmentService) - Constructor for class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
SpaceAccessControllerMock - Class in com.silverpeas.web.mock
A mock of an user access controller for testing purpose.
SpaceAccessControllerMock() - Constructor for class com.silverpeas.web.mock.SpaceAccessControllerMock
 
switchAllowingDownloadForReaders(SimpleDocumentPK, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
switchComponentBehaviour(String, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 

T

TEST_RESOURCES_NAME - Static variable in class com.silverpeas.web.TestResources
The name under which a test resources must be deployed.
TestResources - Class in com.silverpeas.web
It is a wrapper of the resources required in the RESTWebServiceTest test cases.
TestResources() - Constructor for class com.silverpeas.web.TestResources
Constructs the resouces for testing.
TokenServiceMockWrapper - Class in com.silverpeas.web.mock
 
TokenServiceMockWrapper() - Constructor for class com.silverpeas.web.mock.TokenServiceMockWrapper
Default constructor into which mock is initialized

U

unindexAttachmentsOfExternalObject(WAPrimaryKey) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
unlock(UnlockContext) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
updateAttachment(SimpleDocument, InputStream, boolean, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
updateAttachment(SimpleDocument, boolean, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
updateAttachment(SimpleDocument, File, boolean, boolean) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
updateIndexEntryWithDocuments(FullIndexEntry) - Method in class org.silverpeas.attachment.mock.SimpleDocumentServiceWrapper
 
updateOfAnUnexistingResource() - Method in class com.silverpeas.web.ResourceUpdateTest
 
updateOfAResourceByANonAuthenticatedUser() - Method in class com.silverpeas.web.ResourceUpdateTest
 
updateOfAResourceFromAnInvalidOne() - Method in class com.silverpeas.web.ResourceUpdateTest
 
updateOfAResourceWithinADeprecatedSession() - Method in class com.silverpeas.web.ResourceUpdateTest
 
updateOfResourceByANonAuthorizedUser() - Method in class com.silverpeas.web.ResourceUpdateTest
 
updateWithAnInvalidResourceState() - Method in class com.silverpeas.web.ResourceUpdateTest
 
USER_ID_IN_TEST - Static variable in class com.silverpeas.web.TestResources
Identifier of the default user to use in the unit tests on the REST-based web services.
UserDetailWithProfiles - Class in com.silverpeas.web.mock
 
UserDetailWithProfiles() - Constructor for class com.silverpeas.web.mock.UserDetailWithProfiles
 

V

validateSession(String) - Method in class com.silverpeas.web.mock.SessionManagerMock
 
validateSession(SessionValidationContext) - Method in class com.silverpeas.web.mock.SessionManagerMock
 

W

WebResourceTesting - Interface in com.silverpeas.web
Unit tests on the services provided by a web resource in Silverpeas.
withAsSessionKey(String) - Static method in class com.silverpeas.web.ResourceGettingTest
 

A B C D F G H I L M N O P R S T U V W

Copyright © 2016 Silverpeas. All Rights Reserved.