Interface CommerceOrderStatus


public interface CommerceOrderStatus
  • Method Details

    • doTransition

      CommerceOrder doTransition(CommerceOrder commerceOrder, long userId, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKey

      int getKey()
    • getLabel

      String getLabel(Locale locale)
    • getPriority

      int getPriority()
    • isComplete

      default boolean isComplete(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isEnabled

      default boolean isEnabled(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isTransitionCriteriaMet

      default boolean isTransitionCriteriaMet(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isValidForOrder

      default boolean isValidForOrder(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isWorkflowEnabled

      default boolean isWorkflowEnabled(CommerceOrder commerceOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException