mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merging from EC-MC: Checkpoint before refactor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5744 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -26,6 +26,7 @@ package org.alfresco.service.cmr.model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
|
||||
import org.alfresco.service.cmr.repository.ContentData;
|
||||
@@ -61,6 +62,15 @@ public interface FileInfo
|
||||
*/
|
||||
public NodeRef getLinkNodeRef();
|
||||
|
||||
/**
|
||||
* Get all translated versions of the file info. The map will always be empty if this
|
||||
* instance references {@link #isFolder() a folder}. The map may also be empty if the
|
||||
* file represented is not multilingual.
|
||||
*
|
||||
* @return Returns a map of transalations keyed on locale
|
||||
*/
|
||||
public Map<Locale, FileInfo> getTranslations();
|
||||
|
||||
/**
|
||||
* @return Returns the name of the file or folder within the parent folder
|
||||
*/
|
||||
|
Reference in New Issue
Block a user