boolean function ( DocumentModel arg0 , String arg1 ) { if ( arg0 == null ) { return false ; } retrieveContentViewHeaders ( arg0 ) ; String loc0 = arg0 . getType ( ) ; if ( ! typeToContentView . get ( loc0 ) . containsKey ( arg1 ) ) { return false ; } return ! typeToContentView . get ( loc0 ) . get ( arg1 ) . isEmpty ( ) ; }
returns true if content views are defined on given document for given category . also fetches content view headers defined on a document type concode_field_sep Log log concode_elem_sep Map<String,Map<String,List<ContentViewHeader>>> typeToContentView concode_elem_sep Map<String,Map<String,List<ContentViewHeader>>> typeToExportContentView concode_elem_sep Map<String,List<ContentViewHeader>> currentExportContentViews concode_elem_sep Map<String,List<ContentViewHeader>> currentAvailableContentViews concode_elem_sep ContentViewService contentViewService concode_elem_sep NavigationContext navigationContext concode_elem_sep long serialVersionUID concode_field_sep void documentChanged concode_elem_sep Map<String,List<ContentViewHeader>> getAvailableContentViewsForDocument concode_elem_sep List<ContentViewHeader> getAvailableContentViewsForDocument concode_elem_sep List<ContentViewHeader> getLocalConfiguredContentViews concode_elem_sep Map<String,List<ContentViewHeader>> getExportContentViewsForCurrentDocument concode_elem_sep List<ContentViewHeader> getExportContentViewsForCurrentDocument concode_elem_sep Map<String,List<ContentViewHeader>> getAvailableContentViewsForCurrentDocument concode_elem_sep List<ContentViewHeader> getAvailableContentViewsForCurrentDocument concode_elem_sep void retrieveContentViewHeaders concode_elem_sep Map<String,List<ContentViewHeader>> getContentViewHeaders concode_elem_sep Map<String,List<ContentViewHeader>> getExportContentViewsForDocument concode_elem_sep void retrieveExportContentViewHeaders