Package comodit_client :: Package api :: Module store :: Class PublishedEntity

Class PublishedEntity


Base class for published entities.

Instance Methods
 
update_authorized(self, new_authorized)

Inherited from entity.Entity: __init__, create, delete, dump, load, refresh, rename, show, update

Inherited from util.json_wrapper.JsonWrapper: dump_json, get_json, get_real_json, load_json, print_json, set_json

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
string identifier
Identifier of the entity.
string label
A very short description of the entity.
string publisher_summary
Informations about the user that published the entity.
JSON object publishing_organization
Contact information of publishing organization.
string date_published
Date the entity was published on.
string date_updated
Date the entity was last updated.
list of string authorized
The list of organizations having access to published application.
string url_f
URL to published entity's web site.
string documentation
Published entity's documentation.
string license
Published entity's license text.
string price
Published entity's price.
bool featured
Tells if published entity is featured or not.

Inherited from entity.Entity: client, description, name, url, uuid

Inherited from object: __class__

Property Details

identifier

Identifier of the entity. The identifier is unique in entity's collection and can therefore be used to get the entity. This value is generally entity's name but may also be the UUID or another field depending on entity type.

Get Method:
unreachable.identifier(self)
Type:
string

label

A very short description of the entity. This value generally includes entity's identifier.

Get Method:
unreachable.label(self)
Type:
string

publisher_summary

Informations about the user that published the entity.

Get Method:
unreachable.publisher_summary(self) - Informations about the user that published the entity.
Type:
string

publishing_organization

Contact information of publishing organization.

Get Method:
unreachable.publishing_organization(self) - Contact information of publishing organization.
Type:
JSON object

date_published

Date the entity was published on.

Get Method:
unreachable.date_published(self) - Date the entity was published on.
Type:
string

date_updated

Date the entity was last updated.

Get Method:
unreachable.date_updated(self) - Date the entity was last updated.
Type:
string

authorized

The list of organizations having access to published application.

Get Method:
unreachable.authorized(self) - The list of organizations having access to published application.
Set Method:
unreachable.authorized(self, org_names) - Sets the list of organizations having access to published application.
Type:
list of string

url_f

URL to published entity's web site.

Get Method:
unreachable.url_f(self) - URL to published entity's web site.
Type:
string

documentation

Published entity's documentation.

Get Method:
unreachable.documentation(self) - Published entity's documentation.
Type:
string

license

Published entity's license text.

Get Method:
unreachable.license(self) - Published entity's license text.
Type:
string

price

Published entity's price.

Get Method:
unreachable.price(self) - Published entity's price.
Type:
string

featured

Tells if published entity is featured or not.

Get Method:
unreachable.featured(self) - Tells if published entity is featured or not.
Type:
bool