# Class R.R.Referral(CatalogAware, SimpleItem, CountriesManager):

Part of Reportek.Referral View In Hierarchy

Referrals are basic objects that provide a standard interface for object management. Referral objects also implement a management interface and can have arbitrary properties.

Split Table into Classes Show Methods in One Table

Line # | Kind | Name | Docs
--- | --- | --- | ---
97 | Method | __setstate__ | Undocumented
149 | Method | get_size | Make FTP happy
155 | Method | years | Return the range of years the object pertains to
168 | Method | manage_main | Define manage main to be context aware
179 | Method | PrincipiaSearchSource | Just return the description.
187 | Method | manage_editReferral | Manage the edited values
214 | Method | manage_changeReferral | Manage the edited values

Inherited from CountriesManager:

Line # | Kind | Name | Docs
--- | --- | --- | ---
32 | Method | localities_dict | Converts the localities table into a dictionary
42 | Method | getCountryName | Returns country name from the country uri
57 | Method | getCountryCode | Returns country ISO code from the country uri

Line # | Kind | Name | Docs
--- | --- | --- | ---
97 | Method | __setstate__ | Undocumented
149 | Method | get_size | Make FTP happy
57 | Method | getCountryCode | Returns country ISO code from the country uri
42 | Method | getCountryName | Returns country name from the country uri
32 | Method | localities_dict | Converts the localities table into a dictionary
214 | Method | manage_changeReferral | Manage the edited values
187 | Method | manage_editReferral | Manage the edited values
168 | Method | manage_main | Define manage main to be context aware
179 | Method | PrincipiaSearchSource | Just return the description.
155 | Method | years | Return the range of years the object pertains to

def __setstate__(self, state):
Undocumented
def get_size(self):
Make FTP happy

def years(self):
Return the range of years the object pertains to

def manage_main(self, *args, **kw):
Define manage main to be context aware

def PrincipiaSearchSource(self):
Just return the description. Could be enhanced to include all properties

def manage_editReferral(self, title, descr, referral_url, year, endyear, partofyear, country, locality, dataflow_uris=, REQUEST=None):
Manage the edited values

def manage_changeReferral(self, title=None, referral_url=None, year=None, endyear=None, partofyear=None, country=None, locality=None, descr=None, dataflow_uris=None, REQUEST=None):
Manage the edited values