Preconditions - Service Objects design

How do you design your code so that you can easily expose to the frontend which business operations can be invoked. Based on Granite framework capabilities.