Package ch.ivyteam.ivy.cm
Interface IContentObjectType
-
- All Superinterfaces:
Comparable<IContentObjectType>
public interface IContentObjectType extends Comparable<IContentObjectType>
Interface to access information about a content object type- Version:
- 10.5.2006, kvg: revised and simplified for 4.0
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoTypegetCoType()Gets theCoTypeenum constant for thisIContentObjectType.StringgetDescription()Gets the descriptionStringgetFileExtension()Gets the file extensionCoMimeTypegetMimeType()Gets the MIME typeStringgetName()Gets the namebooleanisDownloadable()Is the type directly downloadable
-
-
-
Method Detail
-
getDescription
String getDescription()
Gets the description- Returns:
- description
- Throws:
PersistencyException- if DB access fails- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
getName
String getName()
Gets the name- Returns:
- name
- Throws:
PersistencyException- if DB access fails- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
getMimeType
CoMimeType getMimeType()
Gets the MIME type- Returns:
- MIME type
- Throws:
PersistencyException- if DB access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getCoType
CoType getCoType()
Gets theCoTypeenum constant for thisIContentObjectType.- Returns:
- the
CoTypevalue that represents this type - Throws:
PersistencyException- if DB access fails- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
isDownloadable
boolean isDownloadable()
Is the type directly downloadable- Returns:
- true if it is, otherwise false
- Throws:
PersistencyException- if DB access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getFileExtension
String getFileExtension()
Gets the file extension- Returns:
- file extension
- Throws:
PersistencyException- if DB access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
-