OpenStack Study:
OpenStack IndexNext
def action(self):
def prepare_action_context(self, request, context):
def get_id(self):
def _verify_contributions(self, context):
def contribute(self, data, context):
def render(self):
def get_help_text(self):
def add_error(self, message):
def has_required_fields(self):
class WorkflowMetaclass(type):
def __new__(mcs, name, bases, attrs):
class UpdateMembersStep(Step):
def get_member_field_name(self, role_id):
class Workflow(html.HTMLElement):
def __unicode__(self):
def __repr__(self):
def __init__(self, request=None, context_seed=None, entry_point=None, *args, **kwargs):
def steps(self):
def get_step(self, slug):
def _gather_steps(self):
def _order_steps(self):
def get_entry_point(self):
def _trigger_handlers(self, key):
def register(cls, step_class):
def unregister(cls, step_class):
def validate(self, context):
def is_valid(self):
def finalize(self):
def handle(self, request, context):
def get_success_url(self):
def format_status_message(self, message):
def render(self):
def get_absolute_url(self):
def add_error_to_step(self, message, slug):
\OpenStack\horizon-2014.1\horizon\workflows\views.py
class WorkflowView(generic.TemplateView):
def __init__(self):
def get_initial(self):
def get_workflow(self):
def get_context_data(self, **kwargs):
def get_layout(self):
def get_template_names(self):
def get_object_id(self, obj):
def get_object_display(self, obj):
def add_error_to_step(self, error_msg, step):
def set_workflow_step_errors(self, context):
def get(self, request, *args, **kwargs):
def validate_steps(self, request, workflow, start, end):
def post(self, request, *args, **kwargs):
\OpenStack\horizon-2014.1\horizon\workflows\__init__.py
\OpenStack\horizon-2014.1\horizon\__init__.py
|