com.silverpeas.pdc.web.mock
Class ContentManagerMock

java.lang.Object
  extended by com.stratelia.silverpeas.contentManager.ContentManager
      extended by com.silverpeas.pdc.web.mock.ContentManagerMock
All Implemented Interfaces:
Serializable

@Named(value="contentManager")
public class ContentManagerMock
extends ContentManager

A Mock of the content manager. It mocks some of its method.

See Also:
Serialized Form

Constructor Summary
ContentManagerMock()
           
 
Method Summary
 int getSilverContentId(String sInternalContentId, String sComponentId)
           
 
Methods inherited from class com.stratelia.silverpeas.contentManager.ContentManager
addSilverContent, addSilverContent, getContentInstanceId, getContentPeas, getContentURLIcones, getInstanceId, getInternalContentId, getPositionsByGenericSearch, getSilverContentBySilverContentIds, getSilverContentId, getSilverContentIdByInstanceId, getSilverContentVisibility, registerNewContentInstance, removeSilverContent, unregisterNewContentInstance, updateSilverContentVisibilityAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentManagerMock

public ContentManagerMock()
                   throws ContentManagerException
Throws:
ContentManagerException
Method Detail

getSilverContentId

public int getSilverContentId(String sInternalContentId,
                              String sComponentId)
                       throws ContentManagerException
Overrides:
getSilverContentId in class ContentManager
Throws:
ContentManagerException


Copyright © 2016 Silverpeas. All Rights Reserved.