The Definitive Guide to Stellent Content Server Development

This book is designed to be part how-to manual and part reference manual. The first half of the book is designed to give you the information you need to customize the Content Server as quickly as possible. Later chapters in the book cover advanced topics, such as integrating the Content Server wi...

Mô tả đầy đủ

Đã lưu trong:
Chi tiết về thư mục
Tác giả chính: Huff, Brian
Định dạng: Sách
Ngôn ngữ:English
Được phát hành: Apress 2013
Những chủ đề:
Truy cập trực tuyến:http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34947
Các nhãn: Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
Thư viện lưu trữ: Thư viện Trường Đại học Đà Lạt
id oai:scholar.dlu.edu.vn:DLU123456789-34947
record_format dspace
institution Thư viện Trường Đại học Đà Lạt
collection Thư viện số
language English
topic Server
Computer
spellingShingle Server
Computer
Huff, Brian
The Definitive Guide to Stellent Content Server Development
description This book is designed to be part how-to manual and part reference manual. The first half of the book is designed to give you the information you need to customize the Content Server as quickly as possible. Later chapters in the book cover advanced topics, such as integrating the Content Server with remote applications using Simple Object Access Protocol (SOAP), advanced Java customizing, and customizing the security model. The second half of the book contains appendixes on the inner workings of the Content Server, including its Java API, and the available Content Management services.
format Book
author Huff, Brian
author_facet Huff, Brian
author_sort Huff, Brian
title The Definitive Guide to Stellent Content Server Development
title_short The Definitive Guide to Stellent Content Server Development
title_full The Definitive Guide to Stellent Content Server Development
title_fullStr The Definitive Guide to Stellent Content Server Development
title_full_unstemmed The Definitive Guide to Stellent Content Server Development
title_sort definitive guide to stellent content server development
publisher Apress
publishDate 2013
url http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34947
_version_ 1757656705946091520
spelling oai:scholar.dlu.edu.vn:DLU123456789-349472014-01-20T01:30:20Z The Definitive Guide to Stellent Content Server Development Huff, Brian Server Computer This book is designed to be part how-to manual and part reference manual. The first half of the book is designed to give you the information you need to customize the Content Server as quickly as possible. Later chapters in the book cover advanced topics, such as integrating the Content Server with remote applications using Simple Object Access Protocol (SOAP), advanced Java customizing, and customizing the security model. The second half of the book contains appendixes on the inner workings of the Content Server, including its Java API, and the available Content Management services. About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Chapter 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Enterprise Content Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Stellent Content Server (SCS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Getting Started with Stellent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Customizing the Content Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Chapter 2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Service-Oriented Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Modifying the Content Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Dynamic Server Page Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Component Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Chapter 3 Using HCSTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Simple HCSTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Search Results Portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Advanced Search Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Custom Check-In Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Chapter 4 Using JSPs and Servlets in Stellent . . . . . . . . . . . . . . . . . . . . . . . 65 Initial Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 Simple JSPs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Search Results Portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Advanced Search Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Custom Check-In Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 iii iv Contents Best Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Chapter 5 Using HCSPs and HCSFs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Designing Simple HTML Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Designing Comments Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Forms to Generate Comment Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Option Lists on Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Updating and Deleting Values on a Form . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Chapter 6 Leveraging IDOC Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 IDOC Pages and Portals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 IDOC and HTML Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Overriding Metadata Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Chapter 7 Introduction to Custom Components . . . . . . . . . . . . . . . . . . . . . 133 Tools and References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 Hello User Include . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Hello User Service and Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Overriding an Include . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 Chapter 8 Customizing Layouts and Skins . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Creating a New Skin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Adding and Modifying Navigation Nodes . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Custom Action Popup Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 Custom Layouts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 Chapter 9 Customizing Forms and Core Templates . . . . . . . . . . . . . . . . . 157 Finding the Template Resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Finding the Correct Include . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Finding Includes and Templates in Other Components . . . . . . . . . . . . . . 159 Adding Search Feedback Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 Personalized Quick Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Hidden and Preset Metadata Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Component Best Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Chapter 10 Advanced Component Architecture . . . . . . . . . . . . . . . . . . . . . . 187 Advanced Component Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 Setup of a Java Development Environment . . . . . . . . . . . . . . . . . . . . . . . . 203 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 Chapter 11 Custom Java Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Dynamic AutoNumber Prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 Hello World Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215 Add Alternate File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 Creating Custom IdocScript Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 Executing a Service Call from a Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 Database Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Chapter 12 Advanced Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 Web Services and SOAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 J2EE Application Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 Active Server Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 Site Studio and Dynamic Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 WebDAV and Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 Security Customizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 The Future . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281 Appendix A IdocScript Language Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 Lexical Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Expressions and Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Dynamic HTML Resource Includes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 Flow Control Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 Naming Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Contents v Appendix B Common IdocScript Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 IdocScript Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 Appendix C IdocScript Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Top 50 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Top 50 Computed Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 Top 50 Local Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 Appendix D Dynamic HTML Resource Includes . . . . . . . . . . . . . . . . . . . . . . . 367 Appendix E Stellent Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 Top 50 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 Appendix F Tomcat Integration Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 idcserver.ServerBean . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 idcserver.ServerResultSet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404 idcserver.ServerFieldInfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408 idcserver.ContentServerException . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409 Appendix G Layout Manager API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 The navBuilder Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 navBuilder Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 Global Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415 Appendix H Java Filter Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 Appendix I Aliasable Java Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 Appendix J HyperData Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453 HDA File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453 Internal Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459 2013-07-24T08:10:36Z 2013-07-24T08:10:36Z 2006 Book 978-1-59059-684-5 http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34947 en application/pdf Apress