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 CoType
getCoType()
Gets theCoType
enum constant for thisIContentObjectType
.String
getDescription()
Gets the descriptionString
getFileExtension()
Gets the file extensionCoMimeType
getMimeType()
Gets the MIME typeString
getName()
Gets the nameboolean
isDownloadable()
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 theCoType
enum constant for thisIContentObjectType
.- Returns:
- the
CoType
value 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.
-
-