Please read the following “Guide to property investment in Portugal” and clear all your doubts about Portuguese law system and procedures.
Also if you are interested in start investing in real estate, care to read this article that can help you in the first steps: