org.silverpeas.contribution.web
Class ContributionContentResourceMock

java.lang.Object
  extended by com.silverpeas.web.RESTWebService
      extended by org.silverpeas.contribution.web.AbstractContributionResource
          extended by org.silverpeas.contribution.web.ContributionContentResource
              extended by org.silverpeas.contribution.web.ContributionContentResourceMock

@Service
@RequestScoped
@Authorized
public class ContributionContentResourceMock
extends ContributionContentResource

User: Yohann Chastagnier Date: 21/05/13


Nested Class Summary
 
Nested classes/interfaces inherited from class com.silverpeas.web.RESTWebService
RESTWebService.WebProcess<RETURN_VALUE>, RESTWebService.WebTreatment<RETURN_VALUE>
 
Field Summary
 
Fields inherited from class com.silverpeas.web.RESTWebService
RESPONSE_HEADER_ARRAYSIZE, REST_WEB_SERVICES_URI_BASE
 
Constructor Summary
ContributionContentResourceMock()
           
 
Method Summary
protected  String getDefaultFormId()
           
protected  PublicationTemplate getPublicationTemplate(String formId)
           
 
Methods inherited from class org.silverpeas.contribution.web.ContributionContentResource
getComponentId, getContributionId, getFormContent, getFormContent
 
Methods inherited from class org.silverpeas.contribution.web.AbstractContributionResource
getDefaultPublicationTemplateLanguage, getFormFieldValue
 
Methods inherited from class com.silverpeas.web.RESTWebService
getBundle, getBundleLocation, getGreaterUserRole, getHttpRequest, getHttpServletRequest, getHttpServletResponse, getOrganisationController, getUriInfo, getUserDetail, getUserPreferences, getUserRoles, process, validateUserAuthentication, validateUserAuthorization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContributionContentResourceMock

public ContributionContentResourceMock()
Method Detail

getDefaultFormId

protected String getDefaultFormId()
Overrides:
getDefaultFormId in class AbstractContributionResource

getPublicationTemplate

protected PublicationTemplate getPublicationTemplate(String formId)
Overrides:
getPublicationTemplate in class AbstractContributionResource


Copyright © 2016 Silverpeas. All Rights Reserved.