|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MimetypeDAO
DAO services for alf_mimetype table
| Method Summary | |
|---|---|
org.alfresco.util.Pair |
getMimetype(java.lang.Long id)
|
org.alfresco.util.Pair |
getMimetype(java.lang.String mimetype)
|
org.alfresco.util.Pair |
getOrCreateMimetype(java.lang.String mimetype)
Retrieve an existing mimetype or create a new one if it doesn't exist. |
int |
updateMimetype(java.lang.String oldMimetype,
java.lang.String newMimetype)
Update a mimetype if it exists. |
| Method Detail |
|---|
org.alfresco.util.Pair getMimetype(java.lang.Long id)
id - the unique ID of the entity
org.alfresco.error.AlfrescoRuntimeException - if the ID provided is invalidorg.alfresco.util.Pair getMimetype(java.lang.String mimetype)
mimetype - the Mimetype to query for
org.alfresco.util.Pair getOrCreateMimetype(java.lang.String mimetype)
mimetype - the Mimetype
int updateMimetype(java.lang.String oldMimetype,
java.lang.String newMimetype)
oldMimetype - the old MimetypenewMimetype - the new Mimetype
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||