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 _is_attribute_type(attribute_info):
    _method_name = '_is_attribute_type'
    if not attribute_info.isWritable() and _is_deprecated(attribute_info):
        _logger.finer('WLSDPLY-06143',
                      attribute_info.getName(),
                      wlst_helper.get_pwd(),
                      class_name=_class_name,
                      method_name=_method_name)
    return attribute_info.getDescriptor().getFieldValue(
        'descriptorType') == 'Attribute' and attribute_info.getDescriptor(
        ).getFieldValue('com.bea.relationship') is None and (
            attribute_info.isWritable() or not _is_deprecated(attribute_info))
    def get_pwd(self):
        """
        Get the current WLST directory path.
        :return: the WLST path
        :raises: BundleAwareException of the specified type: if an error occurs
        """
        _method_name = 'get_pwd'

        try:
            result = wlst_helper.get_pwd()
        except PyWLSTException, pwe:
            ex = exception_helper.create_exception(self.__exception_type, 'WLSDPLY-19107',
                                                   pwe.getLocalizedMessage(), error=pwe)
            self.__logger.throwing(ex, class_name=self.__class_name, method_name=_method_name)
            raise ex