mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@125603 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
25 lines
591 B
Java
25 lines
591 B
Java
package org.alfresco.repo.domain.encoding;
|
|
|
|
import org.alfresco.util.Pair;
|
|
|
|
/**
|
|
* DAO services for <b>alf_encoding</b> and related tables
|
|
*
|
|
* @author Derek Hulley
|
|
* @since 3.2
|
|
*/
|
|
public interface EncodingDAO
|
|
{
|
|
/**
|
|
* Get the encoding pair.
|
|
*
|
|
* @param encoding the encoding string
|
|
* @return the ID-encoding pair or <tt>null</tt> if it doesn't exsit
|
|
*/
|
|
Pair<Long, String> getEncoding(String encoding);
|
|
|
|
Pair<Long, String> getEncoding(Long id);
|
|
|
|
Pair<Long, String> getOrCreateEncoding(String encoding);
|
|
}
|