Skip to content

Commit

Permalink
Merge pull request #368 from magento-ogre/PR_Branch
Browse files Browse the repository at this point in the history
[Ogre's] Sprint 31 - Uninstall, backup and rollback functionality
  • Loading branch information
Kopylova,Olga(okopylova) committed Jun 18, 2015
2 parents ba55724 + a7f7b64 commit 6b5e713
Show file tree
Hide file tree
Showing 114 changed files with 23,045 additions and 731 deletions.
3 changes: 3 additions & 0 deletions app/code/Magento/Backend/App/ConfigInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface ConfigInterface
*
* @param string $path
* @return mixed
* @api
*/
public function getValue($path);

Expand All @@ -26,6 +27,7 @@ public function getValue($path);
* @param string $path
* @param mixed $value
* @return void
* @api
*/
public function setValue($path, $value);

Expand All @@ -34,6 +36,7 @@ public function setValue($path, $value);
*
* @param string $path
* @return bool
* @api
*/
public function isSetFlag($path);
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ interface ContextInterface
*
* @param \Magento\Backend\Block\Widget\Button\Item $item
* @return bool
* @api
*/
public function canRender(\Magento\Backend\Block\Widget\Button\Item $item);
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ interface ToolbarInterface
* @param \Magento\Framework\View\Element\AbstractBlock $context
* @param \Magento\Backend\Block\Widget\Button\ButtonList $buttonList
* @return void
* @api
*/
public function pushButtons(
\Magento\Framework\View\Element\AbstractBlock $context,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@ interface FilterInterface
{
/**
* @return Column
* @api
*/
public function getColumn();

/**
* @param Column $column
* @return AbstractFilter
* @api
*/
public function setColumn($column);

/**
* @return string
* @api
*/
public function getHtml();
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ interface RendererInterface
* @param Column $column
* @return void
* @abstract
* @api
*/
public function setColumn($column);

Expand All @@ -28,6 +29,7 @@ public function setColumn($column);
*
* @abstract
* @return void
* @api
*/
public function getColumn();

Expand All @@ -36,6 +38,7 @@ public function getColumn();
*
* @param \Magento\Framework\Object $row
* @return string
* @api
*/
public function render(\Magento\Framework\Object $row);
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ interface ExportInterface
* Retrieve grid export types
*
* @return array|bool
* @api
*/
public function getExportTypes();

/**
* Retrieve grid id
*
* @return string
* @api
*/
public function getId();

Expand All @@ -43,20 +45,23 @@ public function addExportType($url, $label);
* Return array with keys type and value
*
* @return array
* @api
*/
public function getCsvFile();

/**
* Retrieve Grid data as CSV
*
* @return string
* @api
*/
public function getCsv();

/**
* Retrieve data in xml
*
* @return string
* @api
*/
public function getXml();

Expand All @@ -67,13 +72,15 @@ public function getXml();
*
* @param string $sheetName
* @return array
* @api
*/
public function getExcelFile($sheetName = '');

/**
* Retrieve grid data as MS Excel 2003 XML Document
*
* @return string
* @api
*/
public function getExcel();
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface AdditionalInterface
/**
* @param array $configuration
* @return $this
* @api
*/
public function createFromConfiguration(array $configuration);
}
4 changes: 4 additions & 0 deletions app/code/Magento/Backend/Block/Widget/Tab/TabInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,31 @@ interface TabInterface
* Return Tab label
*
* @return string
* @api
*/
public function getTabLabel();

/**
* Return Tab title
*
* @return string
* @api
*/
public function getTabTitle();

/**
* Can show tab in tabs
*
* @return boolean
* @api
*/
public function canShowTab();

/**
* Tab is hidden
*
* @return boolean
* @api
*/
public function isHidden();
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Backend Auth Credential Storage interface
*
* @author Magento Core Team <core@magentocommerce.com>
* @api
*/
interface StorageInterface
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Backend/Model/Auth/StorageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ interface StorageInterface
*
* @return $this
* @abstract
* @api
*/
public function processLogin();

Expand All @@ -23,6 +24,7 @@ public function processLogin();
*
* @return $this
* @abstract
* @api
*/
public function processLogout();

Expand All @@ -31,6 +33,7 @@ public function processLogout();
*
* @return bool
* @abstract
* @api
*/
public function isLoggedIn();

Expand All @@ -39,6 +42,7 @@ public function isLoggedIn();
*
* @return void
* @abstract
* @api
*/
public function prolong();
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface GeneratorInterface
/**
* @param \Magento\Framework\Object $item
* @return string
* @api
*/
public function getUrl($item);
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ interface TotalsInterface
* @abstract
* @param \Magento\Framework\Data\Collection $collection
* @return \Magento\Framework\Object
* @api
*/
public function countTotals($collection);
}
1 change: 1 addition & 0 deletions app/code/Magento/Log/Model/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function getLogCleanTime()
* Clean Logs
*
* @return $this
* @api
*/
public function clean()
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Log/Model/Resource/Visitor/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ protected function _construct()
* Filter for customers only
*
* @return $this
* @api
*/
public function showCustomersOnly()
{
Expand Down Expand Up @@ -174,6 +175,7 @@ public function load($printQuery = false, $logQuery = false)
*
* @return bool
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
* @api
*/
public function getIsOnlineFilterUsed()
{
Expand All @@ -185,6 +187,7 @@ public function getIsOnlineFilterUsed()
*
* @param int[]|int $storeIds
* @return void
* @api
*/
public function addVisitorStoreFilter($storeIds)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function addCustomerData()
*
* @param int|int[] $websiteIds
* @return $this
* @api
*/
public function addWebsiteFilter($websiteIds)
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/PageCache/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public function __construct(
* Return currently selected cache type: built in or varnish
*
* @return int
* @api
*/
public function getType()
{
Expand All @@ -97,6 +98,7 @@ public function getType()
* Return page lifetime
*
* @return int
* @api
*/
public function getTtl()
{
Expand All @@ -108,6 +110,7 @@ public function getTtl()
*
* @param string $vclTemplatePath
* @return string
* @api
*/
public function getVclFile($vclTemplatePath)
{
Expand Down Expand Up @@ -202,6 +205,7 @@ protected function _getDesignExceptions()
* Whether a cache type is enabled in Cache Management Grid
*
* @return bool
* @api
*/
public function isEnabled()
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/PageCache/Model/DepersonalizeChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function __construct(
*
* @param \Magento\Framework\View\LayoutInterface $subject
* @return bool
* @api
*/
public function checkIfDepersonalize(\Magento\Framework\View\LayoutInterface $subject)
{
Expand Down
Loading

0 comments on commit 6b5e713

Please sign in to comment.