BiPlatformRepositoryClientNavigationService implements INavigationService { public String getRepositoryFilename( CmisObject object ) { String typeId = object.findStringProperty( PropertiesBase.OBJECTTYPEID, null ); if ( CmisObject.OBJECT_TYPE_FOLDER.equals( typeId ) ) { return ""; } else { String name = object.findStringProperty( CmisObject.NAME, null ); return name; } }  Document getDoc(); void setDoc( Document doc ); List<CmisObject> getObjectParent( String repositoryId, String objectId, String filter,
      boolean includeAllowableActions, boolean includeRelationships ); List<CmisObject> getFolderParent( String repositoryId, String folderId, String filter,
      boolean includeAllowableActions, boolean includeRelationships, boolean returnToRoot ); List<CmisObject> getDescendants( String repositoryId, String folderId, TypesOfFileableObjects type, int depth,
      String filter, boolean includeAllowableActions, boolean includeRelationships ); List<CmisObject> getChildren( String repositoryId, String folderId, TypesOfFileableObjects type,
      String filter, boolean includeAllowableActions, boolean includeRelationships, int maxItems, int skipCount ); GetCheckedoutDocsResponse getCheckedoutDocs( String repositoryId, String folderId, String filter,
      boolean includeAllowableActions, boolean includeRelationships, int maxItems, int skipCount ); String getRepositoryPath( CmisObject object ); String getRepositoryFilename( CmisObject object );  }
@Test public void testGetRepositoryFilename() { mLog.info( "testGetRepositoryFilename.." ); cmisObject.getProperties().getProperties().add( new PropertyString( CmisObject.NAME, "UNIT_TEST" ) ); String filename = navService.getRepositoryFilename( cmisObject ); assertTrue( "UNIT_TEST".equals( filename ) ); cmisObject.getProperties().getProperties().add( new PropertyString( PropertiesBase.OBJECTTYPEID, CmisObject.OBJECT_TYPE_FOLDER ) ); filename = navService.getRepositoryFilename( cmisObject ); assertTrue( "Repository filename as expected", "".equals( filename ) ); }