Package ch.ivyteam.ivy.cm
Enum CoType
- java.lang.Object
-
- java.lang.Enum<CoType>
-
- ch.ivyteam.ivy.cm.CoType
-
- All Implemented Interfaces:
Serializable
,Comparable<CoType>
public enum CoType extends Enum<CoType>
Content object types supported by ivy.- API:
- This is a public API.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AAC_AUDIO
Html typeAUDIO
Basic audio typeAVI
MS Video typeCSS
Cascaded Styls Sheet typeCSV
DVI
Dvi typeEXCEL
Microsoft Excel typeEXCEL_OPENXML
Microsoft Powerpoint typeFLASH
Macromedia Flash typeFOLDER
Folder typeGIF
GIF Image typeHTML
JPEG
JPEG Image typeJSON
JSP
JspLAYOUT
LayoutMP3
MP4
Mpeg video typeMPEG
NAVIGATION_NODE
Navigation node typeOD_PRESENTATION
OD_SPREADSHEET
OD_TEXT
OGG_AUDIO
Adobe Pdf typeOGG_VIDEO
PAGE
Page typePANEL
Panel typePDF
PLAIN_TEXT
Plain text typePNG
PNG image typePOWERPOINT
POWERPOINT_OPENXML
Microsoft Word typePROCESS_LINK
Process link typeQUICKTIME
Apple Quicktime video typeRESULT_TABLE
Result table typeRTF
RTF typeSMART_TABLE
Smart table typeSOURCE
Source text typeSTRING
String typeSVG
SVG image typeTABLE
Table typeTEXT
Text typeUNKNOWN
Unknown/unsupported co typeWAV
Wave Audio typeWEBM_AUDIO
WEBM_VIDEO
WEBP_IMAGE
WORD
WORD_OPENXML
Mp3 audio typeXML
Xml typeZIP
Zip type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CoTypeGroup
getGroup()
String
getName()
static boolean
isContentObjectType(String coTypeName)
Check if the given name is a supported ContentObjectType.boolean
matches(IContentObjectType coType)
boolean
matches(String coTypeName)
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final CoType UNKNOWN
Unknown/unsupported co type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
FOLDER
public static final CoType FOLDER
Folder type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
PAGE
public static final CoType PAGE
Page type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
PANEL
public static final CoType PANEL
Panel type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
STRING
public static final CoType STRING
String type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
TEXT
public static final CoType TEXT
Text type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
SOURCE
public static final CoType SOURCE
Source text type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
TABLE
public static final CoType TABLE
Table type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
RESULT_TABLE
public static final CoType RESULT_TABLE
Result table type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
SMART_TABLE
public static final CoType SMART_TABLE
Smart table type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
PROCESS_LINK
public static final CoType PROCESS_LINK
Process link type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
NAVIGATION_NODE
public static final CoType NAVIGATION_NODE
Navigation node type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
LAYOUT
public static final CoType LAYOUT
Layout- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
CSS
public static final CoType CSS
Cascaded Styls Sheet type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
JSP
public static final CoType JSP
Jsp- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
GIF
public static final CoType GIF
GIF Image type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
JPEG
public static final CoType JPEG
JPEG Image type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
PNG
public static final CoType PNG
PNG image type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
SVG
public static final CoType SVG
SVG image type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
AUDIO
public static final CoType AUDIO
Basic audio type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
AAC_AUDIO
public static final CoType AAC_AUDIO
Html type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
HTML
public static final CoType HTML
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
EXCEL
public static final CoType EXCEL
Microsoft Excel type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
EXCEL_OPENXML
public static final CoType EXCEL_OPENXML
Microsoft Powerpoint type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
POWERPOINT
public static final CoType POWERPOINT
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
POWERPOINT_OPENXML
public static final CoType POWERPOINT_OPENXML
Microsoft Word type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
WORD
public static final CoType WORD
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
WORD_OPENXML
public static final CoType WORD_OPENXML
Mp3 audio type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
OD_SPREADSHEET
public static final CoType OD_SPREADSHEET
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
OD_PRESENTATION
public static final CoType OD_PRESENTATION
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
OD_TEXT
public static final CoType OD_TEXT
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
CSV
public static final CoType CSV
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
JSON
public static final CoType JSON
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
MP3
public static final CoType MP3
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
MP4
public static final CoType MP4
Mpeg video type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
MPEG
public static final CoType MPEG
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
OGG_AUDIO
public static final CoType OGG_AUDIO
Adobe Pdf type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
OGG_VIDEO
public static final CoType OGG_VIDEO
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
WEBM_AUDIO
public static final CoType WEBM_AUDIO
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
WEBM_VIDEO
public static final CoType WEBM_VIDEO
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
WEBP_IMAGE
public static final CoType WEBP_IMAGE
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
PDF
public static final CoType PDF
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
PLAIN_TEXT
public static final CoType PLAIN_TEXT
Plain text type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
QUICKTIME
public static final CoType QUICKTIME
Apple Quicktime video type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
RTF
public static final CoType RTF
RTF type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
XML
public static final CoType XML
Xml type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
DVI
public static final CoType DVI
Dvi type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
AVI
public static final CoType AVI
MS Video type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
FLASH
public static final CoType FLASH
Macromedia Flash type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
WAV
public static final CoType WAV
Wave Audio type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
ZIP
public static final CoType ZIP
Zip type- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of this co type value
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
getGroup
public CoTypeGroup getGroup()
- Returns:
- the group
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
matches
public boolean matches(IContentObjectType coType)
- Parameters:
coType
-- Returns:
- true if this co type corresponds to the given content object type
- Throws:
PersistencyException
- if name of coType can't be accessed- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
matches
public boolean matches(String coTypeName)
- Parameters:
coTypeName
- name of a co type- Returns:
- true if this co type corresponds to the given co type name
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
isContentObjectType
public static boolean isContentObjectType(String coTypeName)
Check if the given name is a supported ContentObjectType.- Parameters:
coTypeName
- the name of a possible co type- Returns:
- true if the name is a known content type
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-