def _massage_online_folders(lsc_folders):
    _method_name = '_massage_online_folders'
    location = wlst_helper.get_pwd()
    folder_list = []
    mbi_folder_list = []
    for mbean_attribute_info in wlst_helper.get_mbi().getAttributes():
        if _is_containment(mbean_attribute_info):
            mbi_folder_list.append(mbean_attribute_info.getName())
    for lsc_folder in lsc_folders:
        if lsc_folder in mbi_folder_list:
            folder_list.append(lsc_folder)
        else:
            _logger.finer('WLSDPLY-06144',
                          lsc_folder,
                          location,
                          class_name=_class_name,
                          method_name=_method_name)
    if len(folder_list) != len(mbi_folder_list):
        _logger.fine('WLSDPLY-06145',
                     folder_list,
                     location,
                     mbi_folder_list,
                     class_name=_class_name,
                     method_name=_method_name)
    return folder_list
 def _get_attributes_for_current_location_online(self, location):
     _method_name = '_get_attributes_for_current_location_online'
     attributes = dict()
     path = self._alias_helper.get_wlst_attributes_path(location)
     added = False
     try:
         attributes = wlst_helper.lsa(path)
         mbean_attributes = wlst_helper.get_mbi().getAttributes()
         if mbean_attributes:
             alias_attributes = self._get_wlst_attributes(location)
             for mbean_attribute in mbean_attributes:
                 name = mbean_attribute.getName()
                 if name not in attributes and name in alias_attributes:
                     attributes[name] = wlst_helper.get(name)
                     added = True
     except PyWLSTException, pe:
         name = location.get_model_folders()[-1]
         _logger.fine('WLSDPLY-06109', name, str(location), pe.getLocalizedMessage(), class_name=_class_name,
                      method_name=_method_name)
def _get_mbi_attribute_list():
    attribute_list = []
    for mbean_attribute_info in wlst_helper.get_mbi().getAttributes():
        if _is_attribute(mbean_attribute_info):
            attribute_list.append(mbean_attribute_info.getName())
    return attribute_list