Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Alfresco 3 Enterprise Content Management Implementation

You're reading from   Alfresco 3 Enterprise Content Management Implementation How to customize, use, and administer this powerful, Open Source Java-based Enterprise CMS

Arrow left icon
Product type Paperback
Published in Jun 2009
Publisher Packt
ISBN-13 9781847197368
Length 600 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Toc

Table of Contents (22) Chapters Close

Alfresco 3 Enterprise Content Management Implementation
Credits
About the Author
About the Co-Authors
Acknowledgements
About the Reviewers
Preface
1. Introduction to Alfresco FREE CHAPTER 2. Installing Alfresco 3. Getting Started with Alfresco 4. Implementing Membership and Security 5. Implementing Document Management 6. Implementing Business Rules 7. Extending the Alfresco Content Model 8. Implementing Workflow 9. Integrating External Applications with Alfresco 10. Advanced Collaboration Using Alfresco Share 11. Customizing the User Interface 12. Search 13. Implementing Imaging and Forms Processing 14. Administering and Maintaining the System Index

Constraints


A Constraint controls the input value of a property. Constraints can be used to validate input values, and to ensure the use of certain predefined values for the properties. Constraints are defined separately from content types and aspects, and are referenced within a property type definition.

Constraint types

Alfresco provides four types of constraints out of the box, as follows. Apart from these four, the custom constraints can be defined by using Java Programming Language.

  • REGEX: ensures that a property value matches a defined regular expression pattern

  • LIST: ensures that a property value is picked up from a list of predefined values

  • MINMAX: ensures that the given property value falls within a defined numeric range

  • LENGTH: ensures that the given property value falls within a defined character length range

REGEX

The following REGEX expression ensures that the property "filename" does not match the defined regular expression pattern. This constraint thus ensures that the file...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image